import type { DagNodeDefinition } from "./dag.js";
import type { RunState } from "../contracts/orchestration.js";
import type { EnsembleDecisionCandidateVote } from "./ensemble-decision.js";
export interface CapabilityAgentBuildInput {
    goal: string;
    dependsOn: string[];
    maxAgents?: number;
    seedId?: string;
    seedRole?: string;
    seedName?: string;
}
export declare function buildCapabilityAgentNodes(input: CapabilityAgentBuildInput): DagNodeDefinition[];
export declare function isCapabilityAgentNode(node: Pick<DagNodeDefinition, "id" | "routing">): boolean;
export declare function buildCapabilityVotes(capabilityNodes: RunState["nodes"], runState: RunState): EnsembleDecisionCandidateVote[];
