import { BodyElement, Numbering, StyleSheet } from '../document-model/index.js'; /** * Apply list numbering to a body as a FlowDoc transform (§17.9): walk the * elements (recursing into table cells), advancing list counters and prepending * each numbered paragraph's resolved marker as a leading `listMarker` run, with * level-inherited indents. Shapes and charts do not advance counters. Returns the * body unchanged when there is no numbering. * * @param body The body elements to transform. * @param numbering The parsed numbering definitions, or `undefined`. * @param styles The style sheet, for a paragraph whose numbering comes from * its STYLE (§17.9.24) rather than its own `w:numPr`. * @returns A new body with markers materialized. */ export declare function applyNumbering(body: ReadonlyArray, numbering: Numbering | undefined, styles?: StyleSheet): Array; /** * Apply {@link applyNumbering} to each header/footer band independently (each * gets its own counter state), keyed as in the input map. * * @param hf The header/footer bodies by key, or `undefined`. * @param numbering The parsed numbering definitions, or `undefined`. * @returns A new map with numbering applied (empty when `hf` is empty/absent). */ export declare function applyNumberingToHeadersFooters(hf: ReadonlyMap> | undefined, numbering: Numbering | undefined, styles?: StyleSheet): ReadonlyMap>;