/** * Auto-generated HTML entity mappings for CommonMark compliance * Source: data/entities.json (vendored from https://html.spec.whatwg.org/entities.json) * Generated by scripts/generate-entities.ts * * Simple object mapping entity names to Unicode characters. * Stores only lowercase versions when case variants map to the same Unicode (saves ~8.8 KB). * Case-sensitive entities (where uppercase/lowercase differ) are stored with both keys. */ declare const NAMED_CODES_TO_UNICODE: Record; /** * Decode a named entity using the lookup table. * Returns the decoded character or undefined if not found. * This function enables browser builds to swap in DOM-based decoding. */ declare function decodeEntity(name: string): string | undefined; export { decodeEntity, NAMED_CODES_TO_UNICODE };