import type { GridRowDragMode, GridRowId, GridTreeIndentSize } from '../types'; import type { Collection } from './types'; import type { CollisionDetails } from '../functional/grid-drag-controller/collision'; /** * This is used to track vertical (top/bottom) and left position * of specific collision areas. These x/y positions are combined * with CollisionDetails. */ type CollisionArea = { left: number; top: number; bottom: number; } & CollisionDetails; type CalculateHitAreasParams = { isTreeGrid: boolean; rowIds: GridRowId[]; rowHeight: number; treeIndentSize: GridTreeIndentSize; draggingRowIds: Set; previewColumnOffset: number; mode: GridRowDragMode; canConvertLeaf: boolean; levelMap?: Map; rowCollection: Collection; }; export declare const calculateHitAreas: ({ isTreeGrid, rowIds, rowHeight, draggingRowIds, levelMap, mode, canConvertLeaf, previewColumnOffset, rowCollection, treeIndentSize, }: CalculateHitAreasParams) => { collisions: CollisionArea[]; maxTop: number; maxBottom: number; }; export {}; //# sourceMappingURL=calculate-hit-areas.d.ts.map