export interface WakeTrigger {
    type: "time" | "run-failed" | "evidence-missing" | "file-changed" | "browser-feedback" | "manual";
    interval?: string;
    paths?: string[];
    action: "continue" | "replan" | "verify" | "ask-human" | "close";
}
export interface WakePolicy {
    schemaVersion: 1;
    goalId: string;
    wakeTriggers: WakeTrigger[];
    budgets: {
        maxIterations: number;
        maxWallClockHours: number;
        maxDailyCostUsd: number;
        maxConsecutiveFailures: number;
    };
    approval: {
        write: "auto" | "interactive";
        shell: "auto" | "interactive";
        publish: "auto" | "block";
        secrets: "auto" | "block";
    };
}
export declare function loadWakePolicy(goalId: string): Promise<WakePolicy | null>;
export declare function saveWakePolicy(policy: WakePolicy): Promise<void>;
export declare function createDefaultWakePolicy(goalId: string): WakePolicy;
