/** * Shared error handling for MCP tools */ export type ToolResult = { content: Array<{ type: 'text'; text: string; }>; isError?: boolean; }; /** * Handle errors from tool execution and return formatted error response */ export declare function handleToolError(error: unknown, toolName: string): ToolResult; //# sourceMappingURL=error-handler.d.ts.map