/** * @file dh-picture-client/utils * @desc 照片数字人端渲染 * @author zhangyue49 */ export declare class EventEmitter { private static instance; private events; private constructor(); static getInstance(): EventEmitter; on(eventName: string, cb: Function): void; emit(eventName: string, ...args: any[]): void; off(eventName: string, cb: Function): void; } export declare function fetchData(url: string): Promise; export declare const base64toArrayBuffer: (dataurl: string) => Uint8Array; export declare const getUrlParams: (name: string) => string | null; export declare const checkPlayUnMute: () => boolean | Promise; export declare function decryptAES(fileBuffer: ArrayBuffer): Promise; export declare function getWsHost(): string;