import { Component } from 'react'; import { TextInput } from 'react-native'; import { InputProps } from '../Input'; import { SearchBarIosProps } from './types'; export type { SearchBarIosProps }; declare type SearchBarState = { hasFocus: boolean; isEmpty: boolean; cancelButtonWidth: number | null; }; export declare class SearchBarIOS extends Component { input: TextInput; static defaultProps: { value: string; cancelButtonTitle: string; loadingProps: {}; cancelButtonProps: {}; showLoading: boolean; onClear: () => any; onCancel: () => any; onFocus: () => any; onBlur: () => any; onChangeText: () => any; searchIcon: { name: string; }; clearIcon: { name: string; }; showCancel: boolean; }; constructor(props: SearchBarIosProps); focus: () => void; blur: () => void; clear: () => void; cancel: () => void; onFocus: InputProps['onFocus']; onBlur: InputProps['onBlur']; onChangeText: (text: string) => void; render(): JSX.Element; }