export interface RetentionResult { kept: string[]; deleted: string[]; } /** * Prune old backup snapshots in `dir`, keeping the newest `keep` files. * * Only files matching `memory-*.sqlite` are considered — other files in the * directory are left untouched. * * @param dir Directory to scan (must exist; throws if not readable). * @param keep Number of snapshots to retain (must be >= 1). * @returns { kept, deleted } arrays of absolute paths. */ export declare function pruneOldBackups(dir: string, keep: number): RetentionResult;