import * as React from 'react'; import { StatisticProps } from './Statistic'; import { countdownValueType, FormatConfig } from './utils'; interface CountdownProps extends StatisticProps { value?: countdownValueType; format?: string; onFinish?: () => void; } declare class Countdown extends React.Component { static defaultProps: Partial; countdownId?: number; componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; syncTimer: () => void; startTimer: () => void; stopTimer: () => void; formatCountdown: (value: React.ReactText, config: FormatConfig) => string; valueRender: (node: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; render(): JSX.Element; } export default Countdown;