import * as React from 'react'; export declare type valueType = number | string; export declare type countdownValueType = valueType | string; export declare type Formatter = false | 'number' | 'countdown' | ((value: valueType, config?: FormatConfig) => React.ReactNode); export interface FormatConfig { formatter?: Formatter; decimalSeparator?: string; groupSeparator?: string; precision?: number; prefixCls?: string; } export interface CountdownFormatConfig extends FormatConfig { format?: string; } export interface StatisticProps extends FormatConfig { prefixCls?: string; className?: string; style?: React.CSSProperties; value?: valueType; valueStyle?: React.CSSProperties; valueRender?: (node: React.ReactNode) => React.ReactNode; title?: React.ReactNode; prefix?: React.ReactNode; suffix?: React.ReactNode; } export interface CountdownProps extends StatisticProps { value?: countdownValueType; format?: string; onFinish?: () => void; }