import { StarkBreadcrumbPath } from "./breadcrumb-path.intf"; import { StarkBreadcrumbConfig } from "./breadcrumb-config.intf"; import { ElementRef, OnDestroy, OnInit, Renderer2 } from "@angular/core"; import { StarkLoggingService, StarkRoutingService } from "@nationalbankbelgium/stark-core"; import { AbstractStarkUiComponent } from "@nationalbankbelgium/stark-ui/src/internal-common"; import * as i0 from "@angular/core"; /** * Component to display the breadcrumb of the view where it is included. */ export declare class StarkBreadcrumbComponent extends AbstractStarkUiComponent implements OnInit, OnDestroy { logger: StarkLoggingService; routingService: StarkRoutingService; /** * An {@link StarkBreadcrumbConfig} configuration object for the breadcrumb paths to be displayed. * * If omitted, then the {@link StarkBreadcrumbConfig} object will be calculated processing recursively the router state tree from the * current state to its ancestors to extract the different paths. * * In this case, the translationKey will be taken from the `data` object of the state definition. */ breadcrumbConfig?: StarkBreadcrumbConfig; /** * Class constructor * @param logger - The `StarkLoggingService` instance of the application. * @param routingService - The `StarkRoutingService` instance of the application. * @param renderer - Angular `Renderer2` wrapper for DOM manipulations. * @param elementRef - Reference to the DOM element where this component is attached to. */ constructor(logger: StarkLoggingService, routingService: StarkRoutingService, renderer: Renderer2, elementRef: ElementRef); /** * Component lifecycle hook */ ngOnInit(): void; /** * Component lifecycle hook */ ngOnDestroy(): void; /** * Generate the breadcrumb path elements out of the current router state tree. * From the current child state up to the root parent */ getPathsFromStateTree(): StarkBreadcrumbPath[]; /** * Method used to handle the click on a link in the breadcrumb component * @param breadcrumbPath - StarkBreadcrumbPath on which the click was performed */ breadcrumbClickHandler(breadcrumbPath: StarkBreadcrumbPath): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }