import { Router, UrlTree, UrlSegment } from '@angular/router';
import * as i0 from "@angular/core";
export declare class PrefetchRegistry {
    private router;
    private trees;
    constructor(router: Router);
    add(tree: UrlTree): void;
    shouldPrefetch(url: string): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<PrefetchRegistry, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<PrefetchRegistry>;
}
export declare function containsTree(containee: UrlTree, container: UrlTree): boolean;
export declare function equalPath(as: UrlSegment[], bs: UrlSegment[]): boolean;
