import { type EventHandlerResult } from '../EventHandlerResult'; import type Grid from '../Grid'; import GridMouseHandler, { type GridMouseEvent } from '../GridMouseHandler'; import GridRange, { type GridRangeIndex } from '../GridRange'; import { type GridPoint } from '../GridUtils'; declare class GridSelectionMouseHandler extends GridMouseHandler { /** * Returns the latest grid selection based on the current grid selection and where the user clicked * This code is dependent on the behavior of onContextMenu * @param originalSelection The selection from the current grid state which may be stale * @param columnIndex The column index where the user clicked * @param rowIndex The row index where the user clicked */ static getLatestSelection(originalSelection: readonly GridRange[], columnIndex: GridRangeIndex, rowIndex: GridRangeIndex): readonly GridRange[]; private startPoint?; private hasExtendedFloating; private timer?; private lastTriggerTime?; onDown(gridPoint: GridPoint, grid: Grid, event: GridMouseEvent): EventHandlerResult; onDrag(gridPoint: GridPoint, grid: Grid): EventHandlerResult; onUp(gridPoint: GridPoint, grid: Grid): EventHandlerResult; onDoubleClick(gridPoint: GridPoint, grid: Grid, event: GridMouseEvent): EventHandlerResult; onContextMenu(gridPoint: GridPoint, grid: Grid, event: GridMouseEvent): EventHandlerResult; moveSelection(grid: Grid, gridPoint: GridPoint, deltaX: number, deltaY: number): void; startTimer(grid: Grid, gridPoint: GridPoint, deltaX: number, deltaY: number): void; stopTimer(): void; } export default GridSelectionMouseHandler; //# sourceMappingURL=GridSelectionMouseHandler.d.ts.map