type Item = { key: string; prev: Item | null; value: T; next: Item | null; expiry: number; }; /** * Copied from tiny-lru and modified to support typescript * @see https://github.com/avoidwork/tiny-lru/blob/master/src/lru.js */ export declare class LRU { first: Item | null; items: Record>; last: Item | null; max: number; resetTtl: boolean; size: number; ttl: number; constructor(max?: number, ttl?: number, resetTtl?: boolean); clear(): this; delete(key: string): this; entries(keys?: string[]): (string | T | undefined)[][]; evict(bypass?: boolean): this; expiresAt(key: string): number | undefined; get(key: string): T | undefined; has(key: string): boolean; keys(): string[]; set(key: string, value: T, bypass?: boolean, resetTtl?: boolean): this; values(keys?: string[]): NonNullable[]; } export {};