/** * Header and footer part emitters. * * Each declared header/footer slot (default / first / even) becomes its own * part — word/headerN.xml or word/footerN.xml — registered with a * content-type override and a relationship from the main document part. The * block content reuses the same paragraph/run emitters as the body, so a * footer's "Page X of Y" field compiles through exactly the same five-part * field machinery. * * @conformance ECMA-376 edition 5, Part 1 § 17.10.4 */ import type { CompileContext } from '../context.js'; import type { DocumentSpec } from '../types.js'; import type { BlockEmitContext } from './emit-context.js'; import type { SectionHeaderFooterRefs } from './section.js'; /** * Allocate and emit every header/footer part, returning per-section * reference maps for the sectPr emitter. Runs before the document part so * relationship ids exist when sections bind their references. */ export declare function emitHeaderFooterParts(spec: DocumentSpec, ctx: CompileContext, blockCtx?: BlockEmitContext): SectionHeaderFooterRefs[]; //# sourceMappingURL=header-footer-part.d.ts.map