import { type Cell } from '../components/Cell.js'; import { type Table } from '../components/Table.js'; declare type CellInfo = { /** * The Y coordinate of the top edge. */ row: number; /** * The X coordinate of the left edge. */ column: number; /** * @deprecated Can be replaced with cell.getRowSpan() */ rowspan: number; /** * @deprecated Can be replaced with cell.getColSpan() */ colspan: number; }; /** * A conceptual description of the table that makes it easier to reason about it. */ export declare class TableGridModel { #private; constructor(table: Table); /** * Return the node belonging to this column/row coordinate, taking all colspans/rowspans * into account. */ getNodeAtCell(column: number, row: number): Cell | null; /** * Get the number of columns in a row, even if some cells span multiple columns. */ getCellsInRow(row: number): Cell[]; /** * Return the position and spanning of a given node, keeping all colspans/rowspans of other * cels into account. */ getCellInfo(cell: Cell): CellInfo; } export {};