import type { Document } from '@xmldom/xmldom'; import type { NumberingSnapshot } from './numbering-counters.js'; /** * Materialize numeric REF results in the disposable DOM BEFORE cloning list * instances. No IO; all fields/targets/labels preflight before the first edit. * Microsoft switch semantics: MS-OE376 2.1.523, sections c/e/f: * https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oe376/20bc6d15-ba77-479f-82f4-db3cf7447334 * The disposable LibreOffice render policy uses the previous numbered snapshot * for an unnumbered source paragraph; no preceding snapshot means empty context. * Combined numeric switches use LibreOffice precedence r > n > w. The t switch * follows Microsoft Word's literal-text suppression (an explicit interop fix, * because native LibreOffice ignores t), with ASCII literal words supported. * English ordinalText is bounded to 1..20 with verified inherited language. * Historical Microsoft-authored switch documentation: * https://documentation.help/MS-Office-Word-2003/worefBOOKMARK1.htm */ export declare function materializeNumberingReferences(document: Document, snapshots: NumberingSnapshot[], styles?: Document): number; //# sourceMappingURL=numbering-render-references.d.ts.map