import ApiRequester from '../utils/api-requester'; import type { UUID, CTITransfer } from '../domain/types'; import Relocation from '../domain/Relocation'; import ChatMessage from '../domain/ChatMessage'; import Voicemail from '../domain/Voicemail'; import Call, { CallResponse } from '../domain/Call'; type GetPresenceResponse = { presence: string; user_uuid: string; xivo_uuid: string; }; declare const _default: (client: ApiRequester, baseUrl: string) => { updatePresence: (presence: string) => Promise; listMessages: (participantUuid: UUID | null | undefined, limit?: number) => Promise>; sendMessage: (alias: string, msg: string, toUserId: string) => Promise; makeCall: (extension: string, fromMobile: boolean, lineId: number | null | undefined, allLines?: boolean | null | undefined) => Promise; cancelCall: (callId: number) => Promise; listCalls: () => Promise>; relocateCall(callId: number, destination: string, lineId: number | null | undefined, contact?: string | null | undefined): Promise; transferCall(callId: number, number: string, flow?: string): Promise; cancelCallTransfer: (transferId: string) => Promise; confirmCallTransfer: (transferId: string) => Promise; listVoicemails: () => Promise>; deleteVoicemail: (voicemailId: number) => Promise; getPresence: (contactUuid: UUID) => Promise; getStatus: (lineUuid: UUID) => Promise; fetchSwitchboardHeldCalls: (switchboardUuid: UUID) => Promise; holdSwitchboardCall: (switchboardUuid: UUID, callId: string) => Promise; answerSwitchboardHeldCall: (switchboardUuid: UUID, callId: string) => Promise; fetchSwitchboardQueuedCalls: (switchboardUuid: UUID) => Promise; answerSwitchboardQueuedCall: (switchboardUuid: UUID, callId: string) => Promise; sendFax: (extension: string, fax: string, callerId?: string | null | undefined) => Promise; }; export default _default; //# sourceMappingURL=ctid-ng.d.ts.map