import React from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { VisibleAnimationMetadata } from '../../enhancers'; declare const VIEWABILITY_CONFIG: { minimumViewTime: number; itemVisiblePercentThreshold: number; }; declare global { namespace JSX { interface IntrinsicAttributes { scrollAnimations?: VisibleAnimationMetadata[]; } } } export interface AnimatedFlatListProps { hideOnOffScreen?: boolean; style?: StyleProp; contentContainerStyle?: StyleProp; viewablityConfig?: typeof VIEWABILITY_CONFIG; children: React.ReactNode; } export interface SerializableAnimatedFlatListProps { hideOnOffScreen?: boolean; style?: ViewStyle; contentContainerStyle?: ViewStyle; viewablityConfig?: typeof VIEWABILITY_CONFIG; /** * @TJS-ignore this should not appear in the editor */ children: React.ReactNode; } export declare const AnimatedFlatList: React.FC; export {};