/** * Approval phase — human-in-the-loop pause (approve / reject / edit). */ import type { PhaseState } from "../../store.ts"; export interface ApprovalDecision { decision: "approve" | "reject" | "edit"; note?: string; } export interface ApprovalRequest { phaseId: string; message: string; upstream?: string; } /** * Build PhaseState for an approval outcome (interactive or auto-reject). */ export declare function approvalDecisionToPhaseState(phaseId: string, decision: ApprovalDecision, opts: { inputHash: string; reads?: PhaseState["reads"]; /** When true, mark approval as automatic (timeout / headless / abort). */ auto?: boolean; }): PhaseState; //# sourceMappingURL=approval.d.ts.map