import type { CellPosition } from '../../core/interaction/index.js'; /** * A range is a box over the body, named by the same `{ row, col }` the focus * model uses, so the cell the user is on can be handed straight to * `selectCellRange`. `section` rides along optional and unread: the body is * the only section a range covers. */ export interface CellRange { top: number; left: number; bottom: number; right: number; } export declare function rangeBetween(anchor: CellPosition, focus: CellPosition): CellRange; export declare function containsCell(range: CellRange, row: number, col: number): boolean; export declare function isInAnyRange(ranges: CellRange[], row: number, col: number): boolean; export declare function rangeRows(range: CellRange): number; export declare function rangeCols(range: CellRange): number; export declare function rangeSize(range: CellRange): number; export declare function cellsOf(range: CellRange): CellPosition[]; export declare function boundsOf(ranges: CellRange[]): CellRange | null; export declare function clampRange(range: CellRange, maxRow: number, maxCol: number): CellRange | null; export declare function pasteTargets(target: CellRange, blockRows: number, blockCols: number): { row: number; col: number; blockRow: number; blockCol: number; }[]; export declare function parseTsv(text: string): string[][];