/** * A factory to create notifications. It implements identity map so there is * one and only one representation of a notification in the system. * * @example * const notification = NotificationFactory.create({ id }); * notification.fetch(); */ export default class NotificationFactory { static identityMap: Map; static create(data: any): any; static cacheInstance(instance: any): void; }