import type { FlatListProps, StyleProp, ViewProps, ViewStyle, } from 'react-native'; type CustomListProps = Omit< FlatListProps, 'data' | 'renderItem' >; export interface WheelPickerProps { containerProps?: Omit; containerStyle?: ViewStyle; itemHeight?: number; itemSelectedStyle?: StyleProp; listProps?: CustomListProps; onChange: (index: number) => void; options: any[]; renderItem: (option: any, index: number) => React.ReactElement | null; selectedIndex: number; visibleItemsCount?: number; }