/**
 * Minimal markdown → HTML renderer for LLM output. Handles fenced code
 * blocks, inline code, bold, italic, links, lists, headings, and
 * paragraphs. No external dependencies.
 *
 * Fenced code blocks with a language identifier emit `<code-ui
 * language="…">…</code-ui>` so the syntax-highlight upgrade picks them
 * up automatically (see SPEC-CODE-EDITOR-001). Unlabeled fences keep
 * the bare `<pre><code>…</code></pre>` form.
 *
 * Runtime exports mirror `core/markdown.js`. `.d.ts` authored in v0.5.6
 * §191 to close the §178 audit-script baseline missing-sibling gap.
 *
 * @see ./markdown.js (runtime SoT)
 */

/**
 * Render a markdown source string to HTML.
 *
 * The output is a sanitized HTML string suitable for direct
 * `element.innerHTML` assignment — text content is HTML-escaped before
 * inline formatting is applied. Consumer is responsible for any
 * additional context-specific sanitization (e.g. URL-scheme allowlisting
 * for the link targets).
 */
export function renderMarkdown(src: string): string;
