import { Box, type MarkdownTheme } from "@caupulican/pi-tui"; import { type TitleBadgeSegment } from "./tool-title.ts"; export interface ExpandableMarkdownMessageOptions { label: string; expandedMarkdown: () => string; collapsedSegments?: TitleBadgeSegment[]; collapsedDetails?: TitleBadgeSegment[]; separateBody: boolean; } /** Shared expansion, invalidation, and themed rendering lifecycle for transcript markdown notices. */ export declare class ExpandableMarkdownMessageComponent extends Box { private expanded; private expandedMarkdown; private readonly markdownTheme; private readonly options; constructor(options: ExpandableMarkdownMessageOptions, markdownTheme: MarkdownTheme); setExpanded(expanded: boolean): void; invalidate(): void; private updateDisplay; } //# sourceMappingURL=expandable-markdown-message.d.ts.map