import { TypedEvents } from 'events-constructor'; import { RTCSession } from '@krivega/jssip'; export declare enum Originator { LOCAL = "local", REMOTE = "remote", SYSTEM = "system" } export declare const EVENT_NAMES: readonly ["ringing", "declinedIncomingCall", "terminatedIncomingCall", "failedIncomingCall"]; export type TRemoteCallerData = { displayName: string; host: string; incomingNumber: string; }; export type TRemoteCallerDataWithRTCSession = TRemoteCallerData & { rtcSession: RTCSession; }; export type TEventMap = { ringing: TRemoteCallerDataWithRTCSession; declinedIncomingCall: TRemoteCallerDataWithRTCSession; terminatedIncomingCall: TRemoteCallerDataWithRTCSession; failedIncomingCall: TRemoteCallerDataWithRTCSession; }; export type TEvents = TypedEvents; export declare const createEvents: () => TypedEvents;