export enum NotificationType { INFO , SUCCESS , WARNING , ERROR } export interface INotification { message : string ; type : NotificationType ; } export interface INotificationHandler { handleNotification ( notification ) : void ; } interface INotificationService { notifyUser ( notification ) : void ; registerNotificationHandler ( handler ) : void ; deregisterNotificationHandler ( handler ) : void ; } export default INotificationService ;