import React, { Component } from "react";
declare const InputSizes: ["small", "default", "large"];
declare type SIProps = {
    onBlur: (() => void);
    onFocus: (() => void);
    prefix: React.ReactNode[];
    placeholder: string;
    optionRenderer: ((item: object) => string | object);
    tipText: string;
    enterButton: string;
    buttonClassName?: string;
    autocompleteClassName?: string;
    searchPromise: ((value: string) => Promise<any>);
    onSelect: ((value: string) => void);
    disabled: boolean;
    size: (typeof InputSizes)[number];
    onRemoveImage: (() => void);
    suffix: object[];
};
declare type SIState = {
    label: string;
    image: any;
    dataSource: any[];
    loading: boolean;
    showTips: boolean;
};
/**
 * 搜索框。根据用户在input中输入的内容，调用外部的接口获取AutoComplete数据。
 * 并且把用户最终的选择通过callback传递到外部组件中。
 */
declare class SearchInput extends Component<SIProps, SIState> {
    searchLabel: string;
    dataProvider: Map<any, any>;
    input: any;
    timer: any;
    static addSuffix(suffix: any, element: any): void;
    static getDerivedStateFromProps(props: any, state: any): any;
    constructor(props: any);
    getInputText: () => string;
    handleInputBlur: () => void;
    handleInputFocus: () => void;
    handleClickClearIcon: () => void;
    toggleTipText: () => void;
    handleLabelChange: (v: any) => void;
    doRemoveImage: () => void;
    handleSelect: (value: any) => void;
    handleConfirm: () => void;
    defaultOptionRenderer: (renderer: any) => (item: any) => any;
    renderTipContent: () => JSX.Element | undefined;
    render(): JSX.Element;
}
export default SearchInput;
