import { z } from 'zod';
import type { TokenUsage } from '../common/index.js';
import type { EmergencySaveId, RunId } from '../ids/index.js';
import type { Message } from '../message/index.js';
export interface EmergencySaveData {
    id: EmergencySaveId;
    runId: RunId;
    messages: Message[];
    tokenUsage: TokenUsage;
    currentIteration: number;
    startedAt: number;
    savedAt: number;
    processSignal: string;
    lastError?: string;
}
export declare const EmergencySaveConfigSchema: z.ZodObject<{
    enabled: z.ZodDefault<z.ZodBoolean>;
    emergencyDir: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    enabled: boolean;
    emergencyDir?: string | undefined;
}, {
    enabled?: boolean | undefined;
    emergencyDir?: string | undefined;
}>;
export type EmergencySaveConfig = z.infer<typeof EmergencySaveConfigSchema>;
//# sourceMappingURL=emergency.d.ts.map