import { CellAttributes, TableLayout } from '@uidu/adf-schema';
import { ResolvedPos } from 'prosemirror-model';
import { EditorView } from 'prosemirror-view';
import { TableOptions } from '../../../nodeviews/types';
export declare const tableLayoutToSize: Record<string, number>;
export declare function getLayoutSize(tableLayout: TableLayout, containerWidth: number, options: TableOptions): number;
export declare function getDefaultLayoutMaxWidth(containerWidth?: number): number;
export declare function pointsAtCell($pos: ResolvedPos<any>): any;
export declare function currentColWidth(view: EditorView, cellPos: number, { colspan, colwidth }: CellAttributes): number;
export declare function domCellAround(target: HTMLElement | null): HTMLElement | null;
