import { FreeSwitchAnswerEvent, FreeSwitchCreateEvent, FreeSwitchDestroyEvent, FreeSwitchEvent } from "./cti_event"; import { EnumAgentStatus, EnumEarlyHangupReason } from "./types"; export declare const getChannelParty: (channel: string, presence?: string, internationalCodes?: ReadonlyArray, areaCode?: string) => string; export declare const normalizeNumber: (n: string, internationalCodes: ReadonlyArray, areaCode: string) => string; export declare const isAgentInboundCall: (e: FreeSwitchCreateEvent | FreeSwitchAnswerEvent, internationalCodes?: ReadonlyArray, areaCode?: string) => boolean; export declare const isAgentConsultCall: (e: FreeSwitchCreateEvent | FreeSwitchAnswerEvent | FreeSwitchDestroyEvent) => boolean; export declare const isAgentVideoCall: (e: FreeSwitchCreateEvent | FreeSwitchAnswerEvent) => boolean; export declare const getOtherParty: (e: FreeSwitchCreateEvent | FreeSwitchAnswerEvent | FreeSwitchDestroyEvent, internationalCodes?: ReadonlyArray, areaCode?: string, outboundPerfixCodes?: ReadonlyArray) => string; export declare const removeTelPerfix: (n: string, outboundPerfixCodes: ReadonlyArray) => string; export declare const getOtherPartyUUID: (e: FreeSwitchCreateEvent | FreeSwitchAnswerEvent | FreeSwitchDestroyEvent) => string; export declare const getCustomerParty: (e: FreeSwitchCreateEvent | FreeSwitchDestroyEvent) => string; declare type ConsultParam = Readonly<{ call_uuid: string; consult_party: string; }>; export declare const getConsultParty: (text: string) => ConsultParam | undefined; export declare const getGroupConsultParty: (text: string) => string | undefined; export declare const getTransferUUID: (text: string) => string; export declare const getConferenceUUID: (text: string) => string; export declare type ConferenceDialInfo = Readonly<{ conference_name: string; target: string; }>; export declare const extractConferenceDial: (arg: string) => ConferenceDialInfo; export declare const shortUUID: (uuid: string) => string; export declare const timestamp: (e: FreeSwitchEvent) => string; export declare const trunk_number: (e: FreeSwitchAnswerEvent | FreeSwitchCreateEvent) => string; export declare const updateExtensionRange: (min: string, max: string) => void; export declare const updateRoomIDRange: (min: string, max: string) => void; export declare const isExtensionNumber: (n: string) => boolean; export declare const isRoomNumber: (n: string) => boolean; export declare const isExternalNumber: (n: string) => boolean; export declare const addHostExtension: (agentId: string, host: string) => string; export declare const between: (n: string, begin: string, end: string) => boolean; export declare const earlyHangupReason: (e: FreeSwitchDestroyEvent, internationalCodes?: ReadonlyArray, areaCode?: string) => EnumEarlyHangupReason | ""; export declare const statusAgent: (arg: string) => string; export declare const statusExtension: (arg: string) => string; export declare const agentStatusCode: (arg: string) => EnumAgentStatus; export declare const registeredAgent: (arg: string) => string; export declare const registeredExtension: (arg: string) => string; export declare const agentStatusByMonitor: (arg: string) => boolean; export declare const getMonitorForceHandleParty: (text: string) => string; export declare const isValidNumber: (n: string) => boolean; export declare const isFullExtension: (n: string) => boolean; export declare const now: () => string; export declare const secTotime: (s: number) => string; export {};