import type { GovernorPlanOutcome } from "./plan-types.js"; import { type GovernorListWarning } from "./state.js"; export declare function approveGovernorPlan(input: { coordRoot: string; goalId: string; planId: string; actor?: string; reason?: string; }): GovernorPlanOutcome; export declare function rejectGovernorPlan(input: { coordRoot: string; goalId: string; planId: string; actor?: string; reason: string; }): GovernorPlanOutcome; /** The goal of a succeeded mission that governs this work item, if there is one. * * A work item holds no back-reference to its goal, so this is a scan. It exists so * `work reopen` can tell the difference between an item nothing is watching and one * whose mission has already been declared complete — the case where reopening the * item alone leaves it in `ready_work` that the governor will never dispatch. */ export declare function findCompletedMissionGoverning(coordRoot: string, workId: string, onWarning?: (warning: GovernorListWarning) => void): string | undefined; /** ADR 0050: reopen an accepted mission completion by appending to the plan log. * Held under the goal lease so it cannot race a foreground governor run. */ export declare function reopenGovernorMission(input: { coordRoot: string; goalId: string; actor?: string; reason: string; }): GovernorPlanOutcome; export declare function retryGovernorPlan(input: { coordRoot: string; goalId: string; planId: string; actor?: string; reason: string; }): GovernorPlanOutcome; //# sourceMappingURL=plan-api.d.ts.map