import type { AutonomousPhaseDefinition } from "./autonomous-workflow-constants.js"; import type { AutonomousRun, CliIo, WorkflowPhaseExecutorProvenance } from "./types.js"; export declare function pauseForDetachedSubagentExecutor(root: string, run: AutonomousRun, phase: string, executor: WorkflowPhaseExecutorProvenance): Promise; export type BackgroundResolution = { status: "none"; } | { status: "waiting"; run: AutonomousRun; } | { status: "resolved"; run: AutonomousRun; }; export declare function resolveBackgroundSubagentPhase(root: string, run: AutonomousRun, def: AutonomousPhaseDefinition, phaseIndex: number, sequence: AutonomousPhaseDefinition[], io: CliIo): Promise;