/**
 * Markdown renderer for terminal output.
 * Converts markdown to ANSI-formatted text using chalk.
 * Shared between Ink UI and basic terminal UI.
 *
 * Features beyond basic markdown:
 * - Language labels on code blocks (```ts → TS)
 * - Numbered list support
 * - Nested blockquotes
 * - Task lists (- [x] done, - [ ] todo)
 */
/**
 * Render markdown for a *streaming* buffer: everything up to the last newline
 * is treated as complete and rendered with full inline formatting; the
 * trailing partial line is returned as plain text.
 *
 * Why this exists: running `renderInline` over a half-written `**bold`,
 * ``code`` , or `[link](` pair produces broken/unbalanced ANSI, which Ink's
 * word-wrap then mangles around the wrap boundary (observed as `1mMusic` /
 * `[Epidemic Sound (https://…)` in terminal output). Keeping the unfinished
 * line plain until a newline arrives avoids the mid-regex failure mode with
 * zero latency penalty — the partial line re-renders on the very next delta.
 */
export declare function renderMarkdownStreaming(text: string): {
    rendered: string;
    partial: string;
};
/**
 * Render a complete markdown string to ANSI-colored terminal output.
 */
export declare function renderMarkdown(text: string): string;
