1 |
|
2 | import type { AnimatedComponentProps, IAnimatedComponentInternal, IJSPropsUpdater, InitialComponentProps } from './commonTypes';
|
3 | declare class JSPropsUpdaterPaper implements IJSPropsUpdater {
|
4 | private static _tagToComponentMapping;
|
5 | private _reanimatedEventEmitter;
|
6 | constructor();
|
7 | addOnJSPropsChangeListener(animatedComponent: React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal): void;
|
8 | removeOnJSPropsChangeListener(animatedComponent: React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal): void;
|
9 | }
|
10 | declare class JSPropsUpdaterFabric implements IJSPropsUpdater {
|
11 | private static _tagToComponentMapping;
|
12 | private static isInitialized;
|
13 | constructor();
|
14 | addOnJSPropsChangeListener(animatedComponent: React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal): void;
|
15 | removeOnJSPropsChangeListener(animatedComponent: React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal): void;
|
16 | }
|
17 | declare class JSPropsUpdaterWeb implements IJSPropsUpdater {
|
18 | addOnJSPropsChangeListener(_animatedComponent: React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal): void;
|
19 | removeOnJSPropsChangeListener(_animatedComponent: React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal): void;
|
20 | }
|
21 | type JSPropsUpdaterOptions = typeof JSPropsUpdaterWeb | typeof JSPropsUpdaterFabric | typeof JSPropsUpdaterPaper;
|
22 | declare let JSPropsUpdater: JSPropsUpdaterOptions;
|
23 | export default JSPropsUpdater;
|
24 |
|
\ | No newline at end of file |