type IProcessData = { localSdp?: string; remoteSdp?: string; dialogId?: string; remoteStream?: MediaStream; }; type TTryProcess = "StartTry" | "CreateLocalSdp" | "SetLocalSdp" | "GetRemoteSdp" | "SetRemoteSdp" | "Playing" | "ErrorClosed"; type TTryType = "Webrtc" | "Bvrtc" | "AutoWebrtc" | "AutoBvrtc"; type ActionStage = "Begin" | "End"; type TDialogStep = "Init" | "Inited" | `${TTryType}_${TTryProcess}`; interface IProcessInfoData { step: TDialogStep; setpStage: ActionStage; data: IProcessData; error?: string; } export declare class PuPlayerDialogDiagnosis { open(params: { channelInfo: { id: string; index: number; media: { audio?: boolean; video?: boolean; }; }; container: HTMLElement; locale?: "zh" | "en"; token: string; testErrorStatus?: Array; onProcess?: (processes: Array) => void; }, type?: "webrtc" | "bvrtc" | "auto"): { close(): void; }; } export {};