import React from "react"; import type { DragState } from "./type"; interface Config { target: React.RefObject; disabled?: boolean; gap?: number; onDragStart?: (state: DragState) => void; onDrag?: (state: DragState) => void; onDragEnd?: (state: DragState) => void; } export declare const useDraggable: ({ target, disabled, onDragStart, onDrag, onDragEnd, gap }: Config) => { onMouseDown: React.MouseEventHandler; }; export {};