traverseFileTree.d.ts 478 Bytes
import { RcFile } from './interface';
interface InternalDataTransferItem extends DataTransferItem {
    isFile: boolean;
    file: (cd: (file: RcFile & {
        webkitRelativePath?: string;
    }) => void) => void;
    createReader: () => any;
    fullPath: string;
    isDirectory: boolean;
    name: string;
    path: string;
}
declare const traverseFileTree: (files: Array<InternalDataTransferItem>, callback: any, isAccepted: any) => void;
export default traverseFileTree;