/** * Simple Map with max size eviction (LRU-like: evicts oldest entry when full). * Optionally supports TTL-based expiry. */ export declare class TtlMap { private map; private maxSize; private ttlMs; constructor(opts?: { maxSize?: number; ttlMs?: number; }); get(key: K): V | undefined; set(key: K, value: V): void; has(key: K): boolean; delete(key: K): boolean; get size(): number; clear(): void; }