import { ReactNode } from 'react'; import { FieldNamesType, TreeDataProps } from '../propsType'; interface CascaderProps { dataSource: TreeDataProps[]; checkedValues?: any[]; showCodeName?: boolean; fieldNames: FieldNamesType; searchStr?: string; disabled?: boolean; handleOnChange?: (e: any, value: string) => void; optionRender?: (item: any, searchStr: string) => string | ReactNode; } declare const Cascader: (props: CascaderProps) => JSX.Element; export default Cascader;