import { type ImportedDocxBookmarkMarkers } from './work-docx-bookmark-import'; import { type ImportedDocxCaptionMarkers } from './work-docx-caption-import'; import { type ImportedDocxChangeMarkers } from './work-docx-change-import'; import { type ImportedDocxCitationMarkers } from './work-docx-citation-import'; import { type ImportedDocxCommentMarkers } from './work-docx-comment-import'; import { type ImportedDocxContentControlMarkers } from './work-docx-content-control-import'; import { type ImportedDocxConnectorMarkers } from './work-docx-connector-import'; import { type ImportedDocxEquationMarkers } from './work-docx-equation-import'; import { type ImportedDocxFieldMarkers } from './work-docx-field-import'; import { type ImportedDocxImageLayoutMarkers } from './work-docx-image-layout-import'; import { type ImportedDocxIndexMarkers } from './work-docx-index-import'; import { type ImportedDocxListMarkers } from './work-docx-list-import'; import { type ImportedDocxNumberingChangeMarkers } from './work-docx-numbering-change-import'; import { type ImportedDocxParagraphAlignmentMarkers } from './work-docx-paragraph-alignment-import'; import { type ImportedDocxParagraphBorderMarkers } from './work-docx-paragraph-borders-import'; import { type ImportedDocxParagraphDirectionMarkers } from './work-docx-paragraph-direction-import'; import { type ImportedDocxParagraphFormattingChangeMarkers } from './work-docx-paragraph-format-change-import'; import { type ImportedDocxParagraphIdentityMarkers } from './work-docx-paragraph-identity-import'; import { type ImportedDocxParagraphIndentMarkers } from './work-docx-paragraph-indent-import'; import { type ImportedDocxParagraphBreakChangeMarkers, type ImportedDocxParagraphMarkChangeMarkers } from './work-docx-paragraph-mark-change-import'; import { type ImportedDocxParagraphPaginationMarkers } from './work-docx-paragraph-pagination-import'; import { type ImportedDocxParagraphShadingMarkers } from './work-docx-paragraph-shading-import'; import { type ImportedDocxParagraphSpacingMarkers } from './work-docx-paragraph-spacing-import'; import { type ImportedDocxRunFormattingMarkers } from './work-docx-run-formatting-import'; import { type ImportedDocxParagraphTabStopMarkers } from './work-docx-tab-stop-import'; import { type ImportedDocxTableCellMarkers } from './work-docx-table-cell-import'; import { type ImportedDocxTableOfContentsMarkers } from './work-docx-table-of-contents-import'; import { type ImportedDocxTableRowMarkers } from './work-docx-table-row-import'; import { type ImportedDocxTableSizingMarkers } from './work-docx-table-sizing-import'; import { type ImportedDocxTextBoxMarkers } from './work-docx-text-box-import'; import { OoxmlPackage } from './work-ooxml-package'; import type { WorkDocumentContent, WorkDocumentSectionLayout } from './work-types'; type ImportedDocumentLayout = Omit; export interface PreparedDocxImport { conversionBuffer: ArrayBuffer; sections: Array<{ id: string; layout: WorkDocumentSectionLayout; }>; pageColor?: string; captionMarkers: ImportedDocxCaptionMarkers; bookmarkMarkers: ImportedDocxBookmarkMarkers; changeMarkers: ImportedDocxChangeMarkers; commentMarkers: ImportedDocxCommentMarkers; fieldMarkers: ImportedDocxFieldMarkers; tableOfContentsMarkers: ImportedDocxTableOfContentsMarkers; indexMarkers: ImportedDocxIndexMarkers; equationMarkers: ImportedDocxEquationMarkers; citationMarkers: ImportedDocxCitationMarkers; listMarkers: ImportedDocxListMarkers; numberingChangeMarkers: ImportedDocxNumberingChangeMarkers; imageLayoutMarkers: ImportedDocxImageLayoutMarkers; textBoxMarkers: ImportedDocxTextBoxMarkers; connectorMarkers: ImportedDocxConnectorMarkers; contentControlMarkers: ImportedDocxContentControlMarkers; paragraphIdentityMarkers: ImportedDocxParagraphIdentityMarkers; paragraphFormattingChangeMarkers: ImportedDocxParagraphFormattingChangeMarkers; paragraphMarkChangeMarkers: ImportedDocxParagraphMarkChangeMarkers; paragraphBreakChangeMarkers: ImportedDocxParagraphBreakChangeMarkers; paragraphAlignmentMarkers: ImportedDocxParagraphAlignmentMarkers; paragraphDirectionMarkers: ImportedDocxParagraphDirectionMarkers; paragraphIndentMarkers: ImportedDocxParagraphIndentMarkers; paragraphPaginationMarkers: ImportedDocxParagraphPaginationMarkers; paragraphBorderMarkers: ImportedDocxParagraphBorderMarkers; paragraphShadingMarkers: ImportedDocxParagraphShadingMarkers; paragraphSpacingMarkers: ImportedDocxParagraphSpacingMarkers; runFormattingMarkers: ImportedDocxRunFormattingMarkers; tabStopMarkers: ImportedDocxParagraphTabStopMarkers; tableCellMarkers: ImportedDocxTableCellMarkers; tableRowMarkers: ImportedDocxTableRowMarkers; tableSizingMarkers: ImportedDocxTableSizingMarkers; bibliography?: WorkDocumentContent['bibliography']; trackChanges: boolean; } export declare function prepareDocxImport(buffer: ArrayBuffer, sourcePackage?: OoxmlPackage): Promise; export declare function applyDocxSectionsToHtml(html: string, sections: PreparedDocxImport['sections'], captionMarkers?: ImportedDocxCaptionMarkers, bookmarkMarkers?: ImportedDocxBookmarkMarkers, changeMarkers?: ImportedDocxChangeMarkers, commentMarkers?: ImportedDocxCommentMarkers, fieldMarkers?: ImportedDocxFieldMarkers, tableOfContentsMarkers?: ImportedDocxTableOfContentsMarkers, indexMarkers?: ImportedDocxIndexMarkers, equationMarkers?: ImportedDocxEquationMarkers, citationMarkers?: ImportedDocxCitationMarkers, listMarkers?: ImportedDocxListMarkers, numberingChangeMarkers?: ImportedDocxNumberingChangeMarkers, imageLayoutMarkers?: ImportedDocxImageLayoutMarkers, paragraphIdentityMarkers?: ImportedDocxParagraphIdentityMarkers, paragraphFormattingChangeMarkers?: ImportedDocxParagraphFormattingChangeMarkers, paragraphMarkChangeMarkers?: ImportedDocxParagraphMarkChangeMarkers, paragraphBreakChangeMarkers?: ImportedDocxParagraphBreakChangeMarkers, paragraphAlignmentMarkers?: ImportedDocxParagraphAlignmentMarkers, runFormattingMarkers?: ImportedDocxRunFormattingMarkers, paragraphDirectionMarkers?: ImportedDocxParagraphDirectionMarkers, paragraphIndentMarkers?: ImportedDocxParagraphIndentMarkers, paragraphSpacingMarkers?: ImportedDocxParagraphSpacingMarkers, paragraphBorderMarkers?: ImportedDocxParagraphBorderMarkers, paragraphShadingMarkers?: ImportedDocxParagraphShadingMarkers, paragraphPaginationMarkers?: ImportedDocxParagraphPaginationMarkers, bibliography?: WorkDocumentContent['bibliography'], tabStopMarkers?: ImportedDocxParagraphTabStopMarkers, tableCellMarkers?: ImportedDocxTableCellMarkers, tableRowMarkers?: ImportedDocxTableRowMarkers, tableSizingMarkers?: ImportedDocxTableSizingMarkers, textBoxMarkers?: ImportedDocxTextBoxMarkers, connectorMarkers?: ImportedDocxConnectorMarkers, contentControlMarkers?: ImportedDocxContentControlMarkers): string; export declare function readDocxLayout(buffer: ArrayBuffer): Promise; export {};