import type { NervousRunState } from './reflexes';
import type { NervousSignal } from './signals';
export interface RecoveryPlan {
    reason: string;
    whatFailed: string[];
    lastKnownGoodState: string;
    safeNextAction: string;
    whatWasAvoided: string[];
    verifierRequired: boolean;
    reducedExploration: boolean;
}
export declare function buildRecoveryPlan(state: NervousRunState, signals: NervousSignal[]): RecoveryPlan;
/**
 * Format a recovery plan as text for inclusion in the system prompt
 * or context package.
 */
export declare function formatRecoveryPlan(plan: RecoveryPlan): string;
//# sourceMappingURL=recovery.d.ts.map