import { EditorMode } from '../Toolbars/Complex';
/**
 * Markdown → HTML renderer. Block-level: ATX headings (#/##/###/####),
 * fenced code blocks (```), blockquotes (>), unordered lists (- / *),
 * ordered lists (1. ), horizontal rule (---), paragraphs (blank-line
 * separated). Inline: bold, italic, strikethrough, code, links, images.
 *
 * Not goal: 100% CommonMark conformance. Goal: a competent renderer for
 * rich-text site blocks and inline doc-style content. ReDoS-safe — every
 * pattern uses a negated character class instead of unbounded greedy.
 *
 * Older shape (single-pass regex chain that wrapped everything in <p>
 * and emitted one <ul> per list item) has been replaced with a
 * line-by-line block-aware walker so consecutive list items collapse
 * into one <ul>/<ol> and paragraphs separate properly on blank lines.
 */
export declare function mdToHtml(md: string): string;
export declare function convertValue(value: string, fromMode: EditorMode, toMode: EditorMode): string;
//# sourceMappingURL=conversion.d.ts.map