import React from 'react'; import type { FlatListProps, ScrollViewProps as RnScrollViewProps, SectionListProps } from 'react-native'; import type { ActionGroupProps } from '../FAB/ActionGroup'; import type { FABProps } from '../FAB/FAB'; interface AnimatedScrollerProps { /** * Scroll component, it can be ScrollView, FlatList or SectionList. */ ScrollComponent: React.ReactElement | SectionListProps>; /** * FAB or FAB.ActionGroup props. */ fabProps: FABProps | ActionGroupProps; } declare function AnimatedScroller({ ScrollComponent, fabProps, }: AnimatedScrollerProps): React.JSX.Element; export default AnimatedScroller;