1 | import type { ComponentClass, ComponentType, FunctionComponent } from 'react';
|
2 | import '../layoutReanimation/animationsManager';
|
3 | import type { AnimateProps } from '../helperTypes';
|
4 | import type { AnimatedComponentRef } from './commonTypes';
|
5 | import type { FlatList, FlatListProps } from 'react-native';
|
6 | type Options<P> = {
|
7 | setNativeProps: (ref: AnimatedComponentRef, props: P) => void;
|
8 | };
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare function createAnimatedComponent<P extends object>(component: FunctionComponent<P>, options?: Options<P>): FunctionComponent<AnimateProps<P>>;
|
17 | export declare function createAnimatedComponent<P extends object>(component: ComponentClass<P>, options?: Options<P>): ComponentClass<AnimateProps<P>>;
|
18 | export declare function createAnimatedComponent<P extends object>(component: ComponentType<P>, options?: Options<P>): FunctionComponent<AnimateProps<P>> | ComponentClass<AnimateProps<P>>;
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare function createAnimatedComponent(component: typeof FlatList<unknown>, options?: Options<any>): ComponentClass<AnimateProps<FlatListProps<unknown>>>;
|
24 | export {};
|
25 |
|
\ | No newline at end of file |