import { EventEmitter } from '@angular/core';
import { NavigationEnd, NavigationExtras, UrlTree } from '@angular/router';
import * as i0 from "@angular/core";
export declare class Snapshot {
    private stub;
    constructor(stub: RouterStub);
    get url(): string;
}
export declare class RouterStub {
    private id;
    navigated: boolean;
    private currentUrlTree;
    routerState: {
        snapshot: Snapshot;
    };
    events: EventEmitter<NavigationEnd>;
    getURLTree(url: string | UrlTree | any[]): UrlTree;
    navigateByUrl(url: string | UrlTree): string | UrlTree;
    navigate(commands: any[], extras?: NavigationExtras): (any[] | NavigationExtras | undefined)[];
    private emitNavigate;
    isActive(url: UrlTree): boolean;
    getCurrentURL(): string;
    createUrlTree(commands: any[], extras?: NavigationExtras): UrlTree;
    static serializeUrl(url: UrlTree): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<RouterStub, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<RouterStub>;
}
