1 | import { Subject } from 'rxjs';
|
2 | import { NotificationType } from '../enums/notification-type.enum';
|
3 | import { Icons } from '../interfaces/icons';
|
4 | import { NotificationEvent } from '../interfaces/notification-event.type';
|
5 | import { Notification } from '../interfaces/notification.type';
|
6 | import * as i0 from "@angular/core";
|
7 | export declare class NotificationsService {
|
8 | globalOptions: any;
|
9 | constructor(globalOptions: any);
|
10 | emitter: Subject<NotificationEvent>;
|
11 | icons: Icons;
|
12 | set(notification: Notification, to: boolean): Notification;
|
13 | success(title?: any, content?: any, override?: any, context?: any): Notification;
|
14 | error(title?: any, content?: any, override?: any, context?: any): Notification;
|
15 | alert(title?: any, content?: any, override?: any, context?: any): Notification;
|
16 | info(title?: any, content?: any, override?: any, context?: any): Notification;
|
17 | warn(title?: any, content?: any, override?: any, context?: any): Notification;
|
18 | bare(title?: any, content?: any, override?: any, context?: any): Notification;
|
19 | create(title?: any, content?: any, type?: NotificationType, override?: any, context?: any): Notification;
|
20 | html(html: any, type?: NotificationType, override?: any, icon?: string, context?: any): Notification;
|
21 | remove(id?: string): void;
|
22 | static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
|
23 | static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
|
24 | }
|