import { RefObject } from 'react'; import { Drag, IDrag, IDragEvent } from '@co-hooks/drag'; export interface IDragOptions extends IDrag { onDragPrepare?: (e: IDragEvent) => void; onDragStart?: (e: IDragEvent) => void; onDragging?: (e: IDragEvent) => void; onDragEnd?: (e: IDragEvent) => void; onClick?: (e: IDragEvent) => void; } export declare function useDrag(element: HTMLElement | null | RefObject, options: IDragOptions): Drag;