import { DefaultUrlSerializer, UrlSegment, UrlSegmentGroup, UrlTree } from "@angular/router"; import { ILanguageService } from "../common-types"; import * as i0 from "@angular/core"; export interface IUrlDictionary { [key: string]: string; } export declare class TranslatedUrlSerializer extends DefaultUrlSerializer { readonly language: ILanguageService; protected cache: { [lang: string]: IUrlDictionary; }; constructor(language: ILanguageService); serialize(tree: UrlTree): string; parse(url: string): UrlTree; getDictionary(serialize: boolean): IUrlDictionary; modifyTreeRecursive(segmentGroup: UrlSegmentGroup, cb: (segment: UrlSegment) => void): UrlSegmentGroup; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }