import { StringMap } from '@alauda/ui';
import { ChangeDetectorRef, ElementRef, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
import { Router } from '@angular/router';
import { NavGroupConfig, NavItemConfig } from '../nav-menu';
import { BreadcrumbService, BreadcrumbTemplateState } from './breadcrumb.service';
import * as i0 from "@angular/core";
export declare class BreadcrumbComponent implements OnChanges {
    private readonly router;
    private readonly cdr;
    private readonly service;
    configs: NavItemConfig[];
    groups: NavGroupConfig[];
    activatedKey: string;
    _subItems: (rest: string[], lastRouteLink: Array<string | StringMap>) => Array<{
        name: string;
        translate?: boolean;
        routerLink?: NavItemConfig['routerLink'];
    }> | void;
    iconRef: ElementRef<HTMLElement>;
    activatedPath: NavItemConfig[];
    customTemplateState: BreadcrumbTemplateState;
    customTemplate: TemplateRef<unknown>;
    private internalConfigs;
    private url;
    constructor(router: Router, cdr: ChangeDetectorRef, service: BreadcrumbService);
    ngOnChanges(changes: SimpleChanges): void;
    isSameUrl(link: NavItemConfig['routerLink']): boolean;
    subItems(): Array<{
        name: string;
        translate?: boolean;
        routerLink?: NavItemConfig['routerLink'];
    }>;
    rootPath(): string;
    private updateActivatedPath;
    private restNode;
    private linkToUrl;
    static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "acl-breadcrumb", never, { "configs": "configs"; "groups": "groups"; "activatedKey": "activatedKey"; "_subItems": "subItems"; }, {}, never, never, false>;
}
