import { type DocumentTableAlignment, type DocumentTablePreferredWidth } from './work-document-table-geometry'; import { type DocumentTableRowHeightRule } from './work-document-table-row'; export declare const DOCUMENT_ROW_CHANGE_ATTRIBUTES: readonly ["rowChangeKind", "rowChangeId", "rowChangeAuthor", "rowChangeDate", "rowChangeBefore"]; /** * Prior snapshot for reviewable row-property revisions. * At least one of cantSplit, repeatHeader, height, hidden, alignment, * gridBefore, gridAfter, widthBefore, widthAfter, cnfStyle, divId, or tblCellSpacing must be present. */ export interface DocumentRowFormattingSnapshot { cantSplit?: boolean; repeatHeader?: boolean; height?: DocumentRowFormattingHeight; hidden?: boolean; alignment?: DocumentTableAlignment; gridBefore?: number; gridAfter?: number; widthBefore?: DocumentTablePreferredWidth; widthAfter?: DocumentTablePreferredWidth; cnfStyle?: string; divId?: number; tblCellSpacing?: DocumentTablePreferredWidth; } export interface DocumentRowFormattingHeight { value: number; rule: DocumentTableRowHeightRule; } export declare function serializeDocumentRowFormatting(attributes: { cantSplit?: unknown; repeatHeader?: unknown; height?: unknown; hidden?: unknown; alignment?: unknown; gridBefore?: unknown; gridAfter?: unknown; widthBefore?: unknown; widthAfter?: unknown; cnfStyle?: unknown; divId?: unknown; tblCellSpacing?: unknown; }): string; export declare function parseDocumentRowFormatting(value: unknown): DocumentRowFormattingSnapshot | null; export declare function normalizeDocumentRowFormattingSnapshot(attributes: { cantSplit?: unknown; repeatHeader?: unknown; height?: unknown; hidden?: unknown; alignment?: unknown; gridBefore?: unknown; gridAfter?: unknown; widthBefore?: unknown; widthAfter?: unknown; cnfStyle?: unknown; divId?: unknown; tblCellSpacing?: unknown; }): DocumentRowFormattingSnapshot | null; export declare function clearDocumentRowChangeAttributes(attributes: Record): Record; export declare function restoredDocumentRowAttributes(attributes: Record, serialized: unknown): Record | null; export declare function normalizeDocumentRowFormattingHeight(value: unknown): DocumentRowFormattingHeight | null; export declare function normalizeDocumentRowGridSpan(value: unknown): number | null; /** Non-negative safe-integer HTML div association for w:divId / data-office-row-div-id. */ export declare function normalizeDocumentRowDivId(value: unknown): number | null; /** Parse w:divId: missing/negative/non-integer/malformed fail closed. */ export declare function parseDocxRowDivIdValue(value: string | null | undefined): number | null; /** @deprecated Prefer normalizeDocumentRowGridSpan */ export declare function normalizeDocumentRowGridBefore(value: unknown): number | null; export declare function normalizeDocumentRowGridAfter(value: unknown): number | null;