import type { Errors } from '../native/ZoomVideoSdk'; /** * A class to operate the audio action. */ export declare type ZoomVideoSdkAudioHelperType = { /** * Start audio. */ startAudio: () => Promise; /** * Stop audio. */ stopAudio: () => Promise; /** * Mute user audio by userId. */ muteAudio: (userId: string) => Promise; /** * Unmute user audio by userId. */ unmuteAudio: (userId: string) => Promise; /** * Call the function to subscribe audio rawdata. */ subscribe: () => Promise; /** * Call the function to unsubscribe video or share raw data. */ unsubscribe: () => Promise; /** * Set audio speaker */ setSpeaker: (isOn: boolean) => Promise; /** * Get audio speaker status */ getSpeakerStatus: () => Promise; /** * Query if audio speaker enabled */ canSwitchSpeaker: () => Promise; /** * Reset audio session including category and mode. */ resetAudioSession: () => Promise; /** * Clean audio session including category and mode. */ cleanAudioSession: () => void; /** * Allow attendees to unmute themselves. */ allowAudioUnmutedBySelf: (allowUnmute: boolean) => void; /** * Mute all audio. */ muteAllAudio: (allowUnmute: boolean) => Promise; /** * Unmute all audio. */ unmuteAllAudio: () => Promise; /** * Sets the AVAudioSession environment for the current session. * Only iOS is supported. */ setSDKAudioSessionEnv: () => Promise; }; export declare class ZoomVideoSdkAudioHelper implements ZoomVideoSdkAudioHelperType { startAudio(): Promise; stopAudio(): Promise; muteAudio(userId: string): Promise; unmuteAudio(userId: string): Promise; subscribe(): Promise; unsubscribe(): Promise; setSpeaker(isOn: boolean): Promise; getSpeakerStatus(): Promise; canSwitchSpeaker(): Promise; resetAudioSession(): Promise; cleanAudioSession(): Promise; allowAudioUnmutedBySelf(allowUnmute: boolean): Promise; muteAllAudio(allowUnmute: boolean): Promise; unmuteAllAudio(): Promise; /** * Sets the AVAudioSession environment for Zoom Video SDK session (iOS only). * @returns If the function succeeds, it returns true. Otherwise, false. */ setSDKAudioSessionEnv(): Promise; }