import React from 'react';
interface useDragNDropProps {
    isUploadImg?: boolean;
    createUrlFromImage?: (img: FileList) => void;
    onUploadFile?: (files: File, callback?: (v: any) => void) => void;
    dropRef?: React.RefObject<HTMLDivElement>;
}
export declare const useDragNDrop: ({ isUploadImg, createUrlFromImage, onUploadFile, dropRef }: useDragNDropProps) => {
    isDrag: boolean;
    isDrop: boolean;
    error: boolean;
    onSend: (data: DataTransfer) => void;
};
export {};
