/** * DOCX Writers - CheckBox * * Renders checkbox as a structured document tag (SDT) with w14:checkbox. * * Per ECMA-376 Part 4 §17.5.2.41 the `w14:checkedState/@w14:val` attribute * holds a 4-digit hexadecimal Unicode code point. We persist that hex form * verbatim into the `w14:val` attribute, but the displayed glyph is rendered * by converting to the actual character. To stay forgiving we accept both * the canonical hex form (e.g. `"2612"`) and a literal glyph form (e.g. * `"☒"`) on the input side, normalising both to a hex string for the * attribute and the actual glyph for the displayed run. */ import type { XmlSink } from "../../xml/types.js"; import type { CheckBox } from "../types.js"; /** Render a checkbox as a paragraph with SDT. */ export declare function renderCheckBox(xml: XmlSink, cb: CheckBox): void;