import React, { ReactNode } from 'react'; import { Animated } from 'react-native'; interface ScaleProps { children: ReactNode; scale: boolean; } interface ScaleState { animatedScale: Animated.Value; } declare class Scale extends React.PureComponent { animatedScale: Animated.Value; constructor(props: ScaleProps); componentDidMount(): void; componentDidUpdate(prevProps: ScaleProps): void; render(): JSX.Element; } export default Scale;