import type { TdUploadProps } from '../type';
export interface UploadDragEvents {
    onDragFileChange?: (e: DragEvent) => void;
    onDragenter?: TdUploadProps['onDragenter'];
    onDragleave?: TdUploadProps['onDragleave'];
    onDrop?: TdUploadProps['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;
};
