///
export type DragAction = {
type: 'start' | 'moving' | 'end';
clientX: number;
clientY: number;
initialX: number;
initialY: number;
target: EventTarget;
event: PointerEvent;
};
export type DragActionHandler = (action: DragAction) => any;
/**
* @see {@link https://malkiii.github.io/react-pre-hooks/docs/hooks/useDragAndDrop | useDragAndDrop} hook.
*/
export declare const useDragAndDrop: (args: {
handler: DragActionHandler;
ref?: React.RefObject | null;
}) => import("react").RefObject;