import { HandlerFactory, HandlerInterface, HandlerRunOptions, HandlerSendOptions, HandlerSendResult, HandlerReceiveOptions, HandlerReceiveResult, HandlerSendDataChannelOptions, HandlerSendDataChannelResult, HandlerReceiveDataChannelOptions, HandlerReceiveDataChannelResult } from './HandlerInterface'; import { IceParameters } from '../Transport'; import { RtpCapabilities } from '../RtpParameters'; import { SctpCapabilities } from '../SctpParameters'; export declare class ReactNative extends HandlerInterface { private _direction?; private _remoteSdp?; private _sendingRtpParametersByKind?; private _sendingRemoteRtpParametersByKind?; private _forcedLocalDtlsRole?; private _pc; private readonly _sendStream; private readonly _mapSendLocalIdTrack; private _nextSendLocalId; private readonly _mapRecvLocalIdInfo; private _hasDataChannelMediaSection; private _nextSendSctpStreamId; private _transportReady; /** * Creates a factory function. */ static createFactory(): HandlerFactory; constructor(); get name(): string; close(): void; getNativeRtpCapabilities(): Promise; getNativeSctpCapabilities(): Promise; run({ direction, iceParameters, iceCandidates, dtlsParameters, sctpParameters, iceServers, iceTransportPolicy, additionalSettings, proprietaryConstraints, extendedRtpCapabilities }: HandlerRunOptions): void; updateIceServers(iceServers: RTCIceServer[]): Promise; restartIce(iceParameters: IceParameters): Promise; getTransportStats(): Promise; send({ track, encodings, codecOptions, codec }: HandlerSendOptions): Promise; stopSending(localId: string): Promise; pauseSending(localId: string): Promise; resumeSending(localId: string): Promise; replaceTrack(localId: string, track: MediaStreamTrack | null): Promise; setMaxSpatialLayer(localId: string, spatialLayer: number): Promise; setRtpEncodingParameters(localId: string, params: any): Promise; getSenderStats(localId: string): Promise; sendDataChannel({ ordered, maxPacketLifeTime, maxRetransmits, label, protocol }: HandlerSendDataChannelOptions): Promise; receive(optionsList: HandlerReceiveOptions[]): Promise; stopReceiving(localIds: string[]): Promise; pauseReceiving(localIds: string[]): Promise; resumeReceiving(localIds: string[]): Promise; getReceiverStats(localId: string): Promise; receiveDataChannel({ sctpStreamParameters, label, protocol }: HandlerReceiveDataChannelOptions): Promise; private setupTransport; private assertSendDirection; private assertRecvDirection; } //# sourceMappingURL=ReactNative.d.ts.map