import { HMSTrack } from './HMSTrack'; import { HMSTrackType } from './HMSTrackType'; import { HMSMediaStream } from '../streams'; export declare class HMSAudioTrack extends HMSTrack { readonly type: HMSTrackType; private audioElement; private outputDevice?; constructor(stream: HMSMediaStream, track: MediaStreamTrack, source?: string); getVolume(): number | null; setVolume(value: number): Promise; setAudioElement(element: HTMLAudioElement | null): void; /** * @internal * @returns {HTMLAudioElement | null} */ getAudioElement(): HTMLAudioElement | null; getOutputDevice(): MediaDeviceInfo | undefined; cleanup(): void; setOutputDevice(device?: MediaDeviceInfo): Promise; protected subscribeToAudio(value: boolean): Promise; }