import * as ng from "@angular/core"; import { CoreComponent } from "cmf.core/src/core"; import { ModalViewInstance } from "../modalView/modalView"; import { LoadingService } from "./loadingService"; /** * @whatItDoes * Loading progress indicator with dynamic info of the loading process * * ### Example * To use the component, assume this HTML Template as an example: * * ```HTML * * * ``` * */ export declare class Loading extends CoreComponent implements ng.AfterViewInit { private _modalInstance; _service: LoadingService; /** * Generic */ private static _generic; /** * Modal closed */ private _modalClosed; /** * Loading text input that will appear to the user */ currentStepLoadingText: string; /** * Current loading process step */ currentStep: number; /** * Step percentage */ stepPercentage: string; /** * Shows the loading process indicator * * @param injector the angular dependency injector that carries the service (of type 'LoadingService') injected * needed by the Loading component */ static showLoadingProcessIndicator(loadingService: LoadingService, injector: ng.Injector, element: HTMLElement | ng.ElementRef): void; /** * Constructor * @param modalInstance */ constructor(_modalInstance: ModalViewInstance, _service: LoadingService); /** * Close modal */ private close; /** * On update callback */ private onUpdateCallback; /** * On finish callback */ private onFinishCallback; /** * On AfterViewInit */ ngAfterViewInit(): void; } export declare class LoadingModule { }