import type { VNodeTypes } from 'vue';
export type valueType = number | string;
export type countdownValueType = number | string;
export type Formatter = false | 'number' | 'countdown' | (({ value, config }: {
    value: valueType;
    config?: FormatConfig;
}) => VNodeTypes);
export interface FormatConfig {
    formatter?: Formatter;
    decimalSeparator?: string;
    groupSeparator?: string;
    precision?: number;
    prefixCls?: string;
}
export interface CountdownFormatConfig extends FormatConfig {
    format?: string;
}
export declare function formatTimeStr(duration: number, format: string): string;
export declare function formatCountdown(value: valueType, config: CountdownFormatConfig): string;
export declare function formatCounter(value: valueType, config: CountdownFormatConfig, down: boolean): string;
