import React from "react"; import { type StyleProp, type ViewStyle } from "react-native"; export interface SearchAndroidProps { /** * Title of header and hint for placeholder */ title: string; /** * Tint color for the fields. */ tintColor?: string; /** * Icon color. */ iconColor?: string; /** * The color of the underlay that will show through when the touch is active. */ underlayColor?: string; /** * If there is no `headerLeft` on toolbar, set this property to `false`. * Used to calculate dimensions. Default value is `true`. */ hasHeaderLeft?: boolean; /** * If there is no `headerRight` on toolbar, set this property to `false`. * Used to calculate dimensions. Default value is `true`. */ hasHeaderRight?: boolean; /** * Style for title. */ titleStyle?: StyleProp; /** * The string that will be rendered before text input has been entered. */ placeholder?: string; /** * Callback that is called when the text input's text changes. * Changed text is passed as an argument to the callback handler. */ onChangeText?(text: string): void; } interface Props extends SearchAndroidProps { isSearchable: boolean; text: string; toggleSearchable(): void; } export declare const SearchAndroid: (props: Props) => React.JSX.Element; export default SearchAndroid; //# sourceMappingURL=SearchViewAndroid.d.ts.map