import React from 'react'; import { ImageStyle, KeyboardTypeOptions, StyleProp, TextInputProps, TextStyle } from 'react-native'; interface Props { /** When false, renders nothing — the component is a no-op. */ search: boolean; /** Fully custom search affordance. When provided, `onSearch` is the only callback; the component renders whatever the user returns. */ renderInputSearch?: (onSearch: (text: string) => void) => React.ReactElement | null; /** Current value of the input (controlled). */ value: string; /** Called with the new text on every change. */ onChangeText: (text: string) => void; wrapperStyle: StyleProp; textInputStyle: StyleProp; testID?: string; accessibilityLabel?: string; allowFontScaling?: boolean; placeholder?: string; placeholderTextColor?: string; keyboardType?: KeyboardTypeOptions; searchInputProps?: Omit; iconColor?: string; iconStyle?: StyleProp; /** Swap the built-in clear glyph while keeping the clear-onPress. */ clearIcon?: React.ReactElement | null; } /** * Renders the search bar used by both Dropdown and MultiSelect. Honours * `renderInputSearch` when provided, otherwise falls back to the * built-in `` + clear-icon layout. Extracted to avoid a * ~50-line duplicated `renderSearch` `useCallback` in each component. */ export declare function DropdownSearchInput({ search, renderInputSearch, value, onChangeText, wrapperStyle, textInputStyle, testID, accessibilityLabel, allowFontScaling, placeholder, placeholderTextColor, keyboardType, searchInputProps, iconColor, iconStyle, clearIcon, }: Props): React.JSX.Element | null; export {}; //# sourceMappingURL=DropdownSearchInput.d.ts.map