import { type ArchiveCodec, type ArchiveCodecId } from "./codec.js"; import { type PruneResult } from "./retention.js"; import { type SnapshotReport } from "./snapshot.js"; export declare const DEFAULT_RETENTION_DAYS = 14; /** Roughly a fortnight of every home, with room for one that grows. */ export declare const DEFAULT_MAX_TOTAL_BYTES: number; export interface BackupRunOptions { root: string; now: Date; retentionDays?: number; maxTotalBytes?: number; registryPath?: string; /** Overrides codec resolution. Both branches ship, so both must be drivable. */ codec?: ArchiveCodec; } export interface BackupRunResult { root: string; createdAt: string; codec: ArchiveCodecId; status: "ok" | "failed"; targets: SnapshotReport[]; retention: PruneResult; } export declare function runBackupRun(options: BackupRunOptions): Promise; //# sourceMappingURL=run.d.ts.map