import { ReactNode } from 'react'; import { FieldNamesType, ProTreeProps } from '../propsType'; interface ListProps extends ProTreeProps { disabled?: boolean; checkedValues?: any; selectedKey?: string | number | undefined; innerExpandKeys?: any[]; originalTreeData?: any[]; flatTreeData?: any[]; treeData: any[]; searchStr?: string; showCodeName?: boolean; checkStrictly?: boolean; fieldNames: FieldNamesType; tags?: string[]; showLine?: boolean; switcherIcon?: any; checkable?: boolean; menu?: (key: any, item?: any) => ReactNode[]; onCheck?: (checkedKeys: any, info: any) => void; onSelect?: (checkedKeys: any, info?: any) => any; optionRender?: (item: any, searchStr?: string) => string | ReactNode; handleFilterClose?: (code: string, node?: any) => void; [key: string]: any; } declare function List(props: ListProps): JSX.Element; export default List;