/** * Backslash-escape text so `Markdown` / `MarkdownInline` render it as exactly that text: * every character the renderer reads as inline syntax, the `:` that starts a bare-URL or * mailto autolink, and any block marker (heading, quote, list, rule, table, fence) at the * start of a line. */ declare function escapeMarkdown(text: string): string; /** * Strip markdown to the plain text the renderer shows — for search, copy actions, titles and * previews. Escaped characters become literal text; only real syntax is removed, so * `markdownToText(escapeMarkdown(x)) === x`. A code span keeps its source verbatim. */ declare function markdownToText(src: string): string; export { escapeMarkdown, markdownToText };