import * as React from "react"; import { TextInputProps } from "../TextInput"; export interface SearchInputProps extends TextInputProps { element?: any; onSubmit: (search: string, event: React.SyntheticEvent) => void; clearable?: boolean; onClear?: (event: React.SyntheticEvent) => void; shouldAutoFocus?: boolean; } declare class SearchInput extends React.Component { state: { value: string; }; private ref; componentDidMount(): void; componentDidUpdate(prevProps: any, prevState: any): void; handleChange: (event: React.ChangeEvent) => void; handleOnKeyDown: (event: any) => void; handleClear: (event: any) => void; handleBlur: (event: any) => void; render(): JSX.Element; } export default SearchInput;