/** * Least Recently Used (LRU) cache with TTL support * Prevents unbounded memory growth by evicting least-recently-used items * when capacity is reached */ export declare class LRUCache { private readonly maxSize; private readonly ttlMs; private readonly cache; constructor(maxSize: number, ttlMs: number); /** * Get a value from the cache * Returns undefined if key is not found or has expired */ get(key: K): V | undefined; /** * Set a value in the cache * Evicts LRU item if at capacity */ set(key: K, value: V): void; /** * Evict the least recently used item */ private evictLRU; /** * Clear all entries from the cache */ clear(): void; /** * Get current cache size */ size(): number; /** * Get cache statistics for monitoring */ getStats(): { size: number; maxSize: number; ttlMs: number; }; } //# sourceMappingURL=lru-cache.d.ts.map