import { OnInit } from '@angular/core'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; import { Observable } from 'rxjs'; import { Metadata } from '../models/share-point'; import { SharePointService } from '../services/share-point'; export interface Alert { Title: string; Details: string; Priority: 'danger' | 'warning' | 'info'; Dismissible: boolean; Id: number; ShowDate: Date; HideDate: Date; __metadata: Metadata; } export declare class AlertsComponent implements OnInit { private alertsService; dialog: MatDialog; helpCenter: string; private dismissed; alerts: Alert[]; constructor(alertsService: AlertsService, dialog: MatDialog); ngOnInit(): void; view(data: Alert): void; close(alert: Alert): void; } export declare class AlertDialogComponent { dialogRef: MatDialogRef; alert: Alert; constructor(dialogRef: MatDialogRef, alert: Alert); } export declare class AlertsService { private spService; private _alertsList; private _day; private _spGetOptions; constructor(spService: SharePointService); get(helpCenter?: string): Observable; } export declare class AlertsModule { }