import PropTypes from 'prop-types'; import React, { Component } from 'react'; export interface CascaderOptionType { value?: any; label?: React.ReactNode; children?: Array; [key: string]: any; } export interface CascaderSelectProps { options: CascaderOptionType[]; defaultValue?: any; value?: any; onChange?: (value: string[], showLabel: string[]) => void; selectTipList?: string[]; needInput?: boolean; visible?: boolean; onClose?: Function; } export interface CascaderState { showValue: string; tabDatas: any[]; tabActiveKey: string; visible: boolean; tabIndex: any; } declare class CascaderSelect extends Component { state: { showValue: string; tabDatas: never[]; tabActiveKey: string; visible: boolean | undefined; tabIndex: number; }; static contextTypes: { antLocale: PropTypes.Requireable; }; tabClick: (tab: any, index: any) => void; processingData(options: any, defaultValue: any, value: any): void; componentDidMount(): void; componentWillReceiveProps(nextProps: any): void; onTabChange: (tabActiveKey: any) => void; onSelectItemClick: (item: any) => void; renderPopDom: () => JSX.Element; handleClose: () => void; handleShow: () => void; render(): JSX.Element; } export default CascaderSelect;