export declare class LruCache { protected readonly limit: number; protected capacity: number; protected head: LruNode | undefined; protected tail: LruNode | undefined; protected map: Record>; constructor(limit?: number); get size(): number; set(key: string, value: V): void; get(key: string): V | undefined; peek(key: string): V | undefined; has(key: string): boolean; clear(): void; keys(): string[]; del(key: string): boolean; protected pop(node: LruNode): void; protected push(node: LruNode): void; } declare class LruNode { readonly k: string; v: V; l: LruNode | undefined; r: LruNode | undefined; constructor(k: string, v: V); } export {};