/** * @typedef {Object} StatsOptions * Used for testing to inject and extract methods. * @property {function} [createRTCSample] - Method for parsing an RTCStatsReport */ /** * Collects any WebRTC statistics for the given {@link PeerConnection} * @param {PeerConnection} peerConnection - Target connection. * @param {StatsOptions} options - List of custom options. * @return {Promise} Universally-formatted version of RTC stats. */ declare function getRTCStats(peerConnection: any, options: any): any; /** * Generate WebRTC stats report containing relevant information about ICE candidates for the given {@link PeerConnection} * @param {PeerConnection} peerConnection - Target connection. * @return {Promise} RTCIceCandidateStatsReport object */ declare function getRTCIceCandidateStatsReport(peerConnection: any): any; export { getRTCStats, getRTCIceCandidateStatsReport, };