type McpResult = { content: { type: "text"; text: string; }[]; }; /** Wraps an MCP tool callback with try-catch, returning a user-friendly error on failure */ export declare function safe(toolName: string, handler: (...args: any[]) => McpResult | Promise): (...args: any[]) => Promise; export {}; //# sourceMappingURL=tool-wrapper.d.ts.map