import type { TimeData } from './type';
export interface TimeItem {
    digit: string;
    unit: string;
    match: string;
}
/**
 * 将毫秒数time转化为倒计时
 * @param time 倒计时时间，毫秒单位
 * @param format 倒计时格式化字符串，例如：dd天hh小时mm分ss秒SSS毫秒，hh:mm:ss.SSS，hh:mm:ss
 * @example
 * ```ts
 * transformTime(1000, 'hh:mm:ss')
 * ```
 */
export declare function transformTime(time: number, format: string): {
    timeText: string;
    timeList: TimeItem[];
    timeData: TimeData;
};
