import { type DocumentCellFormattingBorders } from './work-document-table-formatting-borders'; import { type DocumentTableCellHMerge, type DocumentTableCellVMerge, type DocumentTableCellTextDirection, type DocumentTableVerticalAlign } from './work-document-table-cell-formatting'; import { type DocumentTableCellMarginOverrides, type DocumentTablePreferredWidth } from './work-document-table-geometry'; export declare const DOCUMENT_CELL_CHANGE_ATTRIBUTES: readonly ["cellChangeKind", "cellChangeId", "cellChangeAuthor", "cellChangeDate", "cellChangeBefore"]; export type { DocumentTableCellHMerge, DocumentTableCellVMerge, DocumentTableCellTextDirection, } from './work-document-table-cell-formatting'; export { normalizeDocumentTableCellHMerge, normalizeDocumentTableCellVMerge, normalizeDocumentTableCellGridSpan, normalizeDocumentTableCellTextDirection, } from './work-document-table-cell-formatting'; /** * Prior snapshot for reviewable cell-property revisions. * At least one of verticalAlign, fill, margins, width, noWrap, textDirection, * fitText, hideMark, cnfStyle, hMerge, vMerge, gridSpan, or borders must be present. */ export interface DocumentCellFormattingSnapshot { verticalAlign?: DocumentTableVerticalAlign; fill?: string; margins?: DocumentTableCellMarginOverrides; width?: DocumentTablePreferredWidth; noWrap?: boolean; textDirection?: DocumentTableCellTextDirection; fitText?: boolean; hideMark?: boolean; cnfStyle?: string; hMerge?: DocumentTableCellHMerge; vMerge?: DocumentTableCellVMerge; gridSpan?: number; borders?: DocumentCellFormattingBorders; } export type { DocumentCellFormattingBorders } from './work-document-table-formatting-borders'; export declare function serializeDocumentCellFormatting(attributes: { verticalAlign?: unknown; fill?: unknown; margins?: unknown; width?: unknown; noWrap?: unknown; textDirection?: unknown; fitText?: unknown; hideMark?: unknown; cnfStyle?: unknown; hMerge?: unknown; vMerge?: unknown; gridSpan?: unknown; borders?: unknown; }): string; export declare function parseDocumentCellFormatting(value: unknown): DocumentCellFormattingSnapshot | null; export declare function normalizeDocumentCellFormattingSnapshot(attributes: { verticalAlign?: unknown; fill?: unknown; margins?: unknown; width?: unknown; noWrap?: unknown; textDirection?: unknown; fitText?: unknown; hideMark?: unknown; cnfStyle?: unknown; hMerge?: unknown; vMerge?: unknown; gridSpan?: unknown; borders?: unknown; }): DocumentCellFormattingSnapshot | null; export declare function clearDocumentCellChangeAttributes(attributes: Record): Record; export declare function restoredDocumentCellAttributes(attributes: Record, serialized: unknown): Record | null; export declare function preferredWidthFromCellAttributes(attributes: Record): DocumentTablePreferredWidth | null;