import React, { RefAttributes, PropsWithoutRef, PropsWithChildren, ReactElement } from 'react'; import { ViewStyle, ScrollView, ScrollViewProps, StyleProp } from 'react-native'; import createThemedComponent, { ThemeProps, ThemeStyle } from '../createThemedComponent'; export default createThemedComponent< ScrollViewProps, { style: ViewStyle; contentContainerStyle: ViewStyle; }, Pick >( ScrollView, ['style', 'contentContainerStyle'], ['endFillColor', 'indicatorStyle'] ) as ( props: PropsWithChildren< PropsWithoutRef< Omit< ScrollViewProps, 'style' | 'contentContainerStyle' | 'endFillColor' | 'indicatorStyle' > & ThemeProps> & { [K in 'style' | 'contentContainerStyle']?: StyleProp< ThemeStyle >; } > > & RefAttributes ) => ReactElement | null;