import React from 'react'; import { TextInput, TextInputProps } from 'react-native'; import { SearchBarBaseProps } from './SearchBar'; import { ThemeProps } from '../config'; export declare type SearchBarDefaultProps = typeof SearchBar.defaultProps & SearchBarBaseProps & TextInputProps; declare type SearchBarState = { isEmpty: boolean; }; declare class SearchBar extends React.Component>, SearchBarState> { input: TextInput; static defaultProps: { value: string; loadingProps: {}; showLoading: boolean; lightTheme: boolean; round: boolean; onClear: () => any; onFocus: () => any; onBlur: () => any; onChangeText: () => any; }; constructor(props: SearchBarDefaultProps); focus: () => void; blur: () => void; clear: () => void; onFocus: TextInputProps['onFocus']; onBlur: TextInputProps['onBlur']; onChangeText: (text: string) => void; render(): JSX.Element; } export default SearchBar;