import { default as React } from '../../../../../node_modules/react'; export type TreeDataProps = { key: string; id: string; path: string; title: string; collapsed: boolean; type: string; children: TreeDataProps[]; }; interface TreeProps { dataSource: TreeDataProps[]; depth: number; selectedKey?: string; onSelect?: (value: TreeDataProps) => void; setCollapsed: (value: TreeDataProps) => void; } export declare function Tree({ dataSource, depth, onSelect, selectedKey, setCollapsed }: TreeProps): React.JSX.Element; export {};