import type { CellRange } from '../types/grid.types'; export interface NormalizedRange { startRowIndex: number; endRowIndex: number; startColIndex: number; endColIndex: number; } export declare function normalizeRange(range: CellRange): NormalizedRange; export declare function isCellInRanges(rowIndex: number, colIndex: number, ranges: CellRange[]): boolean; export declare function rangesEqual(a: CellRange, b: CellRange): boolean; /** * `true` when a range covers exactly one cell. * * Used to tell a plain "active cell" apart from a real multi-cell range — the * distinction `enableRangeSelection: false` turns on. * * @param range - The range to test. Need not be normalized. */ export declare function isSingleCell(range: CellRange): boolean; export declare function mergeRanges(ranges: CellRange[]): CellRange; export declare function getCellsInRange(range: CellRange): Array<{ rowIndex: number; colIndex: number; }>; //# sourceMappingURL=selection-range.d.ts.map