import { DragEvent } from 'react'; type DropHandlers = { onDragEnter: (event: DragEvent) => void; onDragOver: (event: DragEvent) => void; onDragLeave: (event: DragEvent) => void; onDrop: (event: DragEvent) => void; }; /** * Drop-files-from-the-desktop for a composer surface. Returns no handlers when `onFiles` * is absent, so a caller that can't accept files never intercepts the drag. */ export declare const useFileDrop: (onFiles?: (files: File[]) => void) => { isDragging: boolean; dropHandlers: DropHandlers | undefined; }; export {}; //# sourceMappingURL=useFileDrop.d.ts.map