export declare function isString(val: any): boolean; export declare function isBoolean(val: any): boolean; export declare function isNumber(val: any): boolean; export declare function isObject(val: any): boolean; export declare function isDate(value: any): boolean; export declare function isFunction(val: any): boolean; export declare function isUndefined(val: any): boolean; /** * 判断是否为null,此函数undefined也表示为null * @param val -需要判断的对象 * @returns */ export declare function isNull(val: any): boolean; export declare function isEmptyArray(list?: any[]): boolean; export declare function type(val: any): any; export declare function isAtomic(val: any): boolean; export declare function isAtomicType(valType: string): boolean; export interface CopyConf { copyNull: boolean; copyUndefined: boolean; } /** * 深度复制属性 * @param dest -目标对象 * @param srcList -需要复制的对象 * @returns */ export declare function depthCopyProps(dest: any, ...srcList: any[]): any; /** * 为目标对象设置默认值 * @param dest -目标对象 * @param srcList -默认值 * @returns */ export declare function setDefaultValues(dest: any, ...srcList: any[]): any; export declare const depthCopyPropsIf: typeof setDefaultValues; export declare function depthCopyPropsWithConf(conf: CopyConf, dest: any, ...srcList: any[]): any; /** * 克隆 * @param data -克隆的对象 * @returns */ export declare function clone(data: any): any; /** * 序列执行 * @param fns -需要执行的函数 * @param target -目标对象 * @param args -参数 * @param assert -断言 * @returns */ export declare function queueInvoke(fns: undefined | Function | Function[], target: any, args: any[], assert?: (value: any) => boolean | Promise): Promise; export declare function invoke(fns: undefined | Function | Function[], target: any, args: any[]): any; export declare const CLASS_INST_MAP: Record>; export interface EmptyConstructor { new (...args: any[]): unknown; } export declare function getClassDefaultInstance(clazz: EmptyConstructor, factory?: () => any, key?: string): any; export declare function getClassDefaultValue(clazz: EmptyConstructor, propertyKey: string, instFactory?: () => any, instKey?: string): any;