import type { ApnsDeviceInfo } from './models'; import { AgentContext, ConnectionService, MessageSender } from '@credo-ts/core'; import { PushNotificationsApnsService } from './PushNotificationsApnsService'; export declare class PushNotificationsApnsApi { private messageSender; private pushNotificationsService; private connectionService; private agentContext; constructor(messageSender: MessageSender, pushNotificationsService: PushNotificationsApnsService, connectionService: ConnectionService, agentContext: AgentContext); /** * Sends a set request with the apns device info (token) to another agent via a `connectionId` * * @param connectionId The connection ID string * @param deviceInfo The APNS device info * @returns Promise */ setDeviceInfo(connectionId: string, deviceInfo: ApnsDeviceInfo): Promise; /** * Sends the requested apns device info (token) to another agent via a `connectionId` * Response for `push-notifications-apns/get-device-info` * * @param connectionId The connection ID string * @param threadId get-device-info message ID * @param deviceInfo The APNS device info * @returns Promise */ deviceInfo(options: { connectionId: string; threadId: string; deviceInfo: ApnsDeviceInfo; }): Promise; /** * Gets the apns device info (token) from another agent via the `connectionId` * * @param connectionId The connection ID string * @returns Promise */ getDeviceInfo(connectionId: string): Promise; }