import React from 'react'; import { TreeProps } from 'antd/es/tree'; interface selectDataProps { currentData?: object; multiData?: object[]; } interface optionNameProps { key?: string; value?: string; title?: string; children?: string; disabled?: string; selectable?: string; } interface RefactorTreeProps extends TreeProps { treeData: any[]; rootName?: string; rootKey?: string; emptyDescription?: string; optionName?: optionNameProps; defaultSelectedKeys?: string[]; onSelect?: (selectedKeys: string[], selectData: selectDataProps, e: any) => void; onCheck?: (checkedKeys: string[] | { checked: string[]; halfChecked: string[]; }, selectData: selectDataProps, e: any) => void; nodeExtra?: (data?: object) => React.ReactNode; selectable?: boolean; checkStrictly?: boolean; limitKey?: string; checkedKeys?: any; nodeControl?: any; disabledFields?: { key: string; value: any; }[]; showLine?: boolean; [k: string]: any; } declare const RefactorTree: React.ForwardRefExoticComponent & React.RefAttributes>; export default RefactorTree;