export declare function renderInlineMarkdown(text: string): string; export declare function visibleWidth(str: string): number; /** * Soft-wrap a line that may contain ANSI SGR styles. * Continuation lines re-open any style still active at the break so cyan/bold * etc. never fall back to the default body color mid-phrase. */ export declare function wrapAnsiLine(line: string, maxWidth: number): string[]; export declare function indentAndWrapText(text: string, indent?: string): string; export declare function renderMarkdown(text: string, width?: number): string; export declare function createMarkdownStreamWriter(write: (chunk: string) => void): { push(token: string): void; finish(): void; };