import * as React from 'react'; import { ComponentProps } from 'react'; import Reanimated from 'react-native-reanimated'; import { LegendListPropsBase, LegendListRef } from '@legendapp/list'; type KeysToOmit = "getEstimatedItemSize" | "getFixedItemSize" | "getItemType" | "keyExtractor" | "animatedProps" | "renderItem" | "onItemSizeChanged" | "itemsAreEqual" | "ItemSeparatorComponent"; type PropsBase = LegendListPropsBase>; interface AnimatedLegendListPropsBase extends Omit, KeysToOmit> { refScrollView?: React.Ref; } type OtherAnimatedLegendListProps = Pick, KeysToOmit>; type AnimatedLegendListProps = Omit, "refLegendList" | "ref"> & OtherAnimatedLegendListProps; type AnimatedLegendListDefinition = (props: AnimatedLegendListProps & { ref?: React.Ref; }) => React.ReactElement | null; declare const AnimatedLegendList: AnimatedLegendListDefinition; export { AnimatedLegendList, type AnimatedLegendListProps, type AnimatedLegendListPropsBase };