import day from 'dayjs'; export declare const dayjs: typeof day; export type Day = day.Dayjs; /** ## `DayFormat` : 日期时间格式化模板常量集合 + 提供一组预定义的日期时间格式字符串,用于统一格式化输出 + 基于常见的日期时间显示需求设计,涵盖从完整日期时间到单个时间单位的不同粒度 @example dayjs配合使用 ```ts // 假设使用 day.js import { DayFormat,dayjs } from '@chzky/core' const date = dayjs() // 格式化日期 console.log(date.format(DAY_FORMAT.FULL)) // 2023-12-25 14:30 console.log(date.format(DAY_FORMAT.MIN)) // 30:45 ``` @category Constants */ export declare enum DayFormat { FULL = "YYYY-MM-DD HH:mm:ss", FULL_SHORT = "YYYY-MM-DD HH:mm", MONTH = "YYYY-MM", DAY = "YYYY-MM-DD", TIME = "HH:mm:ss", TIME_SHORT = "HH:mm", MIN = "mm:ss", SEC = "ss" } //# sourceMappingURL=mod.d.ts.map