import { OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Params, Router } from '@angular/router'; /** * IBreadcrumb interface is used to store all required data for each breadcrumb element * @docs-private */ export interface IBreadcrumb { label: string; params?: Params; url: string; } export declare type QueryParamsHandling = 'merge' | 'preserve' | ''; /** A navigational aid that allows users to keep track of their location within the current application */ export declare class BreadcrumbsComponent implements OnInit, OnDestroy { private activatedRoute; private router; _breadcrumbs: IBreadcrumb[]; _routerSubscription: any; _backURL: string; _backShow: string; _locationLabel: string; _queryParamsHandling: QueryParamsHandling; /** Sets the handling of the query parameters for the breadcrumb. Choose from: `'preserve' | 'merge' | '' (default)` */ queryParamsHandling: QueryParamsHandling; constructor(activatedRoute: ActivatedRoute, router: Router); ngOnInit(): void; private setBreadcrumbs; private getBreadcrumbs; ngOnDestroy(): void; }