import type { EventListener } from './EventManager.js'; import { type ICallingxModule, type EndCallReason, type EventData, type EventName, type EventParams, type CallingExpOptions, type DefaultDeviceEndpointType, type AudioEndpointsSnapshot, type VoipEventName, type VoipEventParams, type VoipEventData } from './types.js'; declare class CallingxModule implements ICallingxModule { private static readonly KEEP_ALIVE_STOP_DEBOUNCE_MS; private _isSetup; private _isOngoingCallsEnabled; private _keepAliveOwners; private _keepAliveResolve; private _keepAliveStopTimer; private titleTransformer; private eventManager; private voipEventManager; get canPostNotifications(): boolean; get isOngoingCallsEnabled(): boolean; get isSetup(): boolean; get isTelecomBacked(): boolean; setup: (options: CallingExpOptions) => void; wireAudioEngineSubscription(): void; unwireAudioEngineSubscription(): void; setShouldRejectCallWhenBusy: (shouldReject: boolean) => void; setDefaultAudioDeviceEndpointType: (endpointType: DefaultDeviceEndpointType) => void; getRegisteredCallIds: () => string[]; getAvailableAudioEndpoints: (callId: string) => Promise; requestAudioEndpointChange: (callId: string, endpointId: string) => Promise; getInitialEvents: () => EventData[]; getInitialVoipEvents: () => VoipEventData[]; setCurrentCallActive: (callId: string) => Promise; displayIncomingCall: (callId: string, phoneNumber: string, callerName: string, hasVideo: boolean) => Promise; answerIncomingCall: (callId: string) => Promise; startCall: (callId: string, phoneNumber: string, callerName: string, hasVideo: boolean) => Promise; updateDisplay: (callId: string, phoneNumber: string, callerName: string, incoming: boolean) => Promise; endCallWithReason: (callId: string, reason: EndCallReason) => Promise; isCallTracked: (callId: string) => boolean; hasRegisteredCall: () => boolean; setMutedCall: (callId: string, isMuted: boolean) => Promise; setOnHoldCall: (callId: string, isOnHold: boolean) => Promise; private keepAliveHoldTask; acquireBackgroundTask: (owner: string) => Promise; releaseBackgroundTask: (owner: string) => Promise; fulfillAnswerCallAction: (callId: string, didFail: boolean) => void; fulfillEndCallAction: (callId: string, didFail: boolean) => void; registerVoipToken: () => void; stopService: () => Promise; addEventListener: (eventName: T, callback: EventListener) => { remove: () => void; }; log: (message: string, level: "debug" | "info" | "warn" | "error") => void; } declare const module: CallingxModule; export default module; //# sourceMappingURL=CallingxModule.d.ts.map