/**
 * MarkdownText Component
 *
 * Renders markdown text with terminal-appropriate styling.
 * Handles both inline markdown (bold, code, italic) and block elements (headers, code blocks, lists).
 *
 * Uses wrap-ansi for proper word wrapping to avoid mid-word splits.
 * Streaming-safe: incomplete markdown tokens won't match regex patterns,
 * so they render as plain text until complete.
 */
import React from 'react';
interface InlineSegment {
    type: 'text' | 'bold' | 'code' | 'italic' | 'strikethrough' | 'link' | 'url';
    content: string;
    url?: string;
}
/**
 * Parse inline markdown and return segments.
 * Uses a single regex to find all inline patterns, processes in order.
 */
declare function parseInlineMarkdown(text: string): InlineSegment[];
interface RenderInlineProps {
    text: string;
    defaultColor?: string;
    /** Apply bold styling to all text segments (used for headers) */
    bold?: boolean;
}
declare const RenderInline: React.NamedExoticComponent<RenderInlineProps>;
interface MarkdownTextProps {
    children: string;
    /** Default text color */
    color?: string;
    /** Optional prefix for first line (e.g., "⏺ " for assistant messages) */
    bulletPrefix?: string;
}
export declare const MarkdownText: React.NamedExoticComponent<MarkdownTextProps>;
export { RenderInline, parseInlineMarkdown };
//# sourceMappingURL=MarkdownText.d.ts.map