/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ 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 | null) | (new (props: any) => React.Component)>) => React.ReactElement React.ReactElement | null) | (new (props: any) => React.Component)>; render(): JSX.Element; } export default Countdown;