import { ToastrService } from 'ngx-toastr'; import { NetworkService } from './network/network.service'; import { AuthenticationService } from './network/authentication.service'; import { NotificationDTO } from '../../../common/entities/NotificationDTO'; import { UserDTO } from '../../../common/entities/UserDTO'; export interface CountedNotificationDTO extends NotificationDTO { count: number; } export declare class NotificationService { private toastr; private networkService; private authService; options: { positionClass: string; animate: string; }; countedNotifications: CountedNotificationDTO[]; numberOfNotifications: number; lastUser: UserDTO; constructor(toastr: ToastrService, networkService: NetworkService, authService: AuthenticationService); get Toastr(): ToastrService; groupNotifications(notifications: NotificationDTO[]): void; getServerNotifications(): Promise; success(text: string, title?: string): void; error(text: string, title?: string): void; warning(text: string, title?: string): void; info(text: string, title?: string): void; }