/** * Accumulates streamed markdown text and renders it to the terminal * with ANSI formatting (bold, italic, code blocks, etc.). * * Strategy: accumulate full text, re-render on each write, output only * the newly rendered portion. Completed blocks (separated by double * newlines) are "committed" so re-rendering only processes the tail. * @docLink packages/runner/dev-guide#agent-chat-single-shot */ export declare class MarkdownStreamer { private buffer; private committedSource; private committedRender; private output; constructor(output?: NodeJS.WriteStream); write(chunk: string): void; /** Render any remaining content and reset state. */ end(): void; private flush; private render; } //# sourceMappingURL=markdown-stream.d.ts.map