import { box, xy } from '@synnaxlabs/x';
import { RefObject } from 'react';
import { Stage, Trigger } from './triggers';
export interface DragEvent {
    stage: Stage;
    box: box.Box;
    cursor: xy.XY;
    triggers: Trigger[];
}
export type DragCallback = (props: DragEvent) => void;
export interface UseDragProps {
    bound: RefObject<HTMLElement>;
    triggers?: Trigger[];
    onDrag: DragCallback;
    loose?: boolean;
}
export declare const useDrag: ({ onDrag, triggers, bound, loose, }: UseDragProps) => void;
//# sourceMappingURL=useDrag.d.ts.map