import { UseDragConfig, Handler, EventTypes } from '../types'; /** * Drag hook. * * @param handler - the function fired every time the drag gesture updates * @param [config={}] - the config object including generic options and drag options */ export declare function useDrag(handler: Handler<'drag', K>, config?: UseDragConfig | {}): (...args: any[]) => import("../types").ReactEventHandlers;