import { AudioSourceEvent, EventSource, IAudioSource, IAudioStreamNode, Promise } from "../common/Exports"; import { IRecorder } from "./IRecorder"; export declare class MicAudioSource implements IAudioSource { private streams; private id; private events; private initializeDeferral; private recorder; private mediaStream; private context; constructor(recorder: IRecorder, audioSourceId?: string); TurnOn: () => Promise; Id: () => string; Attach: (audioNodeId: string) => Promise; Detach: (audioNodeId: string) => void; TurnOff: () => Promise; readonly Events: EventSource; private Listen; private OnEvent; private CreateAudioContext; private DestroyAudioContext; }