import { z } from 'zod'; export declare const serializedWorkflowSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; nodes: z.ZodArray; parameters: z.ZodRecord; credentials: z.ZodOptional; name: z.ZodString; __aiGatewayManaged: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string | null; name: string; __aiGatewayManaged?: boolean | undefined; }, { id: string | null; name: string; __aiGatewayManaged?: boolean | undefined; }>>>; disabled: z.ZodOptional; notes: z.ZodOptional; notesInFlow: z.ZodOptional; continueOnFail: z.ZodOptional; retryOnFail: z.ZodOptional; maxTries: z.ZodOptional; waitBetweenTries: z.ZodOptional; alwaysOutputData: z.ZodOptional; executeOnce: z.ZodOptional; onError: z.ZodOptional; webhookId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; type: string; typeVersion: number; position: [number, number]; parameters: Record; credentials?: Record | undefined; disabled?: boolean | undefined; notes?: string | undefined; notesInFlow?: boolean | undefined; continueOnFail?: boolean | undefined; retryOnFail?: boolean | undefined; maxTries?: number | undefined; waitBetweenTries?: number | undefined; alwaysOutputData?: boolean | undefined; executeOnce?: boolean | undefined; onError?: string | undefined; webhookId?: string | undefined; }, { id: string; name: string; type: string; typeVersion: number; position: [number, number]; parameters: Record; credentials?: Record | undefined; disabled?: boolean | undefined; notes?: string | undefined; notesInFlow?: boolean | undefined; continueOnFail?: boolean | undefined; retryOnFail?: boolean | undefined; maxTries?: number | undefined; waitBetweenTries?: number | undefined; alwaysOutputData?: boolean | undefined; executeOnce?: boolean | undefined; onError?: string | undefined; webhookId?: string | undefined; }>, "many">; connections: z.ZodRecord, "many">>, "many">>>; nodeGroups: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; nodeIds: string[]; description?: string | undefined; }, { id: string; name: string; nodeIds: string[]; description?: string | undefined; }>, "many">>; settings: z.ZodOptional>; parentFolderId: z.ZodNullable; isArchived: z.ZodBoolean; tagIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; nodes: { id: string; name: string; type: string; typeVersion: number; position: [number, number]; parameters: Record; credentials?: Record | undefined; disabled?: boolean | undefined; notes?: string | undefined; notesInFlow?: boolean | undefined; continueOnFail?: boolean | undefined; retryOnFail?: boolean | undefined; maxTries?: number | undefined; waitBetweenTries?: number | undefined; alwaysOutputData?: boolean | undefined; executeOnce?: boolean | undefined; onError?: string | undefined; webhookId?: string | undefined; }[]; connections: Record>; nodeGroups?: { id: string; name: string; nodeIds: string[]; description?: string | undefined; }[] | undefined; settings?: Record | undefined; parentFolderId: string | null; isArchived: boolean; tagIds?: string[] | undefined; }, { id: string; name: string; nodes: { id: string; name: string; type: string; typeVersion: number; position: [number, number]; parameters: Record; credentials?: Record | undefined; disabled?: boolean | undefined; notes?: string | undefined; notesInFlow?: boolean | undefined; continueOnFail?: boolean | undefined; retryOnFail?: boolean | undefined; maxTries?: number | undefined; waitBetweenTries?: number | undefined; alwaysOutputData?: boolean | undefined; executeOnce?: boolean | undefined; onError?: string | undefined; webhookId?: string | undefined; }[]; connections: Record>; nodeGroups?: { id: string; name: string; nodeIds: string[]; description?: string | undefined; }[] | undefined; settings?: Record | undefined; parentFolderId: string | null; isArchived: boolean; tagIds?: string[] | undefined; }>; export type SerializedWorkflow = z.infer;