import type { Checkpoint } from "../types.js"; /** * Append a detached checkpoint and retain only the newest bounded history. * Retention is strictly append-ordered and never inspects durable timestamps. */ export declare function appendRetainedCheckpoint(checkpoints: Checkpoint[], checkpoint: Checkpoint): void; /** * Return history after deleting one oldest occurrence for each requested ID. * Checkpoint IDs are not unique, so Set-based filtering would also delete * newer occurrences that cleanup intends to retain. */ export declare function deleteOldestCheckpointOccurrences(checkpoints: readonly Checkpoint[], checkpointIds: readonly string[]): Checkpoint[]; //# sourceMappingURL=checkpoint-retention.d.ts.map