import { PeerConnectionMonitor } from "../monitors/PeerConnectionMonitor"; import { Detector } from "./Detector"; export type IceTransportStalledIssuePayload = { peerConnectionId: string; transportId: string; iceState?: string; candidatePairState?: string; selectedCandidatePairId?: string; direction: 'inbound'; stalledForMs: number; outboundBytesDelta?: number; inboundBytesDelta?: number; currentRoundTripTime?: number; lastPacketReceivedTimestamp?: number; iceGeneration: number; durationInMs?: number; }; export type IceTransportStalledDetectorConfig = { transportStallThresholdInMs: number; }; export declare class IceTransportStalledDetector implements Detector { readonly peerConnection: PeerConnectionMonitor; static readonly ISSUE_TYPE = "ice-transport-stalled"; readonly name = "ice-transport-stalled-detector"; disabled: boolean; includeIssueInSample: boolean; private readonly _states; constructor(peerConnection: PeerConnectionMonitor); private get config(); update(): void; private _checkTransport; private _expectsInboundMedia; private _usernameFragmentOf; private _getState; private _resolve; private _issueKey; }