import type { INodeTypeDescription } from 'n8n-workflow'; import { z } from 'zod'; import type { BuilderTool, BuilderToolBase } from '../utils/stream-processor'; export declare const nodeCreationSchema: z.ZodObject<{ nodeType: z.ZodString; nodeVersion: z.ZodNumber; name: z.ZodString; initialParametersReasoning: z.ZodString; initialParameters: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; nodeSettings: z.ZodOptional; onError: z.ZodOptional>; }, "strip", z.ZodTypeAny, { executeOnce?: boolean | undefined; onError?: "continueErrorOutput" | "continueRegularOutput" | "stopWorkflow" | undefined; }, { executeOnce?: boolean | undefined; onError?: "continueErrorOutput" | "continueRegularOutput" | "stopWorkflow" | undefined; }>>; }, "strip", z.ZodTypeAny, { nodeType: string; nodeVersion: number; name: string; initialParametersReasoning: string; initialParameters: {} & { [k: string]: unknown; }; nodeSettings?: { executeOnce?: boolean | undefined; onError?: "continueErrorOutput" | "continueRegularOutput" | "stopWorkflow" | undefined; } | undefined; }, { nodeType: string; nodeVersion: number; name: string; initialParametersReasoning: string; initialParameters: {} & { [k: string]: unknown; }; nodeSettings?: { executeOnce?: boolean | undefined; onError?: "continueErrorOutput" | "continueRegularOutput" | "stopWorkflow" | undefined; } | undefined; }>; export declare const nodeCreationE2ESchema: z.ZodObject<{ nodeType: z.ZodString; nodeVersion: z.ZodNumber; name: z.ZodString; initialParametersReasoning: z.ZodString; initialParameters: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; nodeSettings: z.ZodOptional; onError: z.ZodOptional>; }, "strip", z.ZodTypeAny, { executeOnce?: boolean | undefined; onError?: "continueErrorOutput" | "continueRegularOutput" | "stopWorkflow" | undefined; }, { executeOnce?: boolean | undefined; onError?: "continueErrorOutput" | "continueRegularOutput" | "stopWorkflow" | undefined; }>>; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { nodeType: string; nodeVersion: number; name: string; initialParametersReasoning: string; initialParameters: {} & { [k: string]: unknown; }; nodeSettings?: { executeOnce?: boolean | undefined; onError?: "continueErrorOutput" | "continueRegularOutput" | "stopWorkflow" | undefined; } | undefined; id?: string | undefined; }, { nodeType: string; nodeVersion: number; name: string; initialParametersReasoning: string; initialParameters: {} & { [k: string]: unknown; }; nodeSettings?: { executeOnce?: boolean | undefined; onError?: "continueErrorOutput" | "continueRegularOutput" | "stopWorkflow" | undefined; } | undefined; id?: string | undefined; }>; export declare function getAddNodeToolBase(nodeTypes: INodeTypeDescription[]): BuilderToolBase; export declare function createAddNodeTool(nodeTypes: INodeTypeDescription[]): BuilderTool;