import type { OperationRecord, RequestTombstone } from './types.js';
/** Whether record may be evicted; running/queued/cancelling work is never evicted. */
export declare function operationIsTerminal(state: string): state is "cancelled" | "completed" | "failed";
/** Expire tombstones separately from FIFO terminal record/count/byte retention. */
export declare function pruneOperations<T>(records: Map<string, OperationRecord<T>>, requests: Map<string, RequestTombstone>, now: number): void;
//# sourceMappingURL=retention.d.ts.map