import { z } from 'zod'; declare const ConnectionSchema: z.ZodObject<{ node: z.ZodString; type: z.ZodEnum<["main", "ai_tool", "ai_chain", "ai_document"]>; index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "main" | "ai_tool" | "ai_chain" | "ai_document"; node: string; index: number; }, { type: "main" | "ai_tool" | "ai_chain" | "ai_document"; node: string; index: number; }>; declare const NodeSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; type: z.ZodString; typeVersion: z.ZodDefault; position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; parameters: z.ZodRecord; credentials: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string | undefined; name?: string | undefined; }, { id?: string | undefined; name?: string | undefined; }>>>; webhookId: z.ZodOptional; disabled: z.ZodOptional; notesInFlow: z.ZodOptional; notes: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; id: string; name: string; typeVersion: number; position: [number, number]; parameters: Record; credentials?: Record | undefined; webhookId?: string | undefined; disabled?: boolean | undefined; notesInFlow?: boolean | undefined; notes?: string | undefined; }, { type: string; id: string; name: string; position: [number, number]; parameters: Record; typeVersion?: number | undefined; credentials?: Record | undefined; webhookId?: string | undefined; disabled?: boolean | undefined; notesInFlow?: boolean | undefined; notes?: string | undefined; }>; declare const WorkflowSettingsSchema: z.ZodObject<{ executionOrder: z.ZodDefault>; saveManualExecutions: z.ZodDefault; saveExecutionProgress: z.ZodDefault; saveDataErrorExecution: z.ZodDefault>; saveDataSuccessExecution: z.ZodDefault>; executionTimeout: z.ZodDefault; timezone: z.ZodDefault; errorWorkflow: z.ZodOptional; }, "strip", z.ZodTypeAny, { executionOrder: "v0" | "v1"; saveManualExecutions: boolean; saveExecutionProgress: boolean; saveDataErrorExecution: "all" | "none"; saveDataSuccessExecution: "all" | "none"; executionTimeout: number; timezone: string; errorWorkflow?: string | undefined; }, { executionOrder?: "v0" | "v1" | undefined; saveManualExecutions?: boolean | undefined; saveExecutionProgress?: boolean | undefined; saveDataErrorExecution?: "all" | "none" | undefined; saveDataSuccessExecution?: "all" | "none" | undefined; executionTimeout?: number | undefined; timezone?: string | undefined; errorWorkflow?: string | undefined; }>; export declare const WorkflowSchema: z.ZodObject<{ name: z.ZodString; nodes: z.ZodArray; position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>; parameters: z.ZodRecord; credentials: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string | undefined; name?: string | undefined; }, { id?: string | undefined; name?: string | undefined; }>>>; webhookId: z.ZodOptional; disabled: z.ZodOptional; notesInFlow: z.ZodOptional; notes: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; id: string; name: string; typeVersion: number; position: [number, number]; parameters: Record; credentials?: Record | undefined; webhookId?: string | undefined; disabled?: boolean | undefined; notesInFlow?: boolean | undefined; notes?: string | undefined; }, { type: string; id: string; name: string; position: [number, number]; parameters: Record; typeVersion?: number | undefined; credentials?: Record | undefined; webhookId?: string | undefined; disabled?: boolean | undefined; notesInFlow?: boolean | undefined; notes?: string | undefined; }>, "many">; connections: z.ZodRecord; index: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "main" | "ai_tool" | "ai_chain" | "ai_document"; node: string; index: number; }, { type: "main" | "ai_tool" | "ai_chain" | "ai_document"; node: string; index: number; }>, "many">, "many">>; }, "strip", z.ZodTypeAny, { main?: { type: "main" | "ai_tool" | "ai_chain" | "ai_document"; node: string; index: number; }[][] | undefined; }, { main?: { type: "main" | "ai_tool" | "ai_chain" | "ai_document"; node: string; index: number; }[][] | undefined; }>>; settings: z.ZodOptional>; saveManualExecutions: z.ZodDefault; saveExecutionProgress: z.ZodDefault; saveDataErrorExecution: z.ZodDefault>; saveDataSuccessExecution: z.ZodDefault>; executionTimeout: z.ZodDefault; timezone: z.ZodDefault; errorWorkflow: z.ZodOptional; }, "strip", z.ZodTypeAny, { executionOrder: "v0" | "v1"; saveManualExecutions: boolean; saveExecutionProgress: boolean; saveDataErrorExecution: "all" | "none"; saveDataSuccessExecution: "all" | "none"; executionTimeout: number; timezone: string; errorWorkflow?: string | undefined; }, { executionOrder?: "v0" | "v1" | undefined; saveManualExecutions?: boolean | undefined; saveExecutionProgress?: boolean | undefined; saveDataErrorExecution?: "all" | "none" | undefined; saveDataSuccessExecution?: "all" | "none" | undefined; executionTimeout?: number | undefined; timezone?: string | undefined; errorWorkflow?: string | undefined; }>>; staticData: z.ZodOptional>; tags: z.ZodOptional>; pinData: z.ZodOptional>; versionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; nodes: { type: string; id: string; name: string; typeVersion: number; position: [number, number]; parameters: Record; credentials?: Record | undefined; webhookId?: string | undefined; disabled?: boolean | undefined; notesInFlow?: boolean | undefined; notes?: string | undefined; }[]; connections: Record; settings?: { executionOrder: "v0" | "v1"; saveManualExecutions: boolean; saveExecutionProgress: boolean; saveDataErrorExecution: "all" | "none"; saveDataSuccessExecution: "all" | "none"; executionTimeout: number; timezone: string; errorWorkflow?: string | undefined; } | undefined; staticData?: Record | undefined; tags?: string[] | undefined; pinData?: Record | undefined; versionId?: string | undefined; }, { name: string; nodes: { type: string; id: string; name: string; position: [number, number]; parameters: Record; typeVersion?: number | undefined; credentials?: Record | undefined; webhookId?: string | undefined; disabled?: boolean | undefined; notesInFlow?: boolean | undefined; notes?: string | undefined; }[]; connections: Record; settings?: { executionOrder?: "v0" | "v1" | undefined; saveManualExecutions?: boolean | undefined; saveExecutionProgress?: boolean | undefined; saveDataErrorExecution?: "all" | "none" | undefined; saveDataSuccessExecution?: "all" | "none" | undefined; executionTimeout?: number | undefined; timezone?: string | undefined; errorWorkflow?: string | undefined; } | undefined; staticData?: Record | undefined; tags?: string[] | undefined; pinData?: Record | undefined; versionId?: string | undefined; }>; export type WorkflowType = z.infer; export type NodeType = z.infer; export type ConnectionType = z.infer; export type WorkflowSettingsType = z.infer; export {}; //# sourceMappingURL=workflow-schema.d.ts.map