import { IOService } from './io'; export interface MediaInfo { selfTag: HTMLMediaElement; peerTag: HTMLMediaElement; } export declare class MediaChannel { stream: any; remoteStream: any; private microphone?; private readonly audioContext; constructor(stream: any); static getUserMediaAsChannel(io: IOService): Promise; startMicrophone(): void; bindVideo(el: any): void; private getAudioContext; }