export declare class Entry { value: T; key: string | number; next: Entry; prev: Entry; constructor(val: T); } export declare class LinkedList { head: Entry; tail: Entry; private _len; insert(val: T): Entry; insertEntry(entry: Entry): void; remove(entry: Entry): void; len(): number; clear(): void; } export default class LRU { private _list; private _maxSize; private _lastRemovedEntry; private _map; constructor(maxSize: number); put(key: string | number, value: T): T; get(key: string | number): T; clear(): void; len(): number; }