import type { HMSTrackType } from './HMSTrackType'; import { HMSAudioTrack } from './HMSAudioTrack'; import type { HMSTrackSource } from './HMSTrackSource'; export declare class HMSRemoteAudioTrack extends HMSAudioTrack { /** * Switches Audio of remote user on/off depending upon the value of playbackAllowed * * @param {boolean} playbackAllowed * @memberof HMSRemoteAudioTrack */ setPlaybackAllowed(playbackAllowed: boolean): void; isPlaybackAllowed: () => Promise; constructor(params: { trackId: string; source?: HMSTrackSource; isMute?: boolean; trackDescription?: string; playbackAllowed?: boolean; id: string; type?: HMSTrackType; }); }