import { ITUICallService, ICallParams, IGroupCallParams, ICallbackParam, ISelfInfoParams, IInviteUserParams, IJoinInGroupCallParams, IInitParams, ICallsParams } from '../interface/ICallService'; import { LOG_LEVEL, VideoDisplayMode, VideoResolution, FeatureButton, LayoutMode } from '../const/index'; import { ITUIGlobal, ITUIStore } from '../interface/index'; declare const TUIGlobal: ITUIGlobal; declare const TUIStore: ITUIStore; declare const uiDesign: import("./UIDesign").IUIDesign; export { TUIGlobal, TUIStore, uiDesign }; export default class TUICallService implements ITUICallService { static instance: TUICallService; _tuiCallEngine: any; private _tim; private _TUICore; private _timerId; private _startTimeStamp; private _bellContext; private _isFromChat; private _currentGroupId; private _preDevicePermission; private _offlinePushInfo; private _permissionCheckTimer; private _chatCombine; private _engineEventHandler; private _wasmReadyPromise; private _wasmReadyResolve; private _isInitialized; constructor(); static getInstance(): TUICallService; _loadWasm(): void; init(params: IInitParams): Promise; _doInit(params: IInitParams): Promise; destroyed(): Promise; call(callParams: ICallParams): Promise; groupCall(groupCallParams: IGroupCallParams): Promise; inviteUser(params: IInviteUserParams): Promise; joinInGroupCall(params: IJoinInGroupCallParams): Promise; calls(callsParams: ICallsParams): Promise; join(params: any): Promise; getTUICallEngineInstance(): any; setLogLevel(level: LOG_LEVEL): void; setLanguage(language: string): void; enableFloatWindow(enable: boolean): void; setSelfInfo(params: ISelfInfoParams): Promise; enableVirtualBackground(enable: boolean): Promise; enableAIVoice(enable: boolean): Promise; setCallingBell(filePath?: string): Promise; enableMuteMode(enable: boolean): Promise; hideFeatureButton(buttonName: FeatureButton): void; setLocalViewBackgroundImage(url: string): void; setRemoteViewBackgroundImage(userId: string, url: string): void; setLayoutMode(layoutMode: LayoutMode): void; setCameraDefaultState(isOpen: boolean): void; enableAISubtitle(enable: boolean): void; callExperimentalAPI(jsonStr: string): void; accept(): Promise; hangup(): Promise; reject(): Promise; openCamera(videoViewDomID: string): Promise; closeCamera(): Promise; openMicrophone(): Promise; closeMicrophone(): Promise; unMuteSpeaker(): void; muteSpeaker(): void; switchScreen(userId: string): void; switchCallMediaType(): Promise; switchCamera(): Promise; setSoundMode(type?: string): void; setBlurBackground(enable: boolean): Promise; switchDevice(params: any): Promise; getDeviceList(deviceType: string): Promise; private _addListenTuiCallEngineEvent; private _removeListenTuiCallEngineEvent; beforeCalling: ((...args: any[]) => void) | undefined; afterCalling: ((...args: any[]) => void) | undefined; onMinimized: ((...args: any[]) => void) | undefined; onMessageSentByMe: ((...args: any[]) => void) | undefined; kickedOut: ((...args: any[]) => void) | undefined; statusChanged: ((...args: any[]) => void) | undefined; setCallback(params: ICallbackParam): void; toggleMinimize(): void; executeExternalBeforeCalling(): void; executeExternalAfterCalling(): void; handleExceptionExit(event?: any): Promise; handlePusherError(event: any): void; setVideoDisplayMode(displayMode: VideoDisplayMode): void; setVideoResolution(resolution: VideoResolution): Promise; startTimer(): void; private _handleCallError; private _updateCallStoreBeforeCall; private _updateCallStoreAfterCall; private _getFeatureButtonDefaultState; private _updateCallDuration; private _stopTimer; private _cleanupAllAvoidRepeatCallState; private _resetCallStore; getGroupMemberList(count: number, offset: number): Promise; getGroupProfile(): Promise; private _handleCallStatusChange; private _watchTUIStore; private _unwatchTUIStore; bindTUICore(TUICore: any): void; getTim(): any; setIsFromChat(isFromChat: boolean): void; setCurrentGroupId(groupId: string): void; getCurrentGroupId(): string; setDefaultOfflinePushInfo(offlinePushInfo: any): void; getDefaultOfflinePushInfo(): any; getCallMessage(message: any): Promise; }