import type { WorkDocumentContent, WorkDocumentGridType, WorkDocumentLnNumRestart, WorkDocumentPgNumChapSep, WorkDocumentPgNumFmt, WorkDocumentSectionBreakType, WorkDocumentSectionLayout, WorkDocumentSectionTextDirection, WorkDocumentSectionVerticalAlign } from './work-types'; export interface WorkDocumentSection { id: string; layout: WorkDocumentSectionLayout; html: string; } export interface DocumentSectionNodeAttributes { id: string; pageSize: WorkDocumentSectionLayout['pageSize']; orientation: WorkDocumentSectionLayout['orientation']; marginTop: number; marginRight: number; marginBottom: number; marginLeft: number; columnCount: number; columnSpacing: number; columnSeparator: boolean; columnLayout: string; breakAfter: WorkDocumentSectionBreakType; headerText: string; footerText: string; showPageNumbers: boolean; pageNumberStart: number | null; pageChrome: string; pageBorders: string; pageMargins: string; pageGeometry: string; paperSource: string; documentGridType: WorkDocumentGridType | ''; documentGridLinePitch: number | null; documentGridCharSpace: number | null; lnNumCountBy: number | null; lnNumStart: number | null; lnNumDistance: number | null; lnNumRestart: WorkDocumentLnNumRestart | ''; pgNumFmt: WorkDocumentPgNumFmt | ''; pgNumStart: number | null; pgNumChapStyle: number | null; pgNumChapSep: WorkDocumentPgNumChapSep | ''; formProt: boolean | null; noEndnote: boolean | null; verticalAlign: WorkDocumentSectionVerticalAlign | ''; textDirection: WorkDocumentSectionTextDirection | ''; bidi: boolean | null; footnotePr: string; endnotePr: string; propertyRevisionOmml: string; sectionChangeKind: 'section-formatting' | null; sectionChangeId: string; sectionChangeAuthor: string; sectionChangeDate: string; sectionChangeBefore: string; } export declare function documentInitialSectionLayout(content: WorkDocumentContent): WorkDocumentSectionLayout; export declare function normalizeDocumentHtml(content: WorkDocumentContent): string; export declare function documentSections(content: WorkDocumentContent): WorkDocumentSection[]; export declare function documentSectionNodeAttributes(layout: WorkDocumentSectionLayout, id: string): DocumentSectionNodeAttributes; export declare function documentSectionLayoutFromNodeAttributes(attributes: Partial, fallback?: WorkDocumentSectionLayout): WorkDocumentSectionLayout; export declare function documentSectionDomAttributes(layout: WorkDocumentSectionLayout, id: string): Record; export declare function documentSectionLayoutFromElement(element: HTMLElement, fallback: WorkDocumentSectionLayout): WorkDocumentSectionLayout; export declare function syncDocumentContentFromHtml(content: WorkDocumentContent, html: string): WorkDocumentContent; export declare function documentContentLayoutProperties(layout: WorkDocumentSectionLayout): Omit;