interface UnknownRoot {
    readonly name: string;
    readonly ageMs: number;
    readonly bytes: number | null;
    readonly reason: string;
}
export interface RootSweep {
    readonly removed: number;
    readonly unknown: readonly UnknownRoot[];
    readonly failures: readonly {
        readonly name: string;
        readonly operation: "reclaim";
        readonly cause: string;
    }[];
    readonly skipped?: "windows_owner_and_nofollow_unavailable";
}
/**
 * RULING-65/79: only direct producer children of this base, and only scratch whose owner is proven dead.
 * Engine accepted state is ephemeral scratch, not desktop SQL/replay commitment. Windows is a no-op because
 * this sweep cannot prove POSIX ownership or no-follow traversal there; ordinary store retirement is unchanged.
 */
export declare function sweepRecoveryRoots(base: string): Promise<RootSweep>;
/** Startup errors stay visible and counted; they never prevent the host from accepting other work. */
export declare function startRecoveryCleanup(base: string): Promise<RootSweep>;
export {};
//# sourceMappingURL=compact-recovery-cleanup.d.ts.map