/** * A generic Least-Recently-Used (LRU) Map with bounded size and automatic eviction. * * Insertion order is tracked via Map: on access via get() or set(), the item is * promoted to most-recent. When size exceeds maxSize, the least-recently-used * (oldest) entry is evicted. * * @template K - Key type * @template V - Value type * @internal */ export declare class LruMap { private readonly maxSize; private map; constructor(maxSize: number); get(key: K): V | undefined; set(key: K, value: V): void; has(key: K): boolean; get size(): number; delete(key: K): boolean; }