/** * 列表日期显示格式:日期 `YYYY-MM-DD`,日期时间 `YYYY-MM-DD HH:mm:ss`,按浏览器本地时区。 * @author nokecy */ /** * 将时间格式化为 yyyy-MM-dd HH:mm:ss 格式 * @param value 时间值(字符串、Date对象或null/undefined) * @returns 格式化后的时间字符串,如果输入无效则返回空字符串 */ export declare const formatDateTime: (value: string | Date | null | undefined) => string; /** * 将时间格式化为 yyyy-MM-dd 格式 * @param value 时间值(字符串、Date对象或null/undefined) * @returns 格式化后的日期字符串,如果输入无效则返回空字符串 */ export declare const formatDate: (value: string | Date | null | undefined) => string;