/// <reference types="react" />
export default function useDraggable({ onMove, onDrop, getBoundingRect, handleSelector, }: {
    onMove?: (event: MouseEvent) => void;
    onDrop?: (dx: number, dy: number) => void;
    getBoundingRect?: () => DOMRect;
    handleSelector?: string;
}): {
    handleRef: (newNode: HTMLElement) => void;
    targetRef: import("react").RefObject<HTMLElement>;
    applyTransform: (dx: number, dy: number) => void;
};
