/** * 字符串安全转JSON */ export declare const safeJsonParse: (val: any) => any; /** * 判断值是否为空 */ export declare const isValueNone: (val: any) => boolean; /** * 判断值是否为空,在 isValueNone 基础上加上空数组 */ export declare const isValueEmpty: (val: any) => boolean; /** * 唯一标识 */ export declare const getUuid: () => string; /** * 转换枚举值 */ export declare const convertLegacyEnum: (prop: any, enumObj: any, defaultValue?: any) => any; /** * 判断数据源字段类型名称 */ export declare const getFieldsTypeName: (fields: any) => any; /** * 从 props 中取出 on 开头的 */ export declare const filterPropsWithOn: (props: any) => {}; /** * 深拷贝 * @param {*} value 需要拷贝的值 * @returns {*} 深拷贝后的值 * @example * const obj = { a: 1, b: { c: 2 } }; * const newObj = deepClone(obj); */ export declare const deepClone: (value: any) => any; /** 兼容旧属性 */ export declare const convertLegacyProps: (map: T, key: K, prop: string) => any;