/** * TUI component for rendering OM observation markers in chat history. * Supports updating in-place (start → end/failed). */ import { Container } from '@mariozechner/pi-tui'; export type OMMarkerData = { type: 'om_observation_start'; tokensToObserve: number; operationType?: 'observation' | 'reflection'; } | { type: 'om_observation_end'; tokensObserved: number; observationTokens: number; durationMs: number; operationType?: 'observation' | 'reflection'; } | { type: 'om_observation_failed'; error: string; tokensAttempted?: number; operationType?: 'observation' | 'reflection'; } | { type: 'om_buffering_start'; operationType: 'observation' | 'reflection'; tokensToBuffer: number; } | { type: 'om_buffering_end'; operationType: 'observation' | 'reflection'; tokensBuffered: number; bufferedTokens: number; observations?: string; } | { type: 'om_buffering_failed'; operationType: 'observation' | 'reflection'; error: string; } | { type: 'om_activation'; operationType: 'observation' | 'reflection'; tokensActivated: number; observationTokens: number; activationCount?: number; activateAfterIdle?: number; } | { type: 'om_activation_provider_change'; previousModel: string; currentModel: string; } | { type: 'om_thread_title_updated'; oldTitle?: string; newTitle: string; }; /** * Renders an inline OM observation marker in the chat history. * Can be updated in-place to transition from start → end/failed. */ export declare class OMMarkerComponent extends Container { private textChild; constructor(data: OMMarkerData); /** * Update the marker in-place (e.g., from start → end). */ update(data: OMMarkerData): void; } //# sourceMappingURL=om-marker.d.ts.map