/**
 * Build stage: construct the HotMesh YAML DAG from the compilation plan.
 *
 * When an EnhancedCompilationPlan is available, uses its iteration specs,
 * data flow edges, and key mappings to build a faithful deterministic DAG.
 * Falls back to mechanical heuristics when no plan is available.
 */
import type { PipelineContext } from '../../types';
export { capToolArguments } from './utils';
export { sanitizeToolName } from '../../../../modules/utils';
/**
 * Build pipeline stage: construct the HotMesh YAML DAG.
 *
 * Reads as a five-phase pipeline:
 *   1. Prepare inputs (schema, session fields, index mapping)
 *   2. Initialize the DAG with a trigger activity
 *   3. Append each step as an iteration or normal activity
 *   4. Serialize to YAML
 *   5. Derive metadata (tags, category)
 */
export declare function build(ctx: PipelineContext): Promise<PipelineContext>;
