import type { ResponseData } from '../api/sendFile'; import { type VerifyFileParams } from '../ui-kit/Input/useVerifyFile'; import type { PreventableEventWithTarget, PreventableEventWithTargetFiles } from '../ui-kit/PreventableEvent'; interface DragAndDropProps { onFileSelected: (props: VerifyFileParams) => Promise; onReset: () => void; uploadResponse: ResponseData | null; onFileChanged?: (value: string) => void; } export declare const useDragAndDrop: ({ onFileSelected, onReset, uploadResponse, onFileChanged, }: DragAndDropProps) => { handleDrag: (e: PreventableEventWithTarget) => void; handleLeave: () => void; handleDrop: (e: PreventableEventWithTargetFiles) => Promise; isDragActive: boolean; }; export {};