import { LocaleType } from '../locale';
import { TimeAgoResultType } from './useTimeAgo';
export type DurationResultType = {
    year: number;
    month: number;
    day: number;
    hour: number;
    min: number;
    sec: number;
};
type DurationUnitType = keyof DurationResultType;
export declare function formatDuration(ms: number, maxUnit?: DurationUnitType): DurationResultType;
export declare function getCountWord(wordTemplate: string, count: number): string;
export declare function getTimeAgoStr(config: TimeAgoResultType, locale: LocaleType): string;
export {};
