import type { Clark, ClarkStateHandlerParams } from "../../../state-machine/clark-fsm.js";
import { type CodingSubagentResult } from "../../subagents/coding/run-coding-subagent.js";
/**
 * spawnCodingSubagents — main-agent-only tool that spawns a batch of
 * coding sub-agents in parallel and waits for all of them to finish.
 *
 * Currently gated structurally on an active migration checklist
 * (`scratch/migration-checklist.json` exists) — if no migration is in
 * progress, calling the tool errors. The sub-agent primitive itself is
 * general-purpose; we can loosen the gate once we have a second caller.
 */
export declare const spawnCodingSubagentsToolFactory: import("../types.js").ToolFactory<{
    clark: Clark;
    services: ClarkStateHandlerParams;
}, import("../types.js").Tool<{
    subagents: {
        id: string;
        instructions: string;
    }[];
    maxStepsPerSubagent?: number | undefined;
}, {
    completed: number;
    errored: number;
    maxSteps: number;
    success: boolean;
    subagents: CodingSubagentResult[];
}>>;
//# sourceMappingURL=spawn-coding-subagents.d.ts.map