import { OnInit } from "@angular/core"; import { RawParams } from "@uirouter/core"; import { StarkLoggingService, StarkRoutingService, StarkSessionService, StarkUserService } from "@nationalbankbelgium/stark-core"; import * as i0 from "@angular/core"; /** * Preloading Page smart component. * * This page will be shown when the application starts and will fetch the user profile (via the {@link StarkUserService}) to perform the login of the user. * It will redirect to the target page (via the {@link StarkRoutingService}) as soon as the user profile is loaded and logged in. */ export declare class StarkPreloadingPageComponent implements OnInit { logger: StarkLoggingService; userService: StarkUserService; sessionService: StarkSessionService; routingService: StarkRoutingService; /** * Target page to navigate to after the user profile is loaded and automatically logged in. */ targetState?: string; /** * Params to pass to the target page (if any). */ targetStateParams?: RawParams; /** * Whether the fetching of the user profile failed */ userFetchingFailed: boolean; /** * The current correlation Id of the application (useful when troubleshooting errors). */ correlationId: string; /** * @ignore */ loginDelay: number; /** * Class constructor * @param logger - The `StarkLoggingService` instance of the application. * @param userService - The `StarkUserService` instance of the application. * @param sessionService - The `StarkSessionService` instance of the application. * @param routingService - The `StarkRoutingService` instance of the application. */ constructor(logger: StarkLoggingService, userService: StarkUserService, sessionService: StarkSessionService, routingService: StarkRoutingService); /** * Component lifecycle hook */ ngOnInit(): void; /** * Reload the page through the routingService. */ reload(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }