import type { MessageContentBlock } from "mcp-use/react"; interface ToolResultRendererProps { toolName: string; toolArgs: Record; result: any; serverId?: string; readResource?: (uri: string) => Promise; toolMeta?: Record; onSendFollowUp?: (content: MessageContentBlock[]) => void; /** When provided, passed to widget renderers to avoid useMcpClient() context lookup. */ serverBaseUrl?: string; /** Partial/streaming tool arguments (forwarded to widget as partialToolInput) */ partialToolArgs?: Record; /** Whether this tool execution was cancelled by the user */ cancelled?: boolean; } /** * Renders tool results - handles both OpenAI Apps SDK components and MCP-UI resources */ export declare function ToolResultRenderer({ toolName, toolArgs, result, serverId, readResource, toolMeta, onSendFollowUp, serverBaseUrl, partialToolArgs, cancelled, }: ToolResultRendererProps): import("react/jsx-runtime").JSX.Element | null; export {}; //# sourceMappingURL=ToolResultRenderer.d.ts.map