/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import type { 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: InternalDataTransferItem[], callback: any, isAccepted: any) => void; export default traverseFileTree;