import { ReplaySubject } from 'rxjs';
import { AngularFireMessaging } from '@angular/fire/compat/messaging';
import * as i0 from "@angular/core";
export interface Message {
    collapse_key: string;
    from: string;
    notification: {
        body: string;
        click_action: string;
        title: string;
    };
}
export declare class RxapFirebaseMessagingService {
    readonly messaging: AngularFireMessaging;
    readonly requestPermissionImminently: boolean;
    token$: ReplaySubject<string | null>;
    constructor(messaging: AngularFireMessaging, requestPermissionImminently?: boolean);
    requestPermission(): void;
    showNotification(title: string, body: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<RxapFirebaseMessagingService, [null, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<RxapFirebaseMessagingService>;
}
