/** @jsxImportSource @opentui/react */ /** * Renders a `ThinkingItem` (CHAT-006, V2-053). * * Live stream: while the model is still reasoning (`item.streaming`), the body * is always shown so the user sees live progress — regardless of the global * thinking toggle (Ctrl+T). After the block is finalized, the body follows the * global Ctrl+T toggle (or a per-block override from clicking the header). * * Placement: thinking rows always precede the ◆ Response / tool cards for * the same model step (agent emits thinking-block before assistant-message * and tool-call). Violet accent distinguishes reasoning from green replies. */ import { type ReactNode } from "react"; import type { ThinkingItem } from "../../../ui-core/state/transcript-types.js"; import type { Theme } from "../../../ui-core/rendering/theme.js"; export declare function ThinkingBlock(props: { item: ThinkingItem; theme: Theme; expanded: boolean; /** Chat-pane columns (plan split/overlay already subtracted). */ contentWidth?: number | undefined; onToggle: () => void; }): ReactNode;