/** * DOCX Writers - Math / Equations (OMML) * * Renders Office Math Markup Language elements (m:oMath). */ import type { XmlSink } from "../../xml/types.js"; import type { MathBlock } from "../types.js"; /** * Render a math block (`m:oMathPara` containing one `m:oMath`). * * The OOXML schema only allows `m:oMathPara` inside a paragraph * (`EG_PContent` includes `m:oMathPara`); it must not appear directly as * a `EG_BlockLevelElts`. We therefore wrap it in `` so the result is * valid at the body level. * * Empty math blocks (`content.length === 0`) skip rendering altogether — * an empty `` violates the schema (it requires at least one * `OMathArg` child). */ export declare function renderMathBlock(xml: XmlSink, math: MathBlock): void;