import React from 'react'; import type { FlatListProps } from 'react-native'; import { FlatList } from 'react-native'; import type { ILayoutAnimationBuilder } from '../layoutReanimation/animationBuilder/commonTypes'; import type { AnimatedProps } from '../helperTypes'; declare const AnimatedFlatList: React.ComponentClass>, any>; interface ReanimatedFlatListPropsWithLayout extends AnimatedProps> { /** * Lets you pass layout animation directly to the FlatList item. Works only * with a single-column `Animated.FlatList`, `numColumns` property cannot be * greater than 1. */ itemLayoutAnimation?: ILayoutAnimationBuilder; /** * Lets you skip entering and exiting animations of FlatList items when on * FlatList mount or unmount. */ skipEnteringExitingAnimations?: boolean; /** Property `CellRendererComponent` is not supported in `Animated.FlatList`. */ CellRendererComponent?: never; } export type FlatListPropsWithLayout = ReanimatedFlatListPropsWithLayout; interface AnimatedFlatListComplement extends FlatList { getNode(): FlatList; } export declare const ReanimatedFlatList: (props: ReanimatedFlatListPropsWithLayout & { ref?: React.ForwardedRef> | undefined; }) => React.ReactElement; export type ReanimatedFlatList = typeof AnimatedFlatList & AnimatedFlatListComplement; export {}; //# sourceMappingURL=FlatList.d.ts.map