import { type User, type ProjectRepository } from '@n8n/db';
import z from 'zod';
import type { ToolDefinition } from '../../mcp.types';
import type { CredentialsService } from '../../../../credentials/credentials.service';
import type { NodeTypes } from '../../../../node-types';
import type { UrlService } from '../../../../services/url.service';
import type { Telemetry } from '../../../../telemetry';
import type { WorkflowCreationService } from '../../../../workflows/workflow-creation.service';
import type { WorkflowFinderService } from '../../../../workflows/workflow-finder.service';
declare const inputSchema: {
    code: z.ZodString;
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    projectId: z.ZodOptional<z.ZodString>;
    folderId: z.ZodOptional<z.ZodString>;
};
export declare const createCreateWorkflowFromCodeTool: (user: User, workflowCreationService: WorkflowCreationService, workflowFinderService: WorkflowFinderService, urlService: UrlService, telemetry: Telemetry, nodeTypes: NodeTypes, credentialsService: CredentialsService, projectRepository: ProjectRepository) => ToolDefinition<typeof inputSchema>;
export {};
