declare module '@nectr-rn/react-native-dropdown-picker' { import { ComponentType } from 'react'; import { StyleProp, TextStyle, ViewStyle, ScrollViewProps } from 'react-native'; type DropDownPicker = { items: {label: any, value: any, icon?: () => JSX.Element, disabled?: boolean, selected?: boolean}[]; defaultValue?: any; placeholder?: string; dropDownMaxHeight?: number; style?: StyleProp; dropDownStyle?: StyleProp; containerStyle?: StyleProp; itemStyle?: StyleProp; labelStyle?: StyleProp; selectedLabelStyle?: StyleProp; placeholderStyle?: StyleProp; activeItemStyle?: StyleProp; activeLabelStyle?: StyleProp; arrowStyle?: StyleProp; arrowColor?: string; arrowSize?: number; showArrow?: boolean; customArrowUp?: (size: number, color: string) => JSX.Element; customArrowDown?: (size: number, color: string) => JSX.Element; customTickIcon?: () => JSX.Element; disabled?: boolean; isVisible?: boolean; multiple?: boolean; multipleText?: string; min?: number; max?: number; searchable?: boolean; searchablePlaceholder?: string; searchablePlaceholderTextColor?: string; searchableStyle?: StyleProp; searchableError?: () => JSX.Element; selectedLabelLength?: number; labelLength?: number; scrollViewProps?: ScrollViewProps; controller?: (instance: object) => void; onOpen?: () => void; onClose?: () => void; onChangeItem?: (item: any, index: number) => void; onChangeList?: (items: any, callback: () => void) => void; }; const DropDownPicker: ComponentType; export default DropDownPicker; }