import React from 'react'; import { AutoCompleteProps, AutoCompleteState } from './iAutoComplete'; declare class AutoComplete extends React.Component { static defaultProps: { value: string; show: boolean; disabled: boolean; options: never[]; onBlur: () => void; onKeyDown: () => void; onChange: () => void; onSelectOption: () => void; placeholder: string; fieldid: string; }; constructor(props: AutoCompleteProps); componentWillReceiveProps(nextProps: AutoCompleteProps): void; handleChange(value: string): void; /** * 自动匹配的列表被选中其中某一个 * @param {*} value */ handleChangeList(value: string): void; handleKeyDown(e: React.KeyboardEvent): void; moveItem(direction: string): void; handleEnter(index: number): void; handleLeave(): void; handleBlur(): void; replaceCurrentMatchWord(str: string): string; render(): JSX.Element; } export default AutoComplete;