import { type Component } from '@earendil-works/pi-tui'; export declare class ContextMessageComponent implements Component { private readonly body; private readonly dim; private readonly label; private readonly labelText; private readonly collapsedHint; private expanded; constructor(body: string, expanded: boolean, dim: (s: string) => string, label: (s: string) => string, labelText?: string, collapsedHint?: string); /** Ctrl+O global tool-output toggle (ChatView.isExpandable duck-type). */ setExpanded(expanded: boolean): void; render(width: number): string[]; invalidate(): void; }