import { type WorkDocumentRepeatingSectionItemProperties, type WorkDocumentRepeatingSectionProperties } from './work-document-repeating-section'; export interface DocxRepeatingSectionPatch { startMarker: string; endMarker: string; properties: WorkDocumentRepeatingSectionProperties; items: Array<{ startMarker: string; endMarker: string; properties: WorkDocumentRepeatingSectionItemProperties; }>; } export declare class DocxRepeatingSectionPatchCollector { readonly patches: DocxRepeatingSectionPatch[]; private nextMarker; register(properties: WorkDocumentRepeatingSectionProperties, items: readonly WorkDocumentRepeatingSectionItemProperties[]): DocxRepeatingSectionPatch; } /** Emits temporary marker paragraphs for a repeating-section HTML block. */ export declare function docxRepeatingSectionParagraphs(element: HTMLElement, docx: typeof import('docx'), collector: DocxRepeatingSectionPatchCollector, itemParagraphs: Array>): Array>; /** * Replaces generated repeating-section marker paragraphs with native body-level * `w15:repeatingSection` / `w15:repeatingSectionItem` controls. */ export declare function patchDocxRepeatingSections(buffer: ArrayBuffer, patches: readonly DocxRepeatingSectionPatch[]): Promise;