import type { DocumentParagraphPagination } from './work-document-paragraph-formatting'; import { type DocxParagraphStyleSource } from './work-docx-paragraph-styles'; import { type DocxTableStyleSource } from './work-docx-table-styles'; export interface ImportedDocxParagraphPaginationMarker { marker: string; pagination: ImportedDocxParagraphPagination; } export type ImportedDocxParagraphPagination = Partial & { contextualSpacing?: boolean; defaultCollapsed?: boolean; outlineLevel?: number; }; export interface ImportedDocxParagraphPaginationMarkers { paragraphs: ImportedDocxParagraphPaginationMarker[]; } export declare function markDocxParagraphPagination(document: Document, styleSource?: DocxParagraphStyleSource, tableStyleSource?: DocxTableStyleSource): ImportedDocxParagraphPaginationMarkers; export declare function applyImportedDocxParagraphPaginationMarkers(document: Document, markers: ImportedDocxParagraphPaginationMarkers): void; export declare function hasImportedDocxParagraphPaginationMarkers(markers: ImportedDocxParagraphPaginationMarkers): boolean; export declare function resolveDocxParagraphPagination(sources: readonly Element[]): ImportedDocxParagraphPagination;