import { z } from 'zod';
import type { Engine } from '../engine/engine.js';
export declare function createValidateWorkflowTool(engine: Engine): import("ai").Tool<z.ZodObject<{
    workflow: z.ZodObject<{
        engine: z.ZodEnum<["n8n", "yagr-engine"]>;
        name: z.ZodString;
        sourceType: z.ZodEnum<["n8n-json", "yagr-python"]>;
        definition: z.ZodUnknown;
        credentialRequirements: z.ZodArray<z.ZodObject<{
            nodeName: z.ZodString;
            credentialType: z.ZodString;
            displayName: z.ZodString;
            required: z.ZodBoolean;
            status: z.ZodEnum<["missing", "linked", "unknown"]>;
            helpUrl: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            required: boolean;
            status: "unknown" | "missing" | "linked";
            nodeName: string;
            credentialType: string;
            displayName: string;
            helpUrl?: string | undefined;
        }, {
            required: boolean;
            status: "unknown" | "missing" | "linked";
            nodeName: string;
            credentialType: string;
            displayName: string;
            helpUrl?: string | undefined;
        }>, "many">;
    }, "strip", z.ZodTypeAny, {
        name: string;
        engine: "n8n" | "yagr-engine";
        sourceType: "n8n-json" | "yagr-python";
        credentialRequirements: {
            required: boolean;
            status: "unknown" | "missing" | "linked";
            nodeName: string;
            credentialType: string;
            displayName: string;
            helpUrl?: string | undefined;
        }[];
        definition?: unknown;
    }, {
        name: string;
        engine: "n8n" | "yagr-engine";
        sourceType: "n8n-json" | "yagr-python";
        credentialRequirements: {
            required: boolean;
            status: "unknown" | "missing" | "linked";
            nodeName: string;
            credentialType: string;
            displayName: string;
            helpUrl?: string | undefined;
        }[];
        definition?: unknown;
    }>;
}, "strip", z.ZodTypeAny, {
    workflow: {
        name: string;
        engine: "n8n" | "yagr-engine";
        sourceType: "n8n-json" | "yagr-python";
        credentialRequirements: {
            required: boolean;
            status: "unknown" | "missing" | "linked";
            nodeName: string;
            credentialType: string;
            displayName: string;
            helpUrl?: string | undefined;
        }[];
        definition?: unknown;
    };
}, {
    workflow: {
        name: string;
        engine: "n8n" | "yagr-engine";
        sourceType: "n8n-json" | "yagr-python";
        credentialRequirements: {
            required: boolean;
            status: "unknown" | "missing" | "linked";
            nodeName: string;
            credentialType: string;
            displayName: string;
            helpUrl?: string | undefined;
        }[];
        definition?: unknown;
    };
}>, {
    validation: import("../types.js").WorkflowValidationResult;
}> & {
    execute: (args: {
        workflow: {
            name: string;
            engine: "n8n" | "yagr-engine";
            sourceType: "n8n-json" | "yagr-python";
            credentialRequirements: {
                required: boolean;
                status: "unknown" | "missing" | "linked";
                nodeName: string;
                credentialType: string;
                displayName: string;
                helpUrl?: string | undefined;
            }[];
            definition?: unknown;
        };
    }, options: import("ai").ToolExecutionOptions) => PromiseLike<{
        validation: import("../types.js").WorkflowValidationResult;
    }>;
};
//# sourceMappingURL=validate.d.ts.map