import { type WorkDocumentContentControlProperties } from './work-document-content-control'; export interface ImportedDocxContentControlMarker { start: string; end: string; properties: WorkDocumentContentControlProperties; } export interface ImportedDocxContentControlMarkers { controls: ImportedDocxContentControlMarker[]; unsupported: number; } export interface DocxContentControlInspection { supported: number; unsupported: number; } /** * Inspects body-level inline `w:sdt` controls without changing the package. * Structural controls such as TOC/INDEX are left to their dedicated * importers, so they are not reported as unsupported form controls here. */ export declare function inspectDocxContentControls(document: Document): DocxContentControlInspection; /** * Moves the bounded inline control body into ordinary runs and surrounds it * with text markers. Mammoth can then convert the runs normally; the markers * are wrapped back into an editable HTML node after conversion. */ export declare function markDocxContentControls(document: Document): ImportedDocxContentControlMarkers; export declare function applyImportedDocxContentControlMarkers(document: Document, markers: ImportedDocxContentControlMarkers): void; export declare function hasImportedDocxContentControlMarkers(markers: ImportedDocxContentControlMarkers): boolean;