import { EventEmitterProxy } from 'events-constructor'; import { CallManager } from '../CallManager'; import { ConnectionManager } from '../ConnectionManager'; import { TEventMap } from './events'; import { TChannels, TMediaState, TOptionsInfoMediaState } from './types'; declare class ApiManager extends EventEmitterProxy { private callManager?; constructor(); subscribe({ connectionManager, callManager, }: { connectionManager: ConnectionManager; callManager: CallManager; }): void; waitChannels(): Promise; waitSyncMediaState(): Promise<{ isSyncForced: boolean; }>; sendDTMF(tone: number | string): Promise; sendChannels({ inputChannels, outputChannels }: TChannels): Promise; sendEnterRoom(extraHeaders: string[]): void; sendMediaState({ cam, mic }: TMediaState, options?: TOptionsInfoMediaState): Promise; sendStats({ availableIncomingBitrate, }: { availableIncomingBitrate: number; }): Promise; sendRefusalToTurnOn(type: 'cam' | 'mic', options?: TOptionsInfoMediaState): Promise; sendRefusalToTurnOnMic(options?: TOptionsInfoMediaState): Promise; sendRefusalToTurnOnCam(options?: TOptionsInfoMediaState): Promise; sendAvailableContentedStream(): Promise; askPermissionToStartPresentation(): Promise; sendStoppedPresentation(): Promise; sendNotAvailableContentedStream(): Promise; askPermissionToEnableCam(options?: TOptionsInfoMediaState): Promise; private readonly getEstablishedRTCSessionProtected; private readonly handleSipEvent; private readonly maybeHandleNotify; private readonly handleNotify; private readonly handleNewInfo; private readonly triggerChannelsNotify; private readonly triggerWebcastStartedNotify; private readonly triggerWebcastStoppedNotify; private readonly triggerAddedToListModeratorsNotify; private readonly triggerRemovedFromListModeratorsNotify; private readonly triggerParticipationAcceptingWordRequest; private readonly triggerParticipationCancellingWordRequest; private readonly triggerParticipantMoveRequestToStream; private readonly triggerAccountChangedNotify; private readonly triggerAccountDeletedNotify; private readonly maybeTriggerConferenceParticipantTokenIssued; private readonly maybeTriggerChannels; private readonly triggerEnterRoom; private readonly triggerContentedStreamState; private readonly maybeTriggerParticipantMoveRequest; private readonly triggerMainCamControl; private readonly triggerMicControl; private readonly triggerUseLicense; private sendEnterRoomProtected; } export default ApiManager;