///
import type { BasicTarget } from '../utils/domTarget';
export interface Options {
onDragStart?: (event: React.DragEvent) => void;
onDragEnd?: (event: React.DragEvent) => void;
dragImage?: {
image: string | Element;
offsetX?: number;
offsetY?: number;
};
}
declare const useDrag: (data: T, target: BasicTarget, options?: Options) => void;
export default useDrag;