export declare class LruCache { readonly maxSize: number; constructor(maxSize: number, { onDelete }?: { onDelete?(key: Key, value: Value): void; }); get(key: Key): Value | undefined; set(key: Key, value: Value): this; get firstKey(): Key | undefined; clear(): void; keys(): MapIterator; delete(key: Key): void; }