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