import { ThemeIcon } from "../../../../../../base/common/themables.js"; import { ChatCollapsibleContentPart } from "./chatCollapsibleContentPart.js"; /** * A collapsible row styled like the "Thinking" row: a status dot and shimmering * title while it is working, a checkmark once it settles, and an indented list * of items as its body. * * Subclasses own *what* the row says; this owns how it looks and how its header * reflects working/settled state. */ export declare abstract class ChatThinkingStyleContentPart extends ChatCollapsibleContentPart { private _thinkingActive; private _shimmerSpan; private readonly _shimmerTitleAnimation; private readonly _spinnerAnimation; /** Whether the row is still working. */ protected get thinkingActive(): boolean; protected init(): HTMLElement; /** * Marks the row as working or settled, updating the status class and icon. * Safe to call before the row is rendered. */ protected setThinkingActive(active: boolean): void; /** * The header icon for a given state. The default settles to a checkmark and * shows a status dot while working; override to vary while working. */ protected getThinkingIcon(active: boolean, _expanded: boolean): ThemeIcon; /** * Renders the title as a shimmering span, reusing the existing one so the * animation does not restart on every update. */ protected setShimmerTitle(text: string): void; /** * Drops the reference to the shimmering title, for callers that rebuild the * label as static content. Does not touch the DOM. */ protected forgetShimmerTitle(): void; /** The indented list that thinking-style rows put their items in. */ protected createThinkingBody(): HTMLElement; /** A single body row, prefixed with the chain-of-thought dot. */ protected createThinkingRow(icon?: ThemeIcon): HTMLElement; /** * The shimmering "still working" row that tails the body. The label is * returned so callers can cycle its message while the row lives. */ protected createThinkingSpinnerRow(message: string): { readonly row: HTMLElement; readonly label: HTMLElement; }; protected removeThinkingSpinnerRow(row: HTMLElement): void; } export declare function createThinkingIcon(icon: ThemeIcon): HTMLElement;