import { NotificationsService } from '../../services/notifications.service'; import { Notification } from '../../interfaces/notifications.interface'; import { OnInit } from '@angular/core'; import { Observable } from 'rxjs/Observable'; export declare class NotificationsComponent implements OnInit { private notifications; items$: Observable; /** * Default constructor. * * @param notifications The notifications service. */ constructor(notifications: NotificationsService); /** * Gets triggered when the component is initialized. */ ngOnInit(): void; /** * Method to optimize the Angular for-loop. * * @param index The index of the item. * @param item The notification item. * * @returns The id of the notification. */ trackById(index: string, item: Notification): string; }