export interface ToolResult { content: { type: "text"; text: string; }[]; /** Present and true only on error results, so `.isError` is well-typed on the * ok|err union that handlers return. */ isError?: true; } export declare const ok: (text: string) => ToolResult; export declare const err: (text: string) => ToolResult; //# sourceMappingURL=result.d.ts.map