import { Component } from 'react';
import PropTypes from 'prop-types';
export interface Props {
    endTime: number;
    onEnd?: (...args: any) => any;
    wrapClassName: string;
    prefixCls: string;
    format: string;
    padding: boolean;
    daysPadding: boolean;
}
declare class Countdown extends Component<Props, {
    ms: number;
}> {
    static propTypes: {
        endTime: PropTypes.Validator<number>;
        onEnd: PropTypes.Requireable<(...args: any[]) => any>;
        prefixCls: PropTypes.Requireable<string>;
        wrapClassName: PropTypes.Requireable<string>;
        format: PropTypes.Requireable<string>;
        padding: PropTypes.Requireable<boolean>;
        daysPadding: PropTypes.Requireable<boolean>;
    };
    static defaultProps: {
        prefixCls: string;
        wrapClassName: string;
        format: string;
        padding: boolean;
        daysPadding: boolean;
    };
    beginTime: number;
    interval: number;
    /** 计时器句柄 */
    timeCounter: any;
    /** 计数器用于校正定时器偏差 */
    count: number;
    constructor(props: Props);
    componentDidMount(): void;
    componentDidUpdate(prevProps: Props): void;
    componentWillUnmount(): void;
    initCounter: () => void;
    startCountDown: () => void;
    padNumber: (mark: string, num: number) => string | number;
    get parseTime(): {
        days: number;
        hours: number;
        minutes: number;
        seconds: number;
    };
    get formatTime(): JSX.Element[];
    render(): JSX.Element;
}
export default Countdown;
