import type { ComponentClass, ComponentType, FunctionComponent } from 'react'; import type { FlatList, FlatListProps } from 'react-native'; import type { AnimatedProps } from '../helperTypes'; import type { Options } from './AnimatedComponent'; type AnimatableComponent> = C & { jsProps?: string[]; }; /** * Lets you create an Animated version of any React Native component. * * @param component - The component you want to make animatable. * @returns A component that Reanimated is capable of animating. * @see https://docs.swmansion.com/react-native-reanimated/docs/core/createAnimatedComponent */ export declare function createAnimatedComponent

(component: AnimatableComponent>, options?: Options

): FunctionComponent>; export declare function createAnimatedComponent

(component: AnimatableComponent>, options?: Options

): ComponentClass>; export declare function createAnimatedComponent

(component: AnimatableComponent>, options?: Options

): FunctionComponent> | ComponentClass>; /** * @deprecated Please use `Animated.FlatList` component instead of calling * `Animated.createAnimatedComponent(FlatList)` manually. */ export declare function createAnimatedComponent(component: AnimatableComponent>, options?: Options>): ComponentClass>>; export {}; //# sourceMappingURL=createAnimatedComponent.d.ts.map