import { Component } from "react"; import "intersection-observer"; import "whatwg-fetch"; import { UserSelectorTypes } from "./indextypes"; export * from "./indextypes"; export * from "./components/advanceModeTabs/types"; /** * 1、支持传递queryString属性,该属性表示外部传递搜索字符串,使用场景为:使用外部自定义搜索框,隐藏组件内部搜索框 */ declare class UserSelector extends Component { private throttleSearch; private containerRef; private dataSets; private advInstance; private activeTabName; private selectorContainer; private keyUpListenInstance; private processFetchInstance; constructor(props: UserSelectorTypes); state: { highLightString: string; queryString: string; searchResult: never[]; advanceModeButtonClicked: boolean; advanceMode: boolean; time2ShowSearchResult: boolean; searchFetching: boolean; activeIndex: number; tipInfo: string; focus: boolean; keyUpListenInstance: undefined; switchSearchToControlMode: boolean; isCurFocus: boolean; }; checkParams: () => void; translate: (key: string) => any; resetSearch: () => void; readySearch: (value?: string) => void; processSearch: (value?: string) => void; beginSearch: (searchParam?: string | undefined) => void; searchContact: () => void; /** * hideSearchResut 当advanceMode 发生tab页切换的时候,需要隐藏搜索结果 * */ hideSearchResut: () => void; storeContainerRef: (ref: any) => void; storeDataSets: (data: any) => void; handleTabChagne: (activeTabName: any) => void; showAdvanceMode: () => void; shouldShowAdvanceMode: () => boolean; shouldShowSearch: () => boolean; focusSearchInputAsync: () => void; componentDidMount(): void; componentWillUnmount(): void; componentWillReceiveProps(nextProps: any): void; componentDidUpdate(preProps: any, preState: any): void; changeSearchInputValueToEmpty: () => void; toggleSearchInputControlMode: () => void; handleInputKeyUp: (event: any) => void; handleSearchFocus: () => void; handleSearchBlur: () => void; renderSearch: () => JSX.Element | null; selectItem: (val: any) => void; renderPanel: (shouldShowAdvanceMode: any, commonProps: any) => JSX.Element; render(): JSX.Element; } export default UserSelector;