declare class Utils { /** * Description 创建随机id,默认16位 * @author zzg * * @static * @param {number} [num=16] * @returns {string} */ static generateId(num?: number): string; /** * Description 字符串首字母大写|小写 * @author zzg * * @static * @param {string} str * @param {boolean} [toUpperCase=true] * @returns {string} */ static capitalize(str: string, toUpperCase?: boolean): string; /** * Description 合并对象方法 * @author zzg * * @static * @param {Record} target 目标对象 * @param {...Record[]} sources 源对象数组 * @returns {Record} */ static mergeMethods(target: Record, ...sources: Record[]): Record; } export default Utils;