import { NavigationExtras, Router, UrlTree } from '@angular/router'; import { Loadable, LoadableStatus } from '@ts-core/common'; import { NativeWindowService } from '@ts-core/frontend/service/NativeWindowService'; export declare class RouterBaseService extends Loadable { protected _router: Router; protected window: NativeWindowService; protected params: Map; protected extrasToApply: any; protected isNeedUpdateExtras: boolean; protected _lastUrl: string; constructor(_router: Router, window: NativeWindowService); protected initializeObservers(): void; protected applyExtras(extras?: NavigationExtras): Promise; protected getQueryParams(): any; protected commitStatusChangedProperties(oldStatus: LoadableStatus, newStatus: LoadableStatus): void; navigate(url: string, extras?: NavigationExtras, isClearParams?: boolean): Promise; navigateToExternalUrl(url: string, target?: string): void; navigateToLast(extras?: NavigationExtras): Promise; navigateIfNotLoading(url: string, extras?: NavigationExtras): Promise; reload(): void; isUrlActive(value: string | UrlTree, isExact?: boolean): boolean; getParams(): T; hasParam(name: string): boolean; getParam(name: string, defaultValue?: T): T; setParam(name: string, value: any, extras?: NavigationExtras): void; removeParam(name: string, extras?: NavigationExtras): void; clearParams(extras?: NavigationExtras): void; get hasParams(): boolean; get url(): string; get lastUrl(): string; get urlTree(): UrlTree; get router(): Router; }