export interface BoundedCache { get(key: K): V | undefined; set(key: K, value: V): void; has(key: K): boolean; clear(): void; size(): number; } /** * A small LRU cache backed by an insertion-ordered `Map`, capped at `maxSize` * entries. Reading a key refreshes its recency; once the cap is exceeded the * least-recently-used entries are evicted. Drop-in compatible with the * `Map.get` / `Map.set` calls it replaces. */ export declare const createBoundedCache: (maxSize: number) => BoundedCache;