import type { User } from '@n8n/db'; import z from 'zod'; import type { NodeCatalogService } from '../../../../node-catalog'; import type { AiGatewayService } from '../../../../services/ai-gateway.service'; import type { Telemetry } from '../../../../telemetry'; import type { ToolDefinition } from '../../mcp.types'; declare const inputSchema: { queries: z.ZodArray; usage: z.ZodOptional>; }; type SearchNodesInput = { queries: string[]; usage?: 'workflow' | 'agentTool'; }; type SearchNodesCallback = ToolDefinition['handler']; type SearchNodesToolDefinition = Omit, 'handler'> & { handler: (input: SearchNodesInput, extra: Parameters[1]) => ReturnType; }; export declare const createSearchWorkflowNodesTool: (user: User, nodeCatalogService: NodeCatalogService, telemetry: Telemetry, aiGatewayService: AiGatewayService, includeUninstalled?: boolean) => SearchNodesToolDefinition; export {};