import type { EditorState, Transaction } from '@tiptap/pm/state'; import type { WorkDocumentChangeIdentity } from './work-document-changes'; interface DocumentSectionFormattingTrackingOptions { createChange: () => WorkDocumentChangeIdentity; } /** * When track-changes is on, section orientation, page-geometry, page-margin, * paper-source, equal-width or unequal-width column, different-first-page, * rtlGutter, document-grid, line-number (lnNumType), page-number * (pgNumType), formProt, noEndnote, verticalAlign, textDirection, bidi, * footnotePr, endnotePr, breakAfter (`w:type`), and/or pageBorders * (`w:pgBorders`) edits become reviewable `section-formatting` revisions. * Companion `pageGeometry` / `pageSize` * swaps that follow orientation or geometry edits are allowed; other section * layout fields must stay unchanged. */ export declare function trackDocumentSectionFormattingTransaction(transaction: Transaction, state: EditorState, options: DocumentSectionFormattingTrackingOptions): boolean; export {};