export declare class Lru<K, V> {
    private limit;
    private map;
    private head;
    private tail;
    private onEvict?;
    constructor(limit?: number, onEvict?: (key: K, value: V) => void);
    setOnEvict(fn?: (key: K, value: V) => void): void;
    get(key: K): V | undefined;
    set(key: K, value: V): void;
    delete(key: K): void;
    keys(): IterableIterator<K>;
    private touch;
    private evict;
    clear(): void;
}
