import * as React from "react"; import { Animated, TextStyle, StyleProp } from "react-native"; import { DefaultTheme } from "styled-components"; declare type Props = React.ComponentPropsWithRef & { style?: StyleProp; /** * @optional */ theme?: DefaultTheme; }; /** * Text component which follows styles from the theme. * * @extends Text props https://reactnative.dev/docs/text#props */ declare function AnimatedText({ style, ...rest }: Props): JSX.Element; export default AnimatedText;