import { TypedEvents } from 'events-constructor'; import { TInboundStats, TOutboundStats } from './types'; export type TEventMap = { collected: { outbound: TOutboundStats; inbound: TInboundStats; }; stopped: { reason: 'recv-session-started' | 'recv-session-ended' | 'recv-quality-changed' | 'call-ended'; }; }; export declare const EVENT_NAMES: readonly ["collected", "stopped"]; export type TEvents = TypedEvents; export declare const createEvents: () => TypedEvents;