import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { Call, Device } from '@twilio/voice-sdk'; import { ExtensionService } from '../../service/extension.service'; import { TwilioService } from '../../service/twilio.service'; import { Subscription } from 'rxjs'; import { IncomeingCallSocketService } from '../../service/incomeing-call-socket.service'; import { IpAddressService } from '../../service/ip-address.service'; import * as i0 from "@angular/core"; export declare class CallProgressComponent implements OnInit, OnChanges { private extensionService; private cdr; twilioService: TwilioService; private ipService; private incomeingCallSocketService; callData: any; selectedCallerId: any; newIncomingCallData?: Call; newIncomingCallsList: any; callerIdList: any; missCallInfo: any; deviceId: any; callAction: any; conferenceCallInfo: any; userId: any; endCallEvent: EventEmitter; incomingCallsNewInfo: EventEmitter; minimiseEvent: EventEmitter; device?: Device; call: Call | any; showRingAnimation: boolean; timer: string; intervalId: any; showKeypad: boolean; keypadVal: any[]; callInput: string; isMute: boolean; disbaleEndCallBtn: boolean; showClearBtn: boolean; isCollops: boolean; currentCall: any; isConference: boolean; isOutgoingCall: boolean; incomingCallInitiated: EventEmitter; isLoadershown: EventEmitter; endIncomingCallEvent: EventEmitter; callSid: any; isRecording: boolean; isPaused: boolean; timerSubscription?: Subscription; timeElapsed: number; recordCall: boolean; incomingCallSid: any; callStatus: string; incomingRecordCall?: any; selectedIncomingCall: any; showContactsPanel: boolean; isAddRemoveParticipant: boolean; isConcurrentIncoming: boolean; heldCall?: Call; isCallOnHold: boolean; contacts: any[]; currentCallList: any[]; conferenceId: any; allParticipentList: any; isClickExpand: boolean; isCallInProgress: boolean; isCurrentIncomingCallList: any; isConferenceCallHold: boolean; selectedUserInfo: any; isSearchVisible: boolean; isExpanded: boolean; searchText: string; filteredList: any; filteredParticipentList: any; showButton: boolean; isRinging: boolean; isDirectCallOptionShow: boolean; dialAlert: { msg: string; show: boolean; }; leftParticipent: any; conferenceCallList: any[]; isIncomingCallBtnDisable: boolean; isConnecting: boolean; hostnumber: any; isNewAddedCall: boolean; deviceNumberList: any; ourNumberInfo: any; currentConferenceCall: any; isReasonChecked: boolean; isAllAccepted: boolean; leaveReason: string; leaveHour: string; leaveMinute: string; hours: string[]; minutes: string[]; showHourDropdown: boolean; showMinuteDropdown: boolean; selectedConf: any; showConferenceWarningModal: boolean; pendingCallData: any; callNumberToast: { show: boolean; type: string; number: string; displayNum: string; }; isUnholdConferenceCall: any; conferenceCallNullCount: number; allConParticipentList: any; conferenceCallIDForParticipantList: any; private acceptedCallList; constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef, twilioService: TwilioService, ipService: IpAddressService, incomeingCallSocketService: IncomeingCallSocketService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; rejoinHost(callInfo: any): Promise; updatedParticipantList(participant: any): void; participantListIndo(participants: any): Promise; showCallingToast(number: string): void; getStatus(res: any): boolean; GetContactsList(): void; addRes: any; startCall(callData: any, isNewConference?: boolean): Promise; onMuteUser(c: any): Promise; onHoldCall(c: any): Promise; onEndIncomingCall(): Promise; onEndCall(c: any, isAllCallEnd?: boolean, isContect?: boolean): Promise; private initiateCall; onholdOrUnholdParticipant(payload: any): Promise<[] | undefined>; private addParticipantToCall; private addClientParticipant; private onMuteParticipant; private getRemoveParticipants; private getCallAuthId; private getOutgoingCallToken; private connectToDevice; private setupEventListeners; private startTimer; private stopTimer; private formatTime; private pad; private handleError; endConfereneceCall(conf?: any): void; endCall(isAllCallEnd?: boolean): Promise; toggleMute(isConference?: boolean): Promise; getCurrentCallInfo(): any; toggleKeypad(): void; toggleContactsPanel(callInfo?: any, isClose?: boolean): any; addRemoveParticipant(): Promise; waitingCallAccept(incomingCallInfo: any): Promise; add(data?: any, ourNumberInfo?: any, capturedCall?: Call): Promise; callContact(contact: any, isUnsavedNumber?: boolean): Promise; CallToUnsavedNumber(number: string, isNewConference?: boolean): Promise; onAddNewCall(callData: any, isNewConferenceCall?: boolean): void; confirmNewCall(): void; cancelNewCall(): void; getToNumber(dialedNumber: string): Promise; isInvalidNumber(number: string): Promise; showDialAlert(message: string): void; getAllParticipants(conferenceId: string): Promise; swapCalls(callInfo: any, isConferenceCall?: boolean): Promise; hasDetailedInfo(callData: any): boolean; onCallInputs(num: any): void; onCallInputEnter(ev: any): void; clearInputs(): void; isMinimised: boolean; minimiseDialpad(): void; maximiseDialpad(): void; toggleRecording(): void; startRecording(): void; stopRecording(): void; pauseRecording(): void; resumeRecording(): void; getTimeDifference(inputTime: string): string; startTimer1(): void; stopRecordingTimer(): void; getFormattedTime(): string; pollCallStatus(callAuthId: string): void; selectedIncomingCallInfo(data: any): void; onClickExpand(data: any): void; toggleSearch(): void; applyFilter(): void; checkTextHeight(): void; toggleText(): void; showDisconnectModal: boolean; onCallDisconnected(): void; endConference(): void; /** Combines the two 24-hour selects into leaveReason (HH:MM) */ onTimeChange(): void; toggleHourDropdown(): void; toggleMinuteDropdown(): void; selectHour(h: string): void; selectMinute(m: string): void; leaveConference(): void; convertHHMMToMinutes(time: string): number; onRejectCall(callInfo: any): void; isSelfNumber(participant: any): any; getName(number: any): string | null; getImg(number: any): any; get showEndAllButton(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }