/** * The small HTML a citation processor writes (citeproc-js's `html` output) * as inline spans: ``, ``, ``, ``, the `font-style` / * `font-weight` / `font-variant` spans CSL flip-flops use, `` * links, and character entities. Any other tag is dropped, its text kept. */ import type { InlineSpan } from '../parse/index.js'; /** Character entities of `text` decoded. */ export declare function decodeEntities(text: string): string; /** The spans of a formatted citation or bibliography entry. `base` is * the emphasis of the text around it (a citation in an italic sentence). */ export declare function htmlToSpans(html: string, base?: { bold: boolean; italic: boolean; }): InlineSpan[]; //# sourceMappingURL=html.d.ts.map