import { PeerConnectionMonitor } from "../monitors/PeerConnectionMonitor"; import { Detector } from "./Detector"; export type IceConnectionFailedIssuePayload = { peerConnectionId: string; transportId: string; dtlsState?: string; selectedCandidatePairId?: string; everConnected: boolean; iceGeneration: number; durationInMs?: number; }; export type IceConnectionFailedDetectorConfig = Record; export declare class IceConnectionFailedDetector implements Detector { readonly peerConnection: PeerConnectionMonitor; static readonly ISSUE_TYPE = "ice-connection-failed"; readonly name = "ice-connection-failed-detector"; disabled: boolean; includeIssueInSample: boolean; private readonly _states; constructor(peerConnection: PeerConnectionMonitor); update(): void; private _checkTransport; private _usernameFragmentOf; private _getState; private _resolve; private _issueKey; }