export type DocumentTableLayoutAlgorithm = 'autofit' | 'fixed'; export type DocumentTablePreferredWidthType = 'auto' | 'percent' | 'pixels'; export type DocumentTableAlignment = 'left' | 'center' | 'right'; export type DocumentTableLayoutMode = 'window' | 'contents' | 'fixed'; export type DocumentTableCellMarginSide = 'top' | 'right' | 'bottom' | 'left'; export interface DocumentTablePreferredWidth { type: DocumentTablePreferredWidthType; value: number | null; } export interface DocumentTableCellMargins { top: number; right: number; bottom: number; left: number; } export type DocumentTableCellMarginOverrides = Partial; export interface DocumentTableGeometry { layout: DocumentTableLayoutAlgorithm; width: DocumentTablePreferredWidth; alignment: DocumentTableAlignment; indent: number; cellMargins: DocumentTableCellMargins; } export type DocumentTableProperties = Pick; export declare const DEFAULT_DOCUMENT_TABLE_CELL_MARGINS: DocumentTableCellMargins; export declare const DEFAULT_DOCUMENT_TABLE_GEOMETRY: DocumentTableGeometry; export declare function normalizeDocumentTableGeometry(value: unknown, legacyLayoutMode?: unknown): DocumentTableGeometry; export declare function normalizeDocumentTableLayoutMode(value: unknown): DocumentTableLayoutMode; export declare function normalizeDocumentTableLayoutAlgorithm(value: unknown): DocumentTableLayoutAlgorithm | null; export declare function normalizeDocumentTableAlignment(value: unknown): DocumentTableAlignment | null; export declare function normalizeDocumentTableProperties(value: unknown): DocumentTableProperties | null; export declare function normalizeDocumentTableCellMargins(value: unknown): DocumentTableCellMargins | null; export declare function normalizeDocumentTableCellMarginOverrides(value: unknown): DocumentTableCellMarginOverrides | null; export declare function documentTableLayoutMode(geometry: DocumentTableGeometry): DocumentTableLayoutMode; export declare function documentTableGeometryForLayoutMode(mode: DocumentTableLayoutMode, current: DocumentTableGeometry, renderedTableWidth?: number): DocumentTableGeometry; export declare function documentTableGeometryFromElement(table: HTMLElement): DocumentTableGeometry; export declare function renderDocumentTableGeometry(value: unknown, legacyLayoutMode?: unknown): Record; export declare function applyDocumentTableGeometryToElement(table: HTMLElement, value: unknown, legacyLayoutMode?: unknown): void; export declare function documentTableCellMarginOverridesFromElement(cell: HTMLElement): DocumentTableCellMarginOverrides | null; export declare function renderDocumentTableCellMarginOverrides(value: unknown): Record; export declare function normalizeDocumentTablePreferredWidth(value: unknown): DocumentTablePreferredWidth | null;