/** @packageDocumentation * @module Utilities */ /** Describes [[Cell]]. * @alpha */ export interface CellProps { /** Cell column. */ readonly col: number; /** Cell row. */ readonly row: number; } /** Provides methods to work with [[CellProps]]. * @alpha */ export declare class Cell implements CellProps { readonly row: number; readonly col: number; /** Creates cell from [[CellProps]]. */ static create(props: CellProps): Cell; /** Creates a new cell. */ constructor(row: number, col: number); /** @returns True if this and other cells are equal. */ equals(other: CellProps): boolean; /** @returns True if this and other cells are on same row, but different columns. */ isRowAlignedWith(other: CellProps): boolean; /** @returns True if this and other cells are on same column, but different rows. */ isColumnAlignedWith(other: CellProps): boolean; /** @returns Column aligned cells between this and other cells. */ getVerticallyAlignedCellsTo(other: CellProps): CellProps[]; /** @returns Row aligned cells between this and other cells. */ getHorizontallyAlignedCellsTo(other: CellProps): CellProps[]; /** @returns Row or column aligned cells between this and other cells. */ getAlignedCellsTo(other: CellProps): CellProps[]; /** @returns True if this cell is between cell1 and cell2 on vertical axis. */ isVerticallyBetween(cell1: CellProps, cell2: CellProps): boolean; /** @returns True if this cell is between cell1 and cell2 on horizontal axis. */ isHorizontallyBetween(cell1: CellProps, cell2: CellProps): boolean; /** @returns True if this cell is between cell1 and cell2 (column aligned or row aligned). */ isBetween(cell1: CellProps, cell2: CellProps): boolean; } //# sourceMappingURL=Cell.d.ts.map