import { ChatResponsePartRenderer } from '../chat-response-part-renderer.js'; import { ChatResponseContent, ThinkingChatResponseContent } from '@theia/ai-chat/lib/common'; import { ReactNode } from '@theia/core/shared/react'; import { ResponseNode } from '../chat-tree-view/index.js'; export declare class ThinkingPartRenderer implements ChatResponsePartRenderer { canHandle(response: ChatResponseContent): number; render(response: ThinkingChatResponseContent, parentNode?: ResponseNode): ReactNode; /** * A thinking part is still being written iff it is the last content part of a response that is * still running: as soon as the answer text or a tool call arrives, a new part becomes the last * one. `ThinkingChatResponseContent` carries no completion flag of its own, and chunks are * merged into the existing part, so its position in the response is the reliable signal. */ protected isThinking(response: ThinkingChatResponseContent, parentNode?: ResponseNode): boolean; } //# sourceMappingURL=thinking-part-renderer.d.ts.map