export declare const FABRIC_RUN_ROOT_PREFIX = "pi-fabric-runs-"; /** * A run root is heartbeated by each retention sweep of its owner, every 15 * minutes (`RETENTION_SWEEP_INTERVAL_MS` in agents/manager.ts). Across PID * namespaces a signal probe means nothing, so three missed sweeps prove the * owner dead. */ export declare const RUN_ROOT_HEARTBEAT_TTL_MS: number; export interface RetentionSweepResult { removedRoots: string[]; removedRuns: string[]; } export declare const markRunRootActive: (root: string, now?: number) => void; export declare const heartbeatRunRoot: (root: string, now?: number) => void; export declare const markRunRootClosed: (root: string, now?: number, childrenStopped?: boolean) => void; export declare const canRemoveManagedRunRoot: (root: string) => boolean; export declare const removeEmptyRunRoot: (root: string) => boolean; export declare const sweepTempRunRoots: (options: { tempRoot: string; currentRoot?: string; orphanedTempRunRetentionMs: number; oneShotRunRetentionMs: number; now?: number; }) => RetentionSweepResult; export declare const pruneActorRunArchives: (options: { runsDirectory: string; latestRunId?: string; retentionMs: number; now?: number; }) => string[]; //# sourceMappingURL=retention.d.ts.map