import type { CollisionDetection } from '@dnd-kit/core'; import type { GridRowId } from '../../types'; import type { Store } from '../../state'; export type CollisionDetails = { /** * The new parent of the dropped rows. Null means root level. */ parentId: null | GridRowId; /** * The previous row in the rendered grid, ignoring hierarchy. * Populated only when operation is 'between' */ prevId: null | GridRowId; /** * The new, previous sibling of the dropped rows. Null means the dropped * item will be first when operation is "between" */ prevInsertId: null | GridRowId; /** * The new level of the dropped rows */ level: number; /** * Will this operation put the dropped rows between other rows or over * a parent or the root grid. */ operation: 'between' | 'over'; }; export declare const collisionFactory: (store: Store) => CollisionDetection; //# sourceMappingURL=collision.d.ts.map