import { Instance } from 'mobx-state-tree'; export type BorderSideName = 'top' | 'right' | 'bottom' | 'left'; export type BorderAttrs = { color?: string; width?: number; style?: string; }; export type BorderMode = 'all' | 'outer' | 'inner' | 'topBottom' | 'topOnly' | 'bottomOnly' | 'leftOnly' | 'rightOnly' | 'innerHorizontal' | 'innerVertical'; export type CellRange = { minRow: number; maxRow: number; minCol: number; maxCol: number; }; export declare const TableCell: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IOptionalIType, [undefined]>; text: import("mobx-state-tree").IType; _fontSize: import("mobx-state-tree").IMaybe>; _fontFamily: import("mobx-state-tree").IMaybe>; _fontWeight: import("mobx-state-tree").IMaybe>; _fontStyle: import("mobx-state-tree").IMaybe>; _textDecoration: import("mobx-state-tree").IMaybe>; _textTransform: import("mobx-state-tree").IMaybe>; _fill: import("mobx-state-tree").IMaybe>; _align: import("mobx-state-tree").IMaybe>; _verticalAlign: import("mobx-state-tree").IMaybe>; _lineHeight: import("mobx-state-tree").IMaybe, import("mobx-state-tree").ISimpleType]>>; _letterSpacing: import("mobx-state-tree").IMaybe>; _strokeWidth: import("mobx-state-tree").IMaybe>; _stroke: import("mobx-state-tree").IMaybe>; _cellBackground: import("mobx-state-tree").IMaybe>; _cellPaddingTop: import("mobx-state-tree").IMaybe>; _cellPaddingRight: import("mobx-state-tree").IMaybe>; _cellPaddingBottom: import("mobx-state-tree").IMaybe>; _cellPaddingLeft: import("mobx-state-tree").IMaybe>; opacity: import("mobx-state-tree").IType; rowSpan: import("mobx-state-tree").IType; colSpan: import("mobx-state-tree").IType; mergedInto: import("mobx-state-tree").IMaybe>; borders: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; name: import("mobx-state-tree").IType; custom: import("mobx-state-tree").IType; }, { _editModeEnabled: boolean; } & { readonly row: number; readonly col: number; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly page: any; readonly fontSize: number; readonly fontFamily: string; readonly fontWeight: string; readonly fontStyle: string; readonly textDecoration: string; readonly textTransform: string; readonly fill: string; readonly align: string; readonly verticalAlign: string; readonly lineHeight: number | string; readonly letterSpacing: number; readonly strokeWidth: number; readonly stroke: string; readonly cellBackground: string; readonly cellPaddingTop: number; readonly cellPaddingRight: number; readonly cellPaddingBottom: number; readonly cellPaddingLeft: number; readonly cellPadding: number; readonly width: number; readonly height: number; readonly gridCell: { row: number; col: number; rowSpan: number; colSpan: number; borders: (import("mobx-state-tree").ModelInstanceTypeProps<{ top: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }> & import("mobx-state-tree").IStateTreeNode>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }, {}, import("mobx-state-tree")._NotCustomized, any>>>) | undefined; cellPaddingTop: number; cellPaddingRight: number; cellPaddingBottom: number; cellPaddingLeft: number; }; readonly borderInsets: { top: number; right: number; bottom: number; left: number; }; readonly a: { x: number; y: number; width: number; height: number; rotation: number; opacity: number; fontSize: number; }; getEffectiveBorder(side: BorderSideName): { color: string; width: number; style: string; }; readonly x: number; readonly y: number; readonly rotation: number; readonly draggable: boolean; readonly resizable: boolean; readonly selectable: boolean; readonly removable: boolean; readonly contentEditable: boolean; readonly visible: boolean; readonly showInExport: boolean; readonly alwaysOnTop: boolean; readonly placeholder: string; readonly backgroundEnabled: boolean; readonly backgroundOpacity: number; readonly backgroundColor: string; readonly backgroundCornerRadius: number; readonly backgroundPadding: number; readonly curveEnabled: boolean; readonly curvePower: number; readonly shadowEnabled: boolean; readonly shadowBlur: number; readonly shadowOffsetX: number; readonly shadowOffsetY: number; readonly shadowColor: string; readonly shadowOpacity: number; readonly blurEnabled: boolean; readonly blurRadius: number; readonly brightnessEnabled: boolean; readonly brightness: number; readonly sepiaEnabled: boolean; readonly grayscaleEnabled: boolean; readonly animations: readonly never[]; } & { toJSON(): any; set(attrs: any): void; setBorder(side: BorderSideName, attrs: BorderAttrs): void; toggleEditMode(editing?: boolean): void; beforeDestroy(): void; }, any, any>; export type TableCellType = Instance; export declare const TableElement: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { x: import("mobx-state-tree").IType; y: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rotation: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; animations: import("mobx-state-tree").IArrayType; duration: import("mobx-state-tree").IType; enabled: import("mobx-state-tree").IType; type: import("mobx-state-tree").ISimpleType<"enter" | "exit" | "loop">; name: import("mobx-state-tree").IType; data: import("mobx-state-tree").IType<{} | null | undefined, {}, {}>; easing: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; blurEnabled: import("mobx-state-tree").IType; blurRadius: import("mobx-state-tree").IType; brightnessEnabled: import("mobx-state-tree").IType; brightness: import("mobx-state-tree").IType; sepiaEnabled: import("mobx-state-tree").IType; grayscaleEnabled: import("mobx-state-tree").IType; filters: import("mobx-state-tree").IMapType; }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>; shadowEnabled: import("mobx-state-tree").IType; shadowBlur: import("mobx-state-tree").IType; shadowOffsetX: import("mobx-state-tree").IType; shadowOffsetY: import("mobx-state-tree").IType; shadowColor: import("mobx-state-tree").IType; shadowOpacity: import("mobx-state-tree").IType; visible: import("mobx-state-tree").IType; draggable: import("mobx-state-tree").IType; resizable: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; contentEditable: import("mobx-state-tree").IType; styleEditable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; } & { type: import("mobx-state-tree").IType; width: import("mobx-state-tree").IType; height: import("mobx-state-tree").IType; rows: import("mobx-state-tree").IType; cols: import("mobx-state-tree").IType; colWidths: import("mobx-state-tree").IArrayType>; rowHeights: import("mobx-state-tree").IArrayType>; cells: import("mobx-state-tree").IArrayType; type: import("mobx-state-tree").IOptionalIType, [undefined]>; text: import("mobx-state-tree").IType; _fontSize: import("mobx-state-tree").IMaybe>; _fontFamily: import("mobx-state-tree").IMaybe>; _fontWeight: import("mobx-state-tree").IMaybe>; _fontStyle: import("mobx-state-tree").IMaybe>; _textDecoration: import("mobx-state-tree").IMaybe>; _textTransform: import("mobx-state-tree").IMaybe>; _fill: import("mobx-state-tree").IMaybe>; _align: import("mobx-state-tree").IMaybe>; _verticalAlign: import("mobx-state-tree").IMaybe>; _lineHeight: import("mobx-state-tree").IMaybe, import("mobx-state-tree").ISimpleType]>>; _letterSpacing: import("mobx-state-tree").IMaybe>; _strokeWidth: import("mobx-state-tree").IMaybe>; _stroke: import("mobx-state-tree").IMaybe>; _cellBackground: import("mobx-state-tree").IMaybe>; _cellPaddingTop: import("mobx-state-tree").IMaybe>; _cellPaddingRight: import("mobx-state-tree").IMaybe>; _cellPaddingBottom: import("mobx-state-tree").IMaybe>; _cellPaddingLeft: import("mobx-state-tree").IMaybe>; opacity: import("mobx-state-tree").IType; rowSpan: import("mobx-state-tree").IType; colSpan: import("mobx-state-tree").IType; mergedInto: import("mobx-state-tree").IMaybe>; borders: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; name: import("mobx-state-tree").IType; custom: import("mobx-state-tree").IType; }, { _editModeEnabled: boolean; } & { readonly row: number; readonly col: number; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly page: any; readonly fontSize: number; readonly fontFamily: string; readonly fontWeight: string; readonly fontStyle: string; readonly textDecoration: string; readonly textTransform: string; readonly fill: string; readonly align: string; readonly verticalAlign: string; readonly lineHeight: number | string; readonly letterSpacing: number; readonly strokeWidth: number; readonly stroke: string; readonly cellBackground: string; readonly cellPaddingTop: number; readonly cellPaddingRight: number; readonly cellPaddingBottom: number; readonly cellPaddingLeft: number; readonly cellPadding: number; readonly width: number; readonly height: number; readonly gridCell: { row: number; col: number; rowSpan: number; colSpan: number; borders: (import("mobx-state-tree").ModelInstanceTypeProps<{ top: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }> & import("mobx-state-tree").IStateTreeNode>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; right: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; bottom: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; left: import("mobx-state-tree").IMaybe>; width: import("mobx-state-tree").IMaybe>; style: import("mobx-state-tree").IMaybe>; }, {}, import("mobx-state-tree")._NotCustomized, any>>; }, {}, import("mobx-state-tree")._NotCustomized, any>>>) | undefined; cellPaddingTop: number; cellPaddingRight: number; cellPaddingBottom: number; cellPaddingLeft: number; }; readonly borderInsets: { top: number; right: number; bottom: number; left: number; }; readonly a: { x: number; y: number; width: number; height: number; rotation: number; opacity: number; fontSize: number; }; getEffectiveBorder(side: BorderSideName): { color: string; width: number; style: string; }; readonly x: number; readonly y: number; readonly rotation: number; readonly draggable: boolean; readonly resizable: boolean; readonly selectable: boolean; readonly removable: boolean; readonly contentEditable: boolean; readonly visible: boolean; readonly showInExport: boolean; readonly alwaysOnTop: boolean; readonly placeholder: string; readonly backgroundEnabled: boolean; readonly backgroundOpacity: number; readonly backgroundColor: string; readonly backgroundCornerRadius: number; readonly backgroundPadding: number; readonly curveEnabled: boolean; readonly curvePower: number; readonly shadowEnabled: boolean; readonly shadowBlur: number; readonly shadowOffsetX: number; readonly shadowOffsetY: number; readonly shadowColor: string; readonly shadowOpacity: number; readonly blurEnabled: boolean; readonly blurRadius: number; readonly brightnessEnabled: boolean; readonly brightness: number; readonly sepiaEnabled: boolean; readonly grayscaleEnabled: boolean; readonly animations: readonly never[]; } & { toJSON(): any; set(attrs: any): void; setBorder(side: BorderSideName, attrs: BorderAttrs): void; toggleEditMode(editing?: boolean): void; beforeDestroy(): void; }, any, any>>; borderColor: import("mobx-state-tree").IType; borderWidth: import("mobx-state-tree").IType; borderStyle: import("mobx-state-tree").IOptionalIType, [undefined]>; fontSize: import("mobx-state-tree").IType; fontFamily: import("mobx-state-tree").IType; fontWeight: import("mobx-state-tree").IType; fontStyle: import("mobx-state-tree").IType; textDecoration: import("mobx-state-tree").IType; textTransform: import("mobx-state-tree").IType; fill: import("mobx-state-tree").IType; align: import("mobx-state-tree").IType; verticalAlign: import("mobx-state-tree").IType; lineHeight: import("mobx-state-tree").IOptionalIType, import("mobx-state-tree").ISimpleType]>, [undefined]>; letterSpacing: import("mobx-state-tree").IType; strokeWidth: import("mobx-state-tree").IType; stroke: import("mobx-state-tree").IType; cellBackground: import("mobx-state-tree").IType; cellPaddingTop: import("mobx-state-tree").IType; cellPaddingRight: import("mobx-state-tree").IType; cellPaddingBottom: import("mobx-state-tree").IType; cellPaddingLeft: import("mobx-state-tree").IType; }, { readonly page: any; readonly store: any; readonly filled: Partial<{ text?: string; placeholder?: string; src?: string; fill?: string; visible?: boolean; }>; readonly top: import("mobx-state-tree").ModelInstanceTypeProps<{ id: import("mobx-state-tree").ISimpleType; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }> & import("mobx-state-tree").IStateTreeNode; type: import("mobx-state-tree").IType; name: import("mobx-state-tree").IType; opacity: import("mobx-state-tree").IType; blendMode: import("mobx-state-tree").IOptionalIType, [undefined]>; custom: import("mobx-state-tree").IType; bindings: import("mobx-state-tree").IMaybe>; href: import("mobx-state-tree").IMaybe>; visible: import("mobx-state-tree").IType; selectable: import("mobx-state-tree").IType; removable: import("mobx-state-tree").IType; alwaysOnTop: import("mobx-state-tree").IType; showInExport: import("mobx-state-tree").IType; }, {}, import("mobx-state-tree").ModelCreationType<{ id: string; type: string | undefined; name: string | undefined; opacity: number | undefined; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean | undefined; selectable: boolean | undefined; removable: boolean | undefined; alwaysOnTop: boolean | undefined; showInExport: boolean | undefined; }>, { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }>>; readonly parent: any; readonly isHighlighted: boolean; readonly zIndex: any; } & { toJSON(): { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; } | { id: string; type: string; name: string; opacity: number; custom: any; bindings: import("@polotno/schema").Bindings | undefined; href: string | undefined; visible: boolean; selectable: boolean; removable: boolean; alwaysOnTop: boolean; showInExport: boolean; blendMode: "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "normal" | "overlay" | "saturation" | "screen" | "soft-light"; }; } & { clone(attrs?: any, { skipSelect }?: { skipSelect?: boolean | undefined; }): import("./node-model.js").NodeType; set(attrs: any): void; moveUp(): void; moveTop(): void; moveDown(): void; moveBottom(): void; setZIndex(zIndex: number): void; beforeDestroy(): void; } & { readonly locked: boolean; readonly a: import("./shape-model.js").AnimatedAttrs; animated(attr: string): any; readonly timeRange: { start: number; end: number; }; readonly active: boolean; readonly isSelected: boolean; readonly isSelectedDirectly: boolean; } & { setAnimation(type: 'enter' | 'exit' | 'loop', attrs: import("../utils/animations.js").AnimationAttrs): void; setFilter(type: any, value: any): void; } & { _focusedCellIds: string[]; _editingCellId: string | undefined; _editClickCoords: { x: number; y: number; } | null; _anchorCellId: string | undefined; _cellContentHeights: import("mobx").ObservableMap; _baseRowHeights: number[] | null; _baseHeight: number | null; } & { afterCreate(): void; } & { readonly _cellMap: Map; getActualRowHeight(rowIndex: number): number; readonly cellPadding: number; } & { getCell(row: number, col: number): TableCellType | undefined; visibleCellAt(row: number, col: number): TableCellType | undefined; readonly minWidth: number; readonly basePixelRowHeights: number[]; contentFloors(divider?: number): number[]; readonly rowContentFloors: number[]; readonly minHeight: number; readonly actualHeight: number; getCellRect(row: number, col: number, rowSpan?: number, colSpan?: number): { x: number; y: number; width: number; height: number; }; readonly visibleCells: TableCellType[]; readonly focusedCells: TableCellType[]; readonly editingCell: TableCellType | undefined; readonly textCells: TableCellType[]; getFocusedCellRange(): CellRange | null; readonly _fitRowsToContent: { rowHeights: number[]; height: number; } | null; } & { set(attrs: any): void; setCellContentHeight(cellId: string, height: number): void; _applyFitRowsToContent(): void; focusCell(cellId: string, addToSelection?: boolean): void; selectRowRange(startRow: number, endRow: number): void; selectColumnRange(startCol: number, endCol: number): void; selectRow(rowIndex: number): void; selectColumn(colIndex: number): void; focusCellRange(targetRow: number, targetCol: number): void; clearCellFocus(): void; enterCellEdit(cellId: string, clickCoords?: { x: number; y: number; } | null): void; exitCellEdit(): void; _resetBaseRowHeights(): void; setHeightRedistribute(newHeight: number): void; addRow(index: number): void; removeRow(index: number): void; addColumn(index: number): void; removeColumn(index: number): void; removeRowRange(minRow: number, maxRow: number): void; removeColumnRange(minCol: number, maxCol: number): void; distributeRowsEvenly(): void; distributeColumnsEvenly(): void; resizeColumn(index: number, delta: number): void; resizeRow(index: number, delta: number): void; setCellBorders(cellIds: string[], sides: BorderSideName[], attrs: BorderAttrs): void; applyBorderMode(mode: BorderMode, attrs: BorderAttrs): void; }, any, any>; export type TableElementType = Instance;