import type { FeatureAgentState } from '../state.js';
import type { ValidationResult } from './schemas/validation.js';
type SchemaValidator = (data: unknown) => ValidationResult;
/**
 * Factory that creates a validate node for a specific YAML file.
 *
 * On success: resets validationRetries to 0, clears errors.
 * On failure: increments validationRetries, sets errors for repair node.
 */
export declare function createValidateNode(filename: string, schema: SchemaValidator): (state: FeatureAgentState) => Promise<Partial<FeatureAgentState>>;
export {};
//# sourceMappingURL=validate.node.d.ts.map