import { type DragEvent } from "react";
import { xy, box } from "@synnaxlabs/x";
import { Triggers } from '../../triggers';
export interface UseCursorDragProps {
    onStart?: (loc: xy.XY, mouseKey: Triggers.Key, e: DragEvent) => void;
    onMove?: (box: box.Box, mouseKey: Triggers.Key, e: MouseEvent) => void;
    onEnd?: (box: box.Box, mouseKey: Triggers.Key, e: MouseEvent) => void;
}
export type UseCursorDragStart = (e: DragEvent) => void;
export declare const useCursorDrag: ({ onMove, onStart, onEnd, }: UseCursorDragProps) => UseCursorDragStart;
