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