import type { LRUCacheOptions } from "./cache/stores/memory/types.js"; interface LRUOptions { maxEntries?: number; /** Byte cap for stored values. Defaults to the adapter's 50 MiB limit. */ maxSizeBytes?: number; ttlMs?: number; cleanupIntervalMs?: number; /** Called whenever an entry leaves the cache, including delete/clear/expiry. */ onEvict?: LRUCacheOptions["onEvict"]; /** Compute the retained byte size used for memory-bound eviction. */ estimateSizeOf?: (value: V) => number; } export declare class LRUCache { private adapter; private cleanupTimer?; private cleanupIntervalMs; private ttlMs?; constructor(options?: LRUOptions); private startPeriodicCleanup; private stopCleanupTimer; private toStringKey; get size(): number; has(key: K): boolean; get(key: K): V | undefined; set(key: K, value: V): void; delete(key: K): boolean; clear(): void; cleanup(): void; destroy(): void; keys(): IterableIterator; entries(): IterableIterator<[K, V]>; } export {}; //# sourceMappingURL=lru-wrapper.d.ts.map