import type { ViewStyle } from 'react-native'; import { Animated } from 'react-native'; declare type UseAnimation = { from: ViewStyle; to: ViewStyle; duration: number; useNativeDriver: boolean; skipIfReduceMotionEnabled?: boolean; }; export declare const useAnimation: ({ duration, useNativeDriver, from, to, skipIfReduceMotionEnabled, }: UseAnimation) => { animatedStyle: { [x: string]: any; }; progress: Animated.Value; play: (toValue?: number) => Animated.CompositeAnimation; }; export {};