import * as React from 'react'; import { Animated, TextStyle } from 'react-native'; export interface IMDAmountProps { style?: TextStyle | TextStyle[]; amount: number | string; precision?: number; symbol?: string; thousand?: string; decimal?: string; format?: string; fontFamily?: string; fontSize?: number; color?: string; mask?: boolean; transition?: boolean; fontHeight?: number; containerHeight?: number; containerStyle?: TextStyle | TextStyle[]; duration?: number; autoStart?: boolean; } export interface IMDAmountState { animatedValue: Animated.Value; } export default class MDAmount extends React.Component { static defaultProps: { precision: number; symbol: string; thousand: string; decimal: string; format: string; fontFamily: string; mask: boolean; startAnim: boolean; transition: boolean; }; constructor(props: IMDAmountProps); private oldAmount; componentDidMount(): void; componentWillReceiveProps(nextProps: IMDAmountProps): void; render(): JSX.Element; private formatMoney; private genFontStyle; private renderAnimAmount; private renderColumnCells; private startTransition; }