/**
 * Public API wrapper for workflow validation
 *
 * This module provides a simplified validation interface that uses
 * the consolidated WorkflowValidator internally.
 */
import type { TValidationRule, TWorkflowAST } from "../ast/index.js";
import { type TValidationError } from "../validator.js";
export interface ValidationResult {
    valid: boolean;
    errors: TValidationError[];
    warnings: TValidationError[];
}
/**
 * Validates a workflow AST
 *
 * Runs the built-in validator, then agent-specific rules, then registry rules
 * (pack-contributed), then any custom rules.
 *
 * @param ast - The workflow AST to validate
 * @param options - Validation options: custom rules and/or draft mode
 * @returns ValidationResult with errors and warnings
 */
export declare function validateWorkflow(ast: TWorkflowAST, options?: {
    customRules?: TValidationRule[];
    mode?: 'strict' | 'draft';
}): ValidationResult;
//# sourceMappingURL=validate.d.ts.map