import * as i0 from "@angular/core"; import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core"; export declare class MojPrimaryNavigationItemComponent { private readonly router; private readonly route; primaryNavigationItemId: string; primaryNavigationItemFragment: string; primaryNavigationItemText: string; activeItemFragment: string; isLastItem: boolean; useFragmentNavigation: boolean; navigationItemSelected: EventEmitter; hostClass: string; hostId: string; hostLastItem: boolean; /** * Handles the click event of a sub-navigation item. * @param event - The click event. * @param item - The item string. */ handleItemClick(event: Event, item: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class MojPrimaryNavigationComponent implements OnInit, OnDestroy, AfterContentInit, OnChanges { private readonly route; private readonly ngUnsubscribe; private itemSubscriptions; private readonly primaryNavigationItems; primaryNavigationId: string; useFragmentNavigation: boolean; activeItemFragment: EventEmitter; navigationItemSelected: EventEmitter; /** * Synchronise the projected item mode and selection events with the container mode. */ private wirePrimaryNavigationItems; /** * Sets up the listeners for the route fragment changes. * Emits the active navigation item when a fragment is present in the route. */ private setupListeners; /** * Initializes the component. * This method is called after the component has been created and initialized. */ ngOnInit(): void; /** * Wire projected navigation item events after content is available. */ ngAfterContentInit(): void; /** * Keep projected items in sync if navigation mode input changes after initial render. * @param changes - The input change set. */ ngOnChanges(changes: SimpleChanges): void; /** * Lifecycle hook that is called when the component is about to be destroyed. * Unsubscribes from the route fragment subscription. */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }