1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | import { FirebaseApp, _FirebaseService } from '@firebase/app';
|
18 | import { MessagePayload, NextFn, Observer } from './interfaces/public-types';
|
19 | import { FirebaseAnalyticsInternalName } from '@firebase/analytics-interop-types';
|
20 | import { FirebaseInternalDependencies } from './interfaces/internal-dependencies';
|
21 | import { LogEvent } from './interfaces/logging-types';
|
22 | import { Provider } from '@firebase/component';
|
23 | import { _FirebaseInstallationsInternal } from '@firebase/installations';
|
24 | export declare class MessagingService implements _FirebaseService {
|
25 | readonly app: FirebaseApp;
|
26 | readonly firebaseDependencies: FirebaseInternalDependencies;
|
27 | swRegistration?: ServiceWorkerRegistration;
|
28 | vapidKey?: string;
|
29 | deliveryMetricsExportedToBigQueryEnabled: boolean;
|
30 | onBackgroundMessageHandler: NextFn<MessagePayload> | Observer<MessagePayload> | null;
|
31 | onMessageHandler: NextFn<MessagePayload> | Observer<MessagePayload> | null;
|
32 | logEvents: LogEvent[];
|
33 | isLogServiceStarted: boolean;
|
34 | constructor(app: FirebaseApp, installations: _FirebaseInstallationsInternal, analyticsProvider: Provider<FirebaseAnalyticsInternalName>);
|
35 | _delete(): Promise<void>;
|
36 | }
|