import React from 'react'; import './index.less'; import { ValueProps, SortType } from '../types'; declare type IdType = string | number; declare type TreeItemProps = { id: string | number; key: string | number; item: ValueProps | any; depth: number; lists: any[]; childrenProps?: SortType; sensors?: any; expandedKeys?: IdType[]; setExpandedKeys?: any; onSelectKeys?: (ids: IdType) => void; onChange?: (value: any[]) => void; }; declare const TreeItem: (props: TreeItemProps) => React.JSX.Element; export default TreeItem;