/** * Freshness helpers shared by `harn backup snapshot` and the session-start * scheduler. The host cache is a local, best-effort record of this machine's * newest known snapshot: the scheduler reads it to skip a remote restic round * trip when the host is plainly current, and restic stays the authority * whenever the cache is missing, stale, or written by another host. */ export declare function parseBackupDuration(value: string): number | null; /** Newest snapshot time (epoch ms) in `restic snapshots --json` output, or null. */ export declare function newestSnapshotTime(output: string): number | null; export interface HostSnapshotCache { host: string; snapshotAt: number; } export declare function hostSnapshotCachePath(harneryDir: string): string; export declare function readHostSnapshotCache(harneryDir: string): HostSnapshotCache | null; export declare function recordHostSnapshot(harneryDir: string, snapshotAt: number): void; //# sourceMappingURL=host-snapshot.d.ts.map