export type JsonRpcErrorPayload = { code: number; message: string; data: unknown; }; /** * Maps tool execution errors to JSON-RPC client error payloads. * Returns null when the error should propagate to the outer handler. */ export declare function mapToolExecutionErrorToJsonRpc(error: unknown): JsonRpcErrorPayload | null; //# sourceMappingURL=mcp-tool-call-error.d.ts.map