import { FCMProtocol } from './definitions'; export declare class FCM implements FCMProtocol { /** * Subscribe to fcm topic * @param options */ subscribeTo(options: { topic: string; }): Promise<{ message: string; }>; /** * Unsubscribe from fcm topic * @param options */ unsubscribeFrom(options: { topic: string; }): Promise<{ message: string; }>; /** * Get fcm token to eventually use from a serve * * Recommended to use this instead of * @usage * ```typescript * PushNotifications.addListener("registration", (token) => { * console.log(token.data); * }); * ``` * because the native capacitor method, for apple, returns the APN's token */ getToken(): Promise<{ token: string; }>; /** * Remove local fcm instance completely */ deleteInstance(): Promise; }