import { type DragEvent } from 'react';
type UseDnDParams = {
    /**
     * Если true, drag'and'drop будет не доступен
     */
    isDisabled?: boolean;
    onChange: (droppedFiles: FileList) => void;
};
export declare const useDnD: ({ isDisabled, onChange }: UseDnDParams) => {
    isDragActive: boolean;
    onDragLeave: (event: DragEvent<HTMLElement>) => void;
    onDragOver: (event: DragEvent<HTMLElement>) => void;
    onDrop: (event: DragEvent<HTMLElement>) => void;
};
export {};
