/*! PrivMX Endpoint. Copyright © 2024 Simplito sp. z o.o. This file is part of the PrivMX Platform (https://privmx.dev). This software is Licensed under the PrivMX Free License. See the License for the specific language governing permissions and limitations under the License. */ import { RoomModel, SdpWithRoomModel, SetAnswerAndSetRemoteDescriptionModel, UpdateKeysModel, WebRtcInterface } from "../service/WebRtcInterface"; import { ConnectionType } from "./PeerConnectionsManager"; import { StreamRoomId } from "./types/ApiTypes"; import { WebRtcClient } from "./WebRtcClient"; export declare class WebRtcInterfaceImpl implements WebRtcInterface { private webRtcClient; constructor(webRtcClient: WebRtcClient); private methodsMap; isMainThread(): boolean; getClient(): WebRtcClient; methodCall(name: string, params: any): Promise; createOfferAndSetLocalDescription(model: RoomModel): Promise; createAnswerAndSetDescriptions(model: SdpWithRoomModel): Promise; setAnswerAndSetRemoteDescription(model: SetAnswerAndSetRemoteDescriptionModel): Promise; close(roomId: StreamRoomId): Promise; updateKeys(model: UpdateKeysModel): Promise; updateSessionId(streamRoomId: StreamRoomId, sessionId: number, connectionType: ConnectionType): Promise; }