import { HttpErrorResponse } from '@angular/common/http'; import { NotificationsService } from 'angular2-notifications'; import { BehaviorSubject } from 'rxjs/BehaviorSubject'; import { ConfigService } from '../../config'; import { Message } from './message.interface'; export declare class MessageService { private notificationService; private configService; messages$: BehaviorSubject; private options; constructor(notificationService: NotificationsService, configService: ConfigService); showError(httpError: HttpErrorResponse): any; message(message: Message): any; success(text: string, title?: string, options?: any): any; error(text: string, title?: string, options?: any): any; info(text: string, title?: string, options?: any): any; alert(text: string, title?: string, options?: any): any; remove(id?: any): void; private addIcon(notification, icon); private handleTemplate(message); }