/** 格式化时间: 05月08日 */ export declare function MMDD(date?: Date): string; /** 格式化时间: 05月08日 08:20*/ export declare function MMDDHHMM(date?: Date): string; /** 格式化时间: 2023/07/01 */ export declare function YYYYMMDD(date?: Date): string; /** 格式化时间: 2023/07/01 08:20 */ export declare function YYYYMMDDHHMM(date?: Date): string; /** 格式化时间: 2023/07/01 8:02 */ export declare function YYYYMMDDHMM(date?: Date): string; /** 格式化时间: 2023/7/1 */ export declare function YYYYMD(date?: Date): string; /** 格式化时间: 2023/7/1 8:25 */ export declare function YYYYMDHM(date?: Date): string; /** 可读化日期 */ export declare function readableDate(date?: string | Date | number, options?: { /** 相当于 isShort:true isYYYYMMDDHMM:true */ auto?: boolean; /** 把日期尽可能用「今天」、「昨天」、「前天」来替换,8 小时内的使用相对时间 */ isShort?: boolean; /** 2023/07/01 */ isYYYYMMDD?: boolean; /** 2023/7/1 */ isYYYYMD?: boolean; /** 2023/07/01 08:02 */ isYYYYMMDDHHMM?: boolean; /** 2023/07/01 8:02 */ isYYYYMMDDHMM?: boolean; }): string; /** 可读化时间,相当于 readableDate(date, { auto: true }) * 日期尽可能用「今天」、「昨天」、「前天」来替换,8 小时内的使用相对时间 */ export declare function readableTime(date?: string | Date | number): string; //# sourceMappingURL=readableDate.d.ts.map