import { AngularFireMessaging } from '@angular/fire/messaging'; import { FirebaseX } from '@innomobile-native/plugins'; import { Platform } from '@ionic/angular'; import { Observable } from 'rxjs'; import { PwaDataModel } from '../model/pwa-data.model'; export declare class FirebasePlatformService { private platform; private firebaseNative; private afMessaging; userToken: any; private messages; private debug; constructor(platform: Platform, firebaseNative: FirebaseX, afMessaging: AngularFireMessaging); init(pwaData?: PwaDataModel): Promise; logError(message: any): void; setUserId(id: any): void; setUserProperty(type: string, value: string): Promise; log(type: string, data: any): void; customLog(type: string, value: string): void; private getWebToken; getToken(): Promise; /** * Returns the new fcmToken or false if no token can be determined or is already in the list * @param fcmTokens Object of FCM Tokens */ setToken(fcmTokens: { [token: string]: true | false; }): Promise<{}>; patchToken(fcmTokens: { [token: string]: true | false; }): Promise; hasToken(fcmTokens: any, userToken: any): boolean; /** * Listen to notifications */ listenToNotifications(): Observable; }