import { OnInit, OnDestroy } from '@angular/core'; import { LoadingIndicatorService } from '../services/loading-indicator.service'; import { ModalWindowComponent } from '@browninglogic/ng-modal'; /** This component listens for load start and load end events and * shows / hides a loading indicator accordingly. It's intended * to be placed in the template of the application's root component * so that one instance of the component can be used throughout the * entire application. */ export declare class LoadingIndicatorComponent implements OnInit, OnDestroy { private loadingIndicatorService; constructor(loadingIndicatorService: LoadingIndicatorService); /** Custom CSS class(es) to apply to the modal*/ modalClass: string; /** Custom CSS class(es) to apply to the overlay*/ overlayClass: string; /** Custom CSS class(es) to apply to the loading message*/ loadingMessageClass: string; /** Custom CSS class(es) to apply to the spinner*/ spinnerClass: string; loadingIndicatorModal: ModalWindowComponent; private _loadingMessage; private subLoadStarted; private subLoadEnded; /** Loading message to bind to the loading modal window */ get loadingMessage(): string; ngOnInit(): void; ngOnDestroy(): void; /** Show the loading indicator and set the provided loading message for template binding */ private onLoadStarted; /** Hide the loading indicator and clear the loading message */ private onLoadEnded; }