import type { AutonomousPhaseDefinition } from "./autonomous-workflow-constants.js"; import type { AutonomousPhase, AutonomousRun, PhaseStructuredOutput, SizingLabel } from "./types.js"; export type SizingCheckResult = { found: true; sizing: SizingLabel; points?: number; } | { found: false; }; export declare function checkArchitectSizing(root: string, taskId: string): Promise; export type PhaseOutcome = { kind: "done"; notes: string; output?: PhaseStructuredOutput; } | { kind: "gate_pause"; reviewArtifact: string; } | { kind: "qa_fail"; notes: string; } | { kind: "blocked"; notes: string; }; export declare function initPhase(root: string, run: AutonomousRun, phaseIndex: number, retryContext?: string, sequence?: AutonomousPhaseDefinition[]): Promise; export declare function closePhase(root: string, run: AutonomousRun, phaseIndex: number, outcome: PhaseOutcome, sequence?: AutonomousPhaseDefinition[]): Promise<{ run: AutonomousRun; handoffArtifact?: string; reviewArtifact?: string; }>;