/** * 格式化时间显示 * @param time 时间戳或时间字符串 * @returns 格式化后的时间字符串 */ export declare const formatTime: (time?: number | string) => string; /** * 按指定键对数组进行分组 * @param list 要分组的数组 * @param getCategoryKey 分组键的获取函数 * @returns 分组后的对象 */ export declare const groupByCategory: (list: T[], getCategoryKey: (item: T) => string) => Record;