/** * Lightweight GFM-ish markdown → HTML (no deps). * Escapes HTML by default; safe for untrusted source. */ export declare function escapeHtml(s: string): string; /** Stable heading id for TOC / in-page anchors */ export declare function slugifyHeading(text: string): string; /** * Split a markdown table row on `|`, ignoring pipes inside `inline code` * and treating `\|` as a literal pipe. */ export declare function splitTableRow(row: string): string[]; /** Inline markdown → HTML. */ export declare function renderInline(text: string): string; export type MarkdownRenderOptions = { prefix?: string; }; /** * Convert markdown source to HTML string. */ export declare function renderMarkdown(source: string, _options?: MarkdownRenderOptions): string;