UNPKG

realm

Version:

Realm by MongoDB is an offline-first mobile database: an alternative to SQLite and key-value stores

17 lines 641 B
/** * Authentication provider where users identify using an API-key. */ export declare class PushClient { /** * Register this device with the user. * @param token - A Firebase Cloud Messaging (FCM) token, retrieved via the firebase SDK. * @returns A promise that resolves once the device has been registered. */ register(token: string): Promise<void>; /** * Deregister this device with the user, to disable sending messages to this device. * @returns A promise that resolves once the device has been deregistered. */ deregister(): Promise<void>; } //# sourceMappingURL=PushClient.d.ts.map