import { LitElement } from 'lit'; /** * A single transcript entry rendered as a chat bubble. * * The optional `meta` field carries rich content from the AI. */ export interface TranscriptEntry { id: string; type: 'user' | 'agent' | 'system'; state: 'partial' | 'complete'; text: string; meta?: TranscriptEntryMeta; } /** Rich content attached to a transcript entry. */ export interface TranscriptEntryMeta { /** Clickable links. */ links?: { label: string; url: string; }[]; /** Code snippet. */ code?: { language?: string; content: string; }; /** * Content that the agent pushed via a `display_content` user_event. * Stored here so the download serializer can include the full payload. */ displayContent?: { title?: string; content: string; format: 'text' | 'markdown' | 'code' | 'html'; language?: string; }; } export declare class SwUiTranscriptView extends LitElement { static styles: import("lit").CSSResult[]; entries: TranscriptEntry[]; header: string; emptyText: string; private _codeCache; private _lastEntryCount; protected updated(changed: Map): void; private _highlightNewEntries; private _downloadTranscript; private _autoScroll; private _renderCode; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'sw-ui-transcript-view': SwUiTranscriptView; } } //# sourceMappingURL=sw-ui-transcript-view.d.ts.map