import React from 'react'; declare const FileTreeValueType: ["directory", "file"]; export declare type TreeFile = { type: typeof FileTreeValueType[number]; name: string; extra?: string; files?: Array; }; interface Props { value?: Array; initialExpand?: boolean; onClick?: (path: string) => void; className?: string; } declare type NativeAttrs = Omit, keyof Props>; export declare type TreeProps = Props & NativeAttrs; declare const Tree: React.FC>; export default Tree;