/// <reference types="react" />
declare type Moved = {
    x: number;
    y: number;
};
export declare type useDraggableParams = {
    initialData?: any;
    onMoved?: (moved: Moved, initialData: any) => void;
    onStart?: (initialData: any) => void;
    onEnd?: (initialData: any) => void;
};
export declare const useDraggable: (params: useDraggableParams) => {
    draggableRef: import("react").MutableRefObject<HTMLDivElement | null>;
    isDragging: boolean;
    moved: Moved | null;
};
export {};
