import { type WorkDocumentRepeatingSectionItemProperties, type WorkDocumentRepeatingSectionProperties } from './work-document-repeating-section'; export interface ImportedDocxRepeatingSectionItemMarker { start: string; end: string; properties: WorkDocumentRepeatingSectionItemProperties; } export interface ImportedDocxRepeatingSectionMarker { start: string; end: string; properties: WorkDocumentRepeatingSectionProperties; items: ImportedDocxRepeatingSectionItemMarker[]; } export interface ImportedDocxRepeatingSectionMarkers { sections: ImportedDocxRepeatingSectionMarker[]; unsupported: number; } export interface DocxRepeatingSectionInspection { supported: number; unsupported: number; } /** * Inspects body-level repeating sections without mutating the package. * Nested or multi-paragraph items stay unsupported. */ export declare function inspectDocxRepeatingSections(document: Document): DocxRepeatingSectionInspection; /** * Replaces admitted repeating sections with paragraph markers so Mammoth can * convert item bodies, then wraps them back into editable HTML nodes. */ export declare function markDocxRepeatingSections(document: Document): ImportedDocxRepeatingSectionMarkers; export declare function applyImportedDocxRepeatingSectionMarkers(document: Document, markers: ImportedDocxRepeatingSectionMarkers): void; export declare function hasImportedDocxRepeatingSectionMarkers(markers: ImportedDocxRepeatingSectionMarkers): boolean;