import {Notification} from './models/Notification'; export interface NotificationsAPI { newInvite(fromUid: string, toUid: string): Promise; notifyIfAllowed: (uid: string, notification: Notification) => Promise; }