export interface ExpiryHeapNode { key: string; expiresAt: number; } /** * Binary min-heap of cache-entry expiry times, ordered by `expiresAt`. * * Nodes are not removed when their entry is deleted or overwritten — callers * detect stale nodes by comparing the node against the live store and pop * them lazily. * * @internal */ export declare class ExpiryHeap { private _nodes; get length(): number; peek(): ExpiryHeapNode | undefined; push(key: string, expiresAt: number): void; pop(): ExpiryHeapNode | undefined; clear(): void; /** Replaces the heap contents with the given nodes and heapifies in place. */ rebuild(nodes: ExpiryHeapNode[]): void; private _bubbleUp; private _bubbleDown; } //# sourceMappingURL=expiryHeap.d.ts.map