export declare class SortedMap<K, V> implements Map<K, V> {
    private array;
    private readonly comparator;
    constructor(comparator: (a: K, b: K) => number);
    has(key: K): boolean;
    get(key: K, _default?: V): V | undefined;
    set(key: K, value: V): this;
    delete(key: K): boolean;
    keys(): IterableIterator<K>;
    values(): IterableIterator<V>;
    entries(): IterableIterator<[K, V]>;
    clear(): void;
    readonly [Symbol.toStringTag]: string;
    [Symbol.iterator](): IterableIterator<[K, V]>;
    forEach(cb: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
    get size(): number;
}
