import { BehaviorSubject } from "rxjs"; import * as i0 from "@angular/core"; export interface IMessage { type: string; title: string; message: string; id: number; out: boolean; } export declare class MessageService { messagesSubject$: BehaviorSubject>; messagesArray: Array; id: number; get messages(): import("rxjs").Observable; constructor(); addMessage(type?: string, title?: any, message?: any): void; removeMessage: (id: any) => void; removeFromArray: (id: any) => void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }