import { type EngineOpts } from "../workflow/index.js"; import { type GovernorPlanOutcome } from "./plan-types.js"; import type { GovernorRecord } from "./state.js"; export interface RunGovernorPlannerInput { coordRoot: string; record: GovernorRecord; engine: Omit; actor: string; onLog?: (line: string) => void; } export declare function runGovernorPlanner(input: RunGovernorPlannerInput): Promise; export declare function applyGovernorPlanProposal(input: { coordRoot: string; record: GovernorRecord; planId: string; actor: string; reason?: string; }): GovernorPlanOutcome; export declare function rejectGovernorPlanProposal(input: { coordRoot: string; goalId: string; planId: string; actor: string; reason: string; }): GovernorPlanOutcome; /** ADR 0050: reopen a mission whose completion was already accepted, so an operator * finding on work beneath it can be dispatched through the normal governor rather * than only by running the work item by hand. * * The accepted `plan.completed` event is never rewritten. This appends a superseding * `plan.reopened` alongside it, which is why the prior completion survives as history * and why a reader that cannot understand the new event still sees a completed plan * rather than a silently altered one. Refuses when the mission is not complete, so a * caller cannot use it to skip the ordinary completion path. */ export declare function reopenGovernorMissionPlan(input: { coordRoot: string; record: GovernorRecord; actor: string; reason: string; }): GovernorPlanOutcome; export declare function retryGovernorPlanProposal(input: { coordRoot: string; record: GovernorRecord; planId: string; actor: string; reason: string; }): GovernorPlanOutcome; //# sourceMappingURL=planning.d.ts.map