import { type RunWorkItemInput } from "../work/index.js"; import type { GovernorPlanOutcome } from "./plan-types.js"; import { type GovernorProjection } from "./state.js"; export type GovernorStopReason = "succeeded" | "awaiting_attention" | "blocked" | "budget_exhausted" | "no_progress" | "tick_complete"; export interface GovernorDispatchOutcome { work_id: string; action: "run" | "resume" | "retry"; status: "completed" | "parked" | "failed"; run_id?: string; error?: string; } export interface GovernorRunReport { goal_id: string; mode: "tick" | "run"; stop_reason: GovernorStopReason; reason: string; started_at: string; ended_at: string; duration_ms: number; cycles: number; dispatches: number; acceptances: number; replans: number; outcomes: GovernorDispatchOutcome[]; plan_outcomes: GovernorPlanOutcome[]; projection: GovernorProjection; } export interface RunGovernorInput { coordRoot: string; goalId: string; mode?: "tick" | "run"; actor?: string; engine: Omit; onLog?: (line: string) => void; } export declare function runGovernor(input: RunGovernorInput): Promise; //# sourceMappingURL=runner.d.ts.map