import type { TypeUploadProps } from '../type';
export interface UploadDragEvents {
    onDragFileChange?: (e: DragEvent) => void;
    onDragenter?: TypeUploadProps['onDragenter'];
    onDragleave?: TypeUploadProps['onDragleave'];
    onDrop?: TypeUploadProps['onDrop'];
}
export default function useDrag(props: UploadDragEvents): {
    target: any;
    dragActive: import("@vue/composition-api").Ref<boolean>;
    handleDrop: (event: DragEvent) => void;
    handleDragenter: (event: DragEvent) => void;
    handleDragleave: (event: DragEvent) => void;
    handleDragover: (event: DragEvent) => void;
};
