/**
 * Repair node factory for the feature-agent graph.
 *
 * Reads broken YAML content and validation errors from state,
 * builds a constrained repair prompt, and sends it to the executor
 * with limited tools (write-only) to fix the YAML files.
 */
import type { FeatureAgentState } from '../state.js';
import type { IAgentExecutor } from '../../../../../application/ports/output/agents/agent-executor.interface.js';
/**
 * Build a repair prompt containing the broken YAML, validation errors,
 * and file paths for the executor to write fixed files.
 */
export declare function buildRepairPrompt(filename: string | string[], content: string, errors: string[], specDir: string): string;
/**
 * Factory that creates a repair node for a specific YAML file (or files).
 *
 * Reads the broken YAML, builds a repair prompt with validation errors
 * from state, and calls the executor with constrained options (maxTurns=5,
 * write-only tools, no MCP).
 */
export declare function createRepairNode(filename: string | string[], executor: IAgentExecutor): (state: FeatureAgentState) => Promise<Partial<FeatureAgentState>>;
//# sourceMappingURL=repair.node.d.ts.map