/**
 * n8n Workflow Validator - Advanced Auto-Fixing
 *
 * Upgraded to match FlowEngine's comprehensive validation with:
 * - Malformed JSON detection
 * - Category-aware node conversion
 * - Descriptive name generation
 * - Placeholder credentials (20+ services)
 * - Intelligent auto-connection
 * - Hanging node detection
 * - Duplicate connection removal
 * - Empty parameter placeholders
 * - CRITICAL AI AGENT FIXES (11 fixes from FlowEngine):
 *   1. Remove invalid AI tool connections
 *   2. Smart regular-to-tool node conversion
 *   3. Remove hardcoded model parameters
 *   4. Fix backwards tool connections
 *   5. Fix node positioning for AI agents
 *   6. Ensure descriptive names
 *   7. Normalize AI tool indexes
 *   8. Replace deprecated nodes (NEW)
 *   9. Remove over-linking (NEW)
 *   10. Rebuild orphaned connections (NEW)
 *   VALIDATION: Validate AI agent requirements (NEW)
 */
export interface ValidationResult {
    valid: boolean;
    errors: string[];
    warnings: string[];
    fixes: string[];
    autofixed: boolean;
    normalized?: any;
}
/**
 * Main validation function with FlowEngine-level auto-fixing
 */
export declare function validateWorkflow(workflowJson: any, autofix?: boolean): ValidationResult;
//# sourceMappingURL=validator.d.ts.map