import type { BuilderToolBase } from '../utils/stream-processor'; export declare const MAX_AGENT_ITERATIONS = 50; export declare const MAX_VALIDATE_ATTEMPTS = 10; export declare const FIX_VALIDATION_ERRORS_INSTRUCTION = "\nAnalyze the errors, then use the editor tool to apply fixes:\n1. Which errors are relevant to the last user request? If NONE, stop \u2014 do not fix unrelated warnings.\n2. Use search_nodes and get_node_types to look up the correct node schema (if not already fetched)\n3. Use batch_str_replace to fix ALL identified issues atomically in one call (preferred), or use individual str_replace/insert calls\n4. Call validate_workflow ONCE after all fixes are applied\nDo NOT output explanations \u2014 just fix the code. Do not add or edit comments."; export declare const TEXT_EDITOR_TOOL: { type: 'text_editor_20250728'; name: 'str_replace_based_edit_tool'; }; export declare const BATCH_STR_REPLACE_TOOL: { type: 'function'; function: { name: string; description: string; parameters: { type: 'object'; properties: { replacements: { type: 'array'; items: { type: 'object'; properties: { old_str: { type: 'string'; description: string; }; new_str: { type: 'string'; description: string; }; }; required: string[]; }; description: string; }; }; required: string[]; }; }; }; export declare const VALIDATE_TOOL: { type: 'function'; function: { name: string; description: string; parameters: { type: 'object'; properties: { path: { type: 'string'; description: string; }; }; required: string[]; }; }; }; export declare const CODE_BUILDER_TEXT_EDITOR_TOOL: BuilderToolBase; export declare const CODE_BUILDER_BATCH_STR_REPLACE_TOOL: BuilderToolBase; export declare const CODE_BUILDER_VALIDATE_TOOL: BuilderToolBase; export declare const CODE_BUILDER_VALIDATE_NODE_TOOL: BuilderToolBase; export declare const CODE_BUILDER_SEARCH_NODES_TOOL: BuilderToolBase; export declare const CODE_BUILDER_GET_NODE_TYPES_TOOL: BuilderToolBase; export declare const CODE_BUILDER_GET_SUGGESTED_NODES_TOOL: BuilderToolBase; export declare const MCP_GET_SDK_REFERENCE_TOOL: BuilderToolBase; export declare const MCP_CREATE_WORKFLOW_FROM_CODE_TOOL: BuilderToolBase; export declare const MCP_ARCHIVE_WORKFLOW_TOOL: BuilderToolBase; export declare const MCP_UPDATE_WORKFLOW_TOOL: BuilderToolBase; export declare const MCP_EXPLORE_NODE_RESOURCES_TOOL: BuilderToolBase; export declare const MCP_GET_WORKFLOW_BEST_PRACTICES_TOOL: BuilderToolBase;