import React from 'react'; import { AddressStore } from './AddressStore'; import { SelectionChain, NodeChain, NodeIDStrict } from './Types'; interface AddressIntlProps { className: string; style: object; value?: SelectionChain | NodeIDStrict; defaultValue?: SelectionChain | NodeIDStrict; onChange?: (value: SelectionChain, nodeChain: NodeChain) => any; size?: 'small' | 'medium' | 'large'; placeholder: string; popupContainer: React.ReactNode | Function; kind: 'cascader' | 'select'; level?: number; addressStore: AddressStore; } interface AddressIntlState { value: SelectionChain; } export default class AddressIntl extends React.Component { static propTypes: { className: any; style: any; value: any; defaultValue: any; onChange: any; size: any; placeholder: any; popupContainer: any; kind: any; level: any; addressStore: any; }; static defaultProps: { addressStore: AddressStore; }; constructor(props: AddressIntlProps); componentDidMount(): void; componentDidUpdate(prevProps: AddressIntlProps, prevState: AddressIntlState): Promise; setStateAsync(updater: any): Promise; getOverlayContainer(): any; handleSelect(value: NodeIDStrict): Promise; handleUserSelect(value: NodeIDStrict): Promise; renderSelectBox(value: NodeIDStrict | undefined, parentID: NodeIDStrict): JSX.Element; renderSelectBoxes(): any[]; renderCascader(): JSX.Element; renderCascaderBox(): JSX.Element; render(): JSX.Element; } export {};