/**
 * DAG step-appender functions for building iteration, normal, and signal
 * activities. Extracted from dag.ts to keep each file under 300 lines.
 */
import type { ExtractedStep, EnhancedCompilationPlan, IterationSpec, DagBuilder } from '../../types';
/** Append an iteration pattern (hook -> worker -> cycle -> done) to the DAG. */
export declare function appendIterationStep(dag: DagBuilder, iterSpec: IterationSpec, prefix: string, graphTopic: string, idx: number, step: ExtractedStep, triggerInputKeys: Set<string>, steps: ExtractedStep[], sessionFields: string[], plan: EnhancedCompilationPlan | null): void;
/** Append a normal (non-iteration) step activity to the DAG. */
export declare function appendNormalStep(dag: DagBuilder, idx: number, step: ExtractedStep, prefix: string, graphTopic: string, plan: EnhancedCompilationPlan | null, steps: ExtractedStep[], triggerInputKeys: Set<string>, collapsedToCoreIndex: Map<number, number>): void;
/**
 * Append a signal step pair (escalation worker + hook) to the DAG.
 *
 * The escalation worker creates the escalation via the human-queue MCP tool.
 * The hook pauses until the escalation is resolved and a signal arrives.
 * A hooks section entry routes the external signal to the waiting hook.
 */
export declare function appendSignalStep(dag: DagBuilder, idx: number, step: ExtractedStep, prefix: string, graphTopic: string, plan: EnhancedCompilationPlan | null, steps: ExtractedStep[], triggerInputKeys: Set<string>, collapsedToCoreIndex: Map<number, number>): void;
