export interface CappedOutput { text: string; truncated: boolean; } export declare function formatToolResult(data: unknown): { content: Array<{ type: "text"; text: string; }>; }; export declare function capJsonOutputWithMeta(data: unknown): CappedOutput; export declare function capJsonOutput(data: unknown): string; export declare function getOutputCharCount(result: { content?: Array<{ type?: string; text?: string; }>; }): number; export declare function toolError(message: string): { content: Array<{ type: "text"; text: string; }>; isError: true; };