/** * Renders a small markdown subset into Telegram's HTML parse-mode subset. * * Telegram HTML supports only: , , , , ,
, .
 * Everything else must be escaped — and diablo's messages are full of file
 * paths, SHAs, and code, so getting <, >, & right is the whole game. HTML is
 * chosen over MarkdownV2 because MarkdownV2's escaping is brittle for exactly
 * that kind of content (this matches the approach used in pigram).
 *
 * Strategy: extract code blocks and inline code FIRST (their contents are
 * escaped but never interpreted as markup), substituting placeholders; apply
 * the inline rules (bold/italic/link/heading) and escape the rest; then restore
 * the code segments. Pure (no I/O) so it is unit-tested directly.
 */
export declare function renderTelegramHtml(markdown: string): string;