import type { OutputEvent, SubagentProgressMeta } from '../../agent/types.js'; import type { Message } from '../../agent/types/message-types.js'; import { TerminalCompositor } from '../terminal-compositor.js'; export type { StreamRendererOptions } from './stream-renderer-options.js'; import type { StreamRendererOptions } from './stream-renderer-options.js'; export declare class StreamRenderer { private readonly out; private readonly thinkingMode; private readonly isTTY; private readonly captureMode; private readonly reducedMotion; private readonly onCancel; private readonly onBackground; private readonly activeSkillName; private readonly history; private readonly autocompleteState; private readonly promptText; private readonly scrollRegion; private readonly onStageChange; private ownsCompositor; private borrowedCompositor; private priorOnCancel; private interrupting; private softStopping; private readonly coordinator; private compositor; private overlayComposer; private streamingMarkdownRef; private toolLane; private thinkingLane; private stageTracker; private sources; private subagentMarkdown; private lastProgressByTask; private childActivity; private inFlightTools; private disposed; private toolLaneFlash; private pauseTickInterval; private resizeUnsub; private subagentTickInterval; private activeSubagents; private subagentStartedAt; private lastSubagentTotalSec; private readonly ttfbStartedAt; private ttfbDone; private lastTtfbAnnotation; private readonly addPreviewDiffRef; readonly sink: (event: OutputEvent, meta?: SubagentProgressMeta) => void; constructor(opts: StreamRendererOptions); arm(): Promise; getCompositor(): TerminalCompositor | null; private deferFlush; setInterrupting(active: boolean): void; setSoftStopping(active: boolean): void; stripPendingTerminalState(headingOffset: number): boolean; getPendingBuffer(): string; setBashOutputTail(toolUseId: string, tail: string | undefined): void; notifyFirstContent(): void; private buildOrchestratorCtx; process(event: OutputEvent, meta?: SubagentProgressMeta): void; dispose(): Promise; private checkPauseAnnotations; } export type { Message };