/** * Collects hit/miss/eviction and sizing metrics for one or more named LRUCache * instances. Each cache is collected independently; a failure on one does not * prevent the others from being reported. */ import type { IMetricCollector, MetricEntry } from '../types.js'; import type { LRUCache } from '../../cache/LRUCache.js'; export declare class LRUCacheCollector implements IMetricCollector { private readonly caches; readonly name = "lru-cache"; readonly description = "Hit rate, eviction counts, size, and memory usage for registered LRU caches"; constructor(caches: Array<{ name: string; instance: LRUCache; }>); collect(): MetricEntry[]; } //# sourceMappingURL=LRUCacheCollector.d.ts.map