import { Router } from '@angular/router'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export type UrlChanged = { previousUrl: string; currentUrl: string; }; export declare class RouterUrlService { private readonly router; readonly urlChanged$: Observable; private previousUrl; private currentUrl; constructor(router: Router); getCurrentUrl(): string; getPreviousUrl(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }