UNPKG

380 BTypeScriptView Raw
1import { XYCoord } from 'dnd-core';
2export declare function getNodeClientOffset(node: any): {
3 x: any;
4 y: any;
5} | null;
6export declare function getEventClientOffset(e: any): {
7 x: any;
8 y: any;
9};
10export declare function getDragPreviewOffset(sourceNode: any, dragPreview: any, clientOffset: XYCoord, anchorPoint: any, offsetPoint: any): {
11 x: any;
12 y: any;
13};