import { IQueue, IWorker } from "../../models/CommonModels"; import { ParticipantBase, VoiceProperties } from "../Participants/participants.types"; import { ChannelParticipantType, ParticipantStatus } from "./Conferences.definitions"; /** * Conference participant * * @typedef ConferenceParticipant * @property {IQueue} [queue] queue associated with the participant (in case of transfer to queue) * @property {IWorker} [worker] worker associated with the participant * @property {string} callSid call SID associated with the voice connection of the participant * @property {boolean} isCurrentWorker is participant associated with the currently logged in user * @property {boolean} onHold is participant on hold * @property {boolean} muted is participant muted * @property {boolean} connecting is participant in connecting state * @property {ParticipantStatus} status status of the participant * @property {ChannelParticipantType} participantType type of the participant * @property {string} reservationSid reservation SID for the participant * @property {string} workerSid SID of the worker * @property {string} participantSid SID of the participant if external * @property {string} phoneNumber Phone number of the participant if external * @memberof ConferencesState */ type ConstructorArguments = [source: ParticipantBase, participantLeftTimestamp?: number]; type DeprecatedConstructorArguments = [ source: ParticipantBase, callSid?: string, participantLeftTimestamp?: number ]; export declare class ConferenceParticipant { private _source; private _participantSid; private _participantType; private _phoneNumber; participantLeftTimestamp: number | undefined; private deprecatedCallSid; constructor(...args: ConstructorArguments | DeprecatedConstructorArguments); /** * @private */ get source(): ParticipantBase; get worker(): IWorker; get queue(): IQueue; get mediaProperties(): VoiceProperties; get onHold(): boolean; get muted(): boolean; get connecting(): boolean; set participantType(participantType: ChannelParticipantType | undefined); get participantType(): ChannelParticipantType | undefined; get reservationSid(): string; get workerSid(): string; get status(): ParticipantStatus; get uniqueId(): string; get sid(): string; get isCurrentWorker(): boolean; get isMyself(): boolean; get callSid(): string | undefined; get participantSid(): string | undefined; get phoneNumber(): string | undefined; set participantSid(participantSid: string | undefined); set phoneNumber(phoneNumber: string | undefined); } export {};