## API Report File for "@firebase/messaging-sw"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { FirebaseApp } from '@firebase/app';
import { NextFn } from '@firebase/util';
import { Observer } from '@firebase/util';
import { Unsubscribe } from '@firebase/util';

// @public
export function experimentalSetDeliveryMetricsExportedToBigQueryEnabled(messaging: Messaging, enable: boolean): void;

// @public
export interface FcmOptions {
    analyticsLabel?: string;
    link?: string;
}

// @public
export function getMessaging(app?: FirebaseApp): Messaging;

// @public
export interface GetTokenOptions {
    serviceWorkerRegistration?: ServiceWorkerRegistration;
    vapidKey?: string;
}

// @public
export function isSupported(): Promise<boolean>;

// @public
export interface MessagePayload {
    collapseKey: string;
    data?: {
        [key: string]: string;
    };
    fcmOptions?: FcmOptions;
    from: string;
    messageId: string;
    notification?: NotificationPayload;
}

// @public
export interface Messaging {
    app: FirebaseApp;
}

export { NextFn }

// @public
export interface NotificationPayload {
    body?: string;
    image?: string;
    title?: string;
}

export { Observer }

// @public
export function onBackgroundMessage(messaging: Messaging, nextOrObserver: NextFn<MessagePayload> | Observer<MessagePayload>): Unsubscribe;

export { Unsubscribe }


// (No @packageDocumentation comment for this package)

```
