import type { Node as PmNode, ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
/**
 * Looks at every table row to find the correct number of columns for table, which
 * accounts for tables with uneven rows.
 *
 * Returns an array of column widths if defined otherwise 0, positions respect table order.
 */
export declare function getColumnWidths(node: PmNode): number[];
export declare function calcTableColumnWidths(node: PmNode): number[];
export declare function hasMergedCell(tableNode: PmNode): boolean;
export declare function convertProsemirrorTableNodeToArrayOfRows(tableNode: PmNode): Array<Array<PmNode | null>>;
export declare function isPositionNearTableRow(pos: ResolvedPos, schema: Schema, direction: 'before' | 'after'): boolean;
