export declare class CacheWithTtl { private readonly ttlMs; private readonly cleanupHandler?; protected readonly cache: Map; constructor(ttlMs: number, cleanupHandler?: ((k: K, v: V) => void) | undefined); get(key: K): V | undefined; set(key: K, value: V): void; touch(key: K): void; clearStale(): void; } //# sourceMappingURL=CacheWithTtl.d.ts.map