import { ChatResponseContent } from '@theia/ai-chat/lib/common'; import { ReactNode } from '@theia/core/shared/react'; import { ResponseNode } from './chat-tree-view/chat-view-tree-widget.js'; export declare const ChatResponsePartRenderer: unique symbol; export interface ChatResponsePartRenderer { canHandle(response: ChatResponseContent): number; render(response: T, parentNode: ResponseNode): ReactNode; /** * Optional method to render a compact confirmation/interaction view for this content type. * Used by the delegation summary to show tool-specific confirmation UI in collapsed state. * If not implemented, a generic fallback confirmation UI is used. */ renderConfirmation?(response: T, parentNode: ResponseNode): ReactNode; } //# sourceMappingURL=chat-response-part-renderer.d.ts.map