import { CallToolRequestSchema } from '@modelcontextprotocol/sdk/types'; import { z } from 'zod'; /** * Tool name → handler dispatcher. * * v2.0.0 architecture: * - Static tools (window info / screenshot / list windows / read logs) keep * their dedicated `case` blocks because they don't fit the per-command * registry pattern (cross-cutting; no CDP target resolution). * - Every `electron_*` tool is dispatched generically through the * `commandsByName` registry. This replaces the v1 `send_command_to_electron` * switch/case dispatch and removes the `command/args` indirection. */ export declare function handleToolCall(request: z.infer): Promise<{ content: any[]; isError: boolean; }>;