1 | import { FileWithPath } from './file';
|
2 | /**
|
3 | * Convert a DragEvent's DataTrasfer object to a list of File objects
|
4 | * NOTE: If some of the items are folders,
|
5 | * everything will be flattened and placed in the same list but the paths will be kept as a {path} property.
|
6 | * @param evt
|
7 | */
|
8 | export declare function fromEvent(evt: Event): Promise<(FileWithPath | DataTransferItem)[]>;
|