import BaseLruCache from "lru-cache"; export type CacheOptions = BaseLruCache.Options & { name: string; fastStringify?: boolean; }; export declare class LruCache { private options; private cache; private stringify; constructor(options: CacheOptions); set(key: K, value: V, ttl?: number): void; get(key: K): V | undefined; delete(key: K): void; peek(key: K): V | undefined; size(): number; clear(): void; forEach(callback: (value: V) => void): void; purgeStale(): boolean; private updateStats; }