import * as React from 'react';
export interface DragEvent {
    type: 'drag' | 'dragend';
    initialX: number;
    initialY: number;
    direction: 'x' | 'y' | null;
    x: number;
    y: number;
}
interface UseDragEventProps {
    onMouseDown: (e: React.MouseEvent<Element, MouseEvent>) => any;
}
export declare const useDragEvent: () => [DragEvent, UseDragEventProps];
export {};
