import { DeviceInfo, ZegoLogger, ZegoDataReport, ZegoError } from '../src/zego.entity'; export declare class ClientUtil { static checkConfigParam(appid: number, server: string | Array, logger: ZegoLogger): boolean; static checkPriConfigParam(appid: number, dispatchServer: string, deviceInfo: DeviceInfo, anType: number, logger: ZegoLogger): boolean; static checkIllegalCharacters(str: string): boolean; static isUrl(str: string): boolean; static registerCallback(fName: string, option: { success?: Function; error?: Function; }, callbackList: { [index: string]: Function; }): void; static actionErrorCallback(fName: string, callbackList: { [index: string]: Function; }): Function; static actionSuccessCallback(fName: string, callbackList: { [index: string]: Function; }): Function; static logReportCallback(logEvent: string, dataReport: ZegoDataReport, reportSeq: number, callbackList: { [index: string]: Function; }): void; static proxyRes(dataReport: ZegoDataReport, reportSeq: number, resolve: any, reject: any): any; /** 错误管理 */ static getServerError(code: number): ZegoError; static unregisterCallback(fName: string, callbackList: { [index: string]: Function; }): void; static decodeServerError(code: number, msg: string): { code: number; message: string; }; static getLiveRoomError(code: number): boolean; static getKickoutError(code: number): { code: number; message: string; name?: string; }; static dataReportEvent(dataReport: ZegoDataReport, reportSeq: number, reportName: string, eventName: string, args: any): void; static isKeepTryLogin(code: number): boolean; static mergeUserList(logger: ZegoLogger, oldUserList: any[], newUserList: any[], callbackResult: (addUserList: any[], delUserList: any[]) => void): void; static checkInteger(num: number | undefined, positive?: boolean): boolean; static checkValidNumber(param: number, min?: number, max?: number): boolean; static generateRandumNumber(maxNum: number): number; static uuid(len?: number, radix?: number): string; static compareVersion(v1: string[] | string, v2: string | string[]): number; static getBrowser(): string; static isTestEnv(server: string): boolean; static getLogLevel(level: 'debug' | 'info' | 'warn' | 'error' | 'report' | 'disable'): number; static getUint64(byteOffset: number, littleEndian: boolean, dv: DataView): number; static decodeTokenExpire(token: string): number; }