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) => void; onDragOver: (event: DragEvent) => void; onDrop: (event: DragEvent) => void; }; export {};