UNPKG

3.66 kBTypeScriptView Raw
1import type { Extrapolate as _Extrapolate } from './interpolateColor';
2import type { SharedValue as _SharedValue, AnimatedTransform as _AnimatedTransform, AnimateStyle as _AnimateStyle, StylesOrDefault as _StylesOrDefault, EasingFunction as _EasingFunction } from './commonTypes';
3import type { DerivedValue as _DerivedValue } from './hook/useDerivedValue';
4import type { TransformStyleTypes as _TransformStyleTypes, Adaptable as _Adaptable, AdaptTransforms as _AdaptTransforms, AnimateProps as _AnimateProps } from './helperTypes';
5import type { AnimatedScrollViewProps as _AnimatedScrollViewProps } from './component/ScrollView';
6import type { FlatListPropsWithLayout as _FlatListPropsWithLayout } from './component/FlatList';
7export { createAnimatedComponent } from './createAnimatedComponent';
8export { AnimatedText as Text } from './component/Text';
9export { AnimatedView as View } from './component/View';
10export { AnimatedScrollView as ScrollView } from './component/ScrollView';
11export { AnimatedImage as Image } from './component/Image';
12export { ReanimatedFlatList as FlatList } from './component/FlatList';
13export { addWhitelistedNativeProps, addWhitelistedUIProps, } from './ConfigHelper';
14/**
15 * @deprecated Please import `Extrapolate` directly from
16 * `react-native-reanimated` instead of `Animated` namespace.
17 */
18export type Extrapolate = typeof _Extrapolate;
19/**
20 * @deprecated Please import `SharedValue` directly from
21 * `react-native-reanimated` instead of `Animated` namespace.
22 */
23export type SharedValue<T> = _SharedValue<T>;
24/**
25 * @deprecated Please import `DerivedValue` directly from
26 * `react-native-reanimated` instead of `Animated` namespace.
27 */
28export type DerivedValue<T> = _DerivedValue<T>;
29/**
30 * @deprecated Please import `Adaptable` directly from `react-native-reanimated`
31 * instead of `Animated` namespace.
32 */
33export type Adaptable<T> = _Adaptable<T>;
34/**
35 * @deprecated Please import `TransformStyleTypes` directly from
36 * `react-native-reanimated` instead of `Animated` namespace.
37 */
38export type TransformStyleTypes = _TransformStyleTypes;
39/**
40 * @deprecated Please import `AdaptTransforms` directly from
41 * `react-native-reanimated` instead of `Animated` namespace.
42 */
43export type AdaptTransforms<T> = _AdaptTransforms<T>;
44/**
45 * @deprecated Please import `AnimatedTransform` directly from
46 * `react-native-reanimated` instead of `Animated` namespace.
47 */
48export type AnimatedTransform = _AnimatedTransform;
49/**
50 * @deprecated Please import `AnimateStyle` directly from
51 * `react-native-reanimated` instead of `Animated` namespace.
52 */
53export type AnimateStyle<S> = _AnimateStyle<S>;
54/**
55 * @deprecated Please import `StylesOrDefault` directly from
56 * `react-native-reanimated` instead of `Animated` namespace.
57 */
58export type StylesOrDefault<S> = _StylesOrDefault<S>;
59/**
60 * @deprecated Please import `AnimateProps` directly from
61 * `react-native-reanimated` instead of `Animated` namespace.
62 */
63export type AnimateProps<P extends object> = _AnimateProps<P>;
64/**
65 * @deprecated Please import `EasingFunction` directly from
66 * `react-native-reanimated` instead of `Animated` namespace.
67 */
68export type EasingFunction = _EasingFunction;
69/**
70 * @deprecated Please import `AnimatedScrollViewProps` directly from
71 * `react-native-reanimated` instead of `Animated` namespace.
72 */
73export type AnimatedScrollViewProps = _AnimatedScrollViewProps;
74/**
75 * @deprecated Please import `FlatListPropsWithLayout` directly from
76 * `react-native-reanimated` instead of `Animated` namespace.
77 */
78export type FlatListPropsWithLayout<T> = _FlatListPropsWithLayout<T>;
79//# sourceMappingURL=Animated.d.ts.map
\No newline at end of file