import { Detector } from "./Detector"; import { OutboundTrackMonitor } from "../monitors/OutboundTrackMonitor"; export type SilenceKind = 'digital-silence' | 'below-threshold' | 'no-samples'; export type SilentAudioSourceIssuePayload = { peerConnectionId: string; trackId: string; silenceKind: SilenceKind; rmsAudioLevel?: number; silentForInMs: number; capturedForInMs?: number; deviceLabel?: string; }; export type SilentAudioSourceDetectorConfig = { silenceThresholdInMs: number; silenceRmsThreshold: number; recoveryRmsThreshold: number; }; export declare class SilentAudioSourceDetector implements Detector { readonly trackMonitor: OutboundTrackMonitor; static readonly ISSUE_TYPE = "silent-audio-source"; readonly name = "silent-audio-source-detector"; disabled: boolean; includeIssueInSample: boolean; private readonly _issueKey; private _raised; private _silentForInMs; private _capturedForInMs?; constructor(trackMonitor: OutboundTrackMonitor); private get config(); private get peerConnection(); update(): void; private _clear; }