import CallSession from './CallSession'; import type WebRTCPhone from './Phone/WebRTCPhone'; export type ConferenceParticipant = { admin: boolean; call_id: string; caller_id_name: string; caller_id_number: string; id: string; join_time: number; language: string; muted: boolean; user_uuid: string; }; export type ConferenceParticipants = { items: Array; total: number; }; export type ConferenceArguments = { phone: WebRTCPhone; host: CallSession; finished?: boolean; participants: Record; started?: boolean; answerTime?: number | null | undefined; conferenceId?: string | null | undefined; muted?: boolean; paused?: boolean; }; export default class AdHocAPIConference { phone: WebRTCPhone; host: CallSession; participants: Record; started: boolean; finished: boolean; conferenceId: string; answerTime: number | null | undefined; muted: boolean; paused: boolean; constructor({ phone, host, participants, started, finished, answerTime, conferenceId, muted, paused, }: ConferenceArguments); start(): Promise; getParticipants(): CallSession[]; addParticipant(newParticipant: CallSession): Promise; participantHasLeft(leaver: CallSession): AdHocAPIConference; hasParticipants(): boolean; mute(): AdHocAPIConference; unmute(): AdHocAPIConference; hold(): AdHocAPIConference; resume(): AdHocAPIConference; isOnHold(): boolean; isMuted(): boolean; hangup(): Promise; removeParticipant(participantToRemove: CallSession): Promise; } //# sourceMappingURL=AdHocAPIConference.d.ts.map