export declare class utils { static getType(val: any): string; static isString(val: any): val is string; static isObject(val: any): val is object; static isArray(val: any): val is any[]; static isNumeric(val: any): boolean; static isDOM(val: any): val is HTMLElement; static isSVGDOM(val: any): val is SVGAElement; static isFunction(val: any): val is Function; static isNodeList(val: any): val is NodeList; static isRegExp(val: any): val is RegExp; static isEmpty(val: any): boolean; static isPromise(val: any): val is Promise; static isGlobalObj(val: any): boolean; static isNumber(val: any): boolean; static isBoolean(val: any): val is boolean; static isEqual(a: any, b: any): boolean; static sleepCall(fn: Function, timeout: number, obj: object): void; static getValue(data: object, key: string, defaultValue?: any): T; /** * 给指定对象设置属性值 * @param data 设置属性值对象 * @param key 设置属性key,属性key有多层可使用.区分 * @param value 设置属性值 * @param fn 自定义设置值回调 */ static setValue(data: object, key: string, value: any, fn?: Function): boolean; /** * 获取随机ID */ static getRandomID(): string; /** * 字符串有连接符-将自动转换成已首字母大写 * @param val 转换文本 * @param firstUpperCase 是否大写 */ static toHumpStr(val: string, firstUpperCase?: boolean): string; static humpToStr(val: string): string; static extend(desc: T, src: U, setReadOnly?: boolean, ignoreKeys?: string[]): T & U; static merge(obj1: T, obj2: U): T & U; /** * 将字符串转转换成对应的数据类型,遇到true|false转换成bool类型,遇到数字文本转换成数字类型数据 * @param data 要转换的数据 */ static val(data: any): T; static defineReadOnlyProperty(obj: object, propertyKey: string, propertyValue: any): void; static launchFullscreen(element: HTMLElement): void; static exitFullscreen(): void; static isFullScreen(): Boolean; static guid(): string; static getUri(queryString?: string): any; static getQuery(key: string, queryString?: string): string | undefined | null; /** * 获取字符串字节长度 * @param {string|number} val 输入字符串 */ static strLen(val: string | number): number; } export declare const defineReadonlyProperty: (target: any, propertyKey: string, propertyValue: any) => void; export declare const getEnvFromCommand: (commandList: string[]) => string; export declare const getCommand: (command: string[], cmdKey: string) => string | boolean;