import { IcePathKind } from "../monitors/IceCandidatePairMonitor"; import { PeerConnectionMonitor } from "../monitors/PeerConnectionMonitor"; import { Detector } from "./Detector"; export type UnstableIcePathIssuePayload = { peerConnectionId: string; pathKey: string; transportId?: string; switches: number; windowInMs: number; kind?: IcePathKind; nativePairChanges?: number; durationInMs?: number; }; export type UnstableIcePathDetectorConfig = { pathSwitchWindowInMs: number; pathSwitchThreshold: number; }; export declare class UnstableIcePathDetector implements Detector { readonly peerConnection: PeerConnectionMonitor; static readonly ISSUE_TYPE = "unstable-ice-path"; readonly name = "unstable-ice-path-detector"; disabled: boolean; includeIssueInSample: boolean; private readonly _states; constructor(peerConnection: PeerConnectionMonitor); private get config(); update(): void; private _checkTransport; private _getState; private _resolve; private _issueKey; }