import { AfterViewInit, Injector, OnDestroy } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Viewport, ScriptLoaderService } from '@wm/core'; import { Subject } from 'rxjs'; import { AbstractI18nService, AbstractNavigationService, App } from '@wm/core'; import { AppManagerService } from '../services/app.manager.service'; import { FragmentMonitor } from '../util/fragment-monitor'; export declare abstract class BasePageComponent extends FragmentMonitor implements AfterViewInit, OnDestroy { static lastPageSnapShot: any; Widgets: any; Variables: any; Actions: any; App: App; injector: Injector; pageName: string; activePageName: string; route: ActivatedRoute; appManager: AppManagerService; navigationService: AbstractNavigationService; router: Router; pageParams: any; showPageContent: boolean; i18nService: AbstractI18nService; appLocale: any; startupVariablesLoaded: boolean; pageTransitionCompleted: boolean; pageDirective: any; $page: any; scriptLoaderService: ScriptLoaderService; Viewport: Viewport; destroy$: Subject; viewInit$: Subject; abstract evalUserScript(prefabContext: any, appContext: any, utils: any): any; abstract getVariables(): any; init(): void; registerWidgets(): void; initUserScript(): void; registerPageParams(): void; registerDestroyListener(fn: Function): void; defineI18nProps(): void; initVariables(): void; runPageTransition(transition?: string): Promise; invokeOnReady(): void; private loadScripts; private restoreLastPageSnapshot; private savePageSnapShot; private saveScrollPosition; private restoreScrollPosition; /** * canDeactivate is called before a route change. * This will internally call onBeforePageLeave method present * at page level and app level in the application and decide * whether to change route or not based on return value. */ canDeactivate(): any; ngAfterViewInit(): void; ngOnDestroy(): void; onReady(): void; onBeforePageLeave(): void; onPageContentReady(): void; canReuse(): boolean; mute(): void; unmute(c?: this): void; ngOnAttach(): void; ngOnDetach(): void; static clear(): void; }