import { EventBus } from '../events/EventBus'; import { HMSPeerStats, HMSTrackStats, PeerConnectionType } from '../interfaces/webrtc-stats'; import { IStore } from '../sdk/store'; export declare class HMSWebrtcStats { private getStats; private store; private readonly eventBus; private readonly TAG; private localPeerID?; private peerStats; private remoteTrackStats; private localTrackStats; /** * Removed localPeerID check in other places as it will be present before * this is initialized */ constructor(getStats: Record, store: IStore, eventBus: EventBus); getLocalPeerStats: () => HMSPeerStats | undefined; getRemoteTrackStats: (trackId: string) => HMSTrackStats | undefined; getAllRemoteTracksStats: () => Record; getLocalTrackStats: () => Record>; /** * @internal */ updateStats: () => Promise; private updateLocalPeerStats; private updateRemoteTrackStats; private updateLocalTrackStats; }