import { PeerConnectionMonitor } from "../monitors/PeerConnectionMonitor"; import { Detector } from "./Detector"; export type NoAvailableIceCandidateIssuePayload = { peerConnectionId: string; connectionState?: string; previousConnectionState?: string; iceGatheringState?: string; localIceCandidateCount: number; sustainedForInMs: number; durationInMs?: number; }; export type IceReachabilityDetectorConfig = { thresholdInMs: number; }; export declare class IceReachabilityDetector implements Detector { readonly peerConnection: PeerConnectionMonitor; static readonly ISSUE_TYPE = "no-available-ice-candidate"; readonly name = "ice-reachability-detector"; disabled: boolean; includeIssueInSample: boolean; private readonly _issueKey; private _previousConnectionState?; private _stateBeforeFailure?; private _waitingForInMs; private _everConnected; private _raisedAt?; constructor(peerConnection: PeerConnectionMonitor); private get config(); update(): void; private _resolve; }