/** * Shared HTML helper for marked-extensions packages. * * SOURCE OF TRUTH: packages/.helper/utils/markdown-utils.ts * A verbatim copy of this file is written into each consuming package's `src/` * by `bun run generate:helpers`. Do NOT edit the generated copies — edit here * and re-run the generator. Each copy is bundled inline at build time, so * packages stay self-contained (no cross-package runtime dependency). * * Only genuinely universal helpers belong here. `escapeHtml` is used by every * package; partial-use helpers (e.g. hashId, stripQuotes) stay local to their * users so no package carries code it doesn't call. */ /** * Escapes characters that are unsafe in HTML text/attribute contexts. * @param value - String to escape * @returns HTML-escaped string */ export declare function escapeHtml(value: string): string;