/** Standalone stores have no host defaults; capture their fallback at module startup, never per session. */
export declare const recoveryAgentDir: string;
/**
 * RULING-84: shared durable storage-health clock, independent of accepted sequence and freeze generation.
 * Only a successful real write/fsync or completed repair after a failure advances it. Kernel advisory locking
 * serializes independent owners; temp fsync, rename and directory fsync precede publication of a new revision.
 */
export declare class RecoveryStorageHealth {
    private readonly dir;
    private failures;
    private cleared;
    private pending;
    private setup;
    constructor(base: string);
    private ensureDir;
    get needsRecovery(): boolean;
    unavailable(): void;
    revision(): Promise<string>;
    /** Corrupt metadata has no usable revision; only a locked atomic repair publishes its replacement. */
    private readRevision;
    /** The operation must actually finish successfully; a refusal leaves both failure and revision unchanged. */
    recover(operation: () => Promise<void>): Promise<string>;
    private advance;
}
//# sourceMappingURL=compact-storage-health.d.ts.map