import type { EmergencySaveData } from '../../types/run/emergency.js';
import type { Logger } from '../../utils/logger.js';
import type { RunPersistence } from './persistence.js';
export declare class EmergencySaveManager {
    private static _instance;
    private runRef;
    private outputDir;
    private signalHandlers;
    private log;
    private constructor();
    static instance(log?: Logger): EmergencySaveManager;
    attach(runMgr: RunPersistence, outputDir: string, log: Logger): void;
    detach(): void;
    emergencySave(signal: string): void;
    static listSaves(baseDir: string): string[];
    static loadSave(filePath: string): EmergencySaveData;
    static clearSave(filePath: string): void;
}
//# sourceMappingURL=emergency.d.ts.map