/**
 * An implementation of Map that support getting first/last key and value.
 */
export declare class OrderedMap<K, V> {
    private _set;
    private map;
    constructor();
    get(key: K): V | undefined;
    set(key: K, value: V): this;
    delete(key: K, searchFromHead: boolean): boolean;
    keys(): IterableIterator<K>;
    lastKey(): K | null;
    firstKey(): K | null;
    values(): IterableIterator<V>;
    lastValue(): V | null;
    firstValue(): V | null;
    size(): number;
    has(key: K): boolean;
}
//# sourceMappingURL=map.d.ts.map