import { Animated } from 'react-native'; interface IUseAnimation { doAnimation: boolean; duration?: number; useNativeDriver?: boolean; toValue?: number; } /** * Animation create helper */ declare const useAnimation: ({ doAnimation, duration, useNativeDriver, toValue, }: IUseAnimation) => Animated.Value; export { useAnimation as default };