import { Dispatch, FC, SetStateAction } from 'react'; import { TreeProps } from 'antd/es/tree'; export interface NodeData { key: string; title: string; children?: NodeData[]; } interface STreeProps extends TreeProps { onSelectChange?: (key: string | undefined) => void; data?: NodeData[]; selectedKeys: string[]; setSelectedKeys: Dispatch>; } declare const STree: FC; export default STree;