import { Event } from 'event-target-shim/index'; declare type RTCPeerConnectionErrorFunc = 'addTransceiver' | 'getTransceivers' | 'addTrack' | 'removeTrack'; /** * @brief This class Represents internal error happening on the native side as * part of asynchronous invocations to synchronous web APIs. */ export default class RTCErrorEvent extends Event { readonly func: RTCPeerConnectionErrorFunc; readonly message: string; constructor(type: TEventType, func: RTCPeerConnectionErrorFunc, message: string); } export {};