import { ReactNode } from '@theia/core/shared/react'; import { OpenerService } from '@theia/core/lib/browser'; import { ToolCallResult } from '@theia/ai-core'; /** Parses a tool call result that may be a JSON string, returning the original value on failure. */ export declare function tryParseToolCallResult(result: ToolCallResult): ToolCallResult; /** * Renders a tool call result (client or server tool). Shared between {@link ToolCallPartRenderer} * and the server tool renderer so both display results consistently. */ export declare function renderToolCallResult(rawResult: ToolCallResult, openerService: OpenerService): ReactNode; //# sourceMappingURL=toolcall-result.d.ts.map