import React from 'react'; import { MutableRefObject } from 'react'; import { FlatListProps, TextStyle, ViewStyle } from 'react-native'; import type { ItemType, ListItemStyleType } from './types'; declare type CustomListItemStyleType = (ListItemStyleType & TextStyle) | undefined; declare type Props = { data: Array; selectedValue: MutableRefObject; onChange: () => void; style?: ViewStyle; listItemStyle?: CustomListItemStyleType | CustomListItemStyleType[]; itemHeight: number; initialScrollIndex: number; separatorColor?: string; flatListProps?: Partial>; }; declare const List: React.MemoExoticComponent<({ data, itemHeight, selectedValue, onChange, initialScrollIndex, style, listItemStyle, separatorColor, flatListProps, }: Props) => JSX.Element>; export default List;