import { type Length } from '../utilities/length.js'; import { type Border, type LineBorderType, type Shading } from './shared-properties.js'; export declare type TableCellProperties = { /** * The amount of columns spanned by this cell. Defaults to `1`. */ colSpan?: null | number; /** * The amount of rows spanned by this cell. Defaults to `1`. */ rowSpan?: null | number; /** * The width of this cell. */ width?: null | Length; /** * The background color of this cell, optionally with a pattern in a secondary color. */ shading?: null | Shading; /** * The border on any side of this cell, or between diagonally across in either direction. */ borders?: null | { top?: null | Border; start?: null | Border; bottom?: null | Border; end?: null | Border; insideH?: null | Border; insideV?: null | Border; /** * Diagonally from top-left to bottom-right. Like a backward slash. */ tl2br?: null | Border; /** * Diagonally from top-right to bottom-left. Like a forward slash. */ tr2bl?: null | Border; }; /** * The vertical alignment of this cell. */ verticalAlignment?: null | 'bottom' | 'center' | 'top'; }; export declare function tableCellPropertiesFromNode(node?: Node | null): TableCellProperties; export declare function tableCellPropertiesToNode(tcpr: TableCellProperties | undefined, asRepeatingNode: boolean): Node;