/** * DOM-based Markup Parser (raw-only) * * Converts a block element's childNodes into ContentUnit by walking the * DOM. Every inline element becomes an indexed tag whose style is the * verbatim opening tag in canonical form (see content/canonical-tag.ts). * * Mirrors the regex-based parser in `content/parser/MarkupParser.ts` and * the edge proxy parser, producing byte-identical text + styles for the * same source so translation keys match across boundaries. */ import type { ContentUnit } from '../content/types.js'; /** * Parse a block element into ContentUnit using DOM walking. */ export declare function parseBlockElement(element: Element): ContentUnit; //# sourceMappingURL=markup-parser.d.ts.map