import * as i0 from '@angular/core'; import { EventEmitter } from '@angular/core'; import { RouterLinkActive } from '@angular/router'; import * as i1 from '@odx/angular'; /** * RailNavigationItemComponent represents an individual navigation item within a rail navigation system. * This component can be used as either a link or a button and integrates with Angular's RouterLinkActive to * optionally highlight active navigation items. * Has host directives for disabled and tabindex states. * * @see {WithDisabledState} * @see {WithTabIndex} */ declare class RailNavigationItemComponent { protected readonly routerLinkActive: RouterLinkActive | null; readonly element: i0.ElementRef; /** * Indicates whether the navigation item is selected. This can be manually set or derived from router state. * Uses booleanAttribute transformer for attribute binding. * * @type {boolean} * @default false */ isSelected: boolean; /** * The name of the icon to be displayed. This input is required. * * @type {string} * @required */ icon: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_isSelected: unknown; } type RailNavigationVariant = (typeof RailNavigationVariant)[keyof typeof RailNavigationVariant]; declare const RailNavigationVariant: { readonly DEFAULT: "default"; readonly BAR: "bar"; }; /** * RailNavigationComponent provides a navigational sidebar that can toggle between open and closed states. * It supports different visual variants and can integrate individual navigation items * for complex navigation structures. */ declare class RailNavigationComponent { readonly element: i0.ElementRef; /** * Indicates whether the rail navigation is open. Uses booleanAttribute transformer for attribute binding. * * @type {boolean} * @default true */ isOpen: boolean; /** * Specifies the visual variant of the rail navigation. * * @type {RailNavigationVariant} * @default RailNavigationVariant.DEFAULT */ variant: RailNavigationVariant; /** * Emits changes to the `isOpen` state, allowing for external reaction to state changes. * * @emits {boolean} - The new state of the rail navigation. */ isOpenChange: EventEmitter; /** * Toggles the open state of the rail navigation. Optionally accepts a boolean to force the state to open or closed. * Does not perform any action if the variant is set to BAR. * * @param {boolean | undefined} forceState - Optionally force the toggle to a specific state. */ toggle(forceState?: boolean): void; /** * Explicitly opens the rail navigation, setting `isOpen` to true. */ open(): void; /** * Explicitly closes the rail navigation, setting `isOpen` to false. */ close(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_isOpen: unknown; } declare class RailNavigationModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { RailNavigationComponent, RailNavigationItemComponent, RailNavigationModule, RailNavigationVariant };