import { EventEmitter } from "../../stencil-public-runtime"; import { IcNavType, IcBrand, IcBrandForeground, IcBrandForegroundNoDefault, IcThemeMode } from "../../utils/types"; /** * @part link - The `` within ic-navigation-item * @slot badge - Badge component overlaying the top right of the icon. * @slot icon - Content will be displayed to the left of the label for expanded navigation items, and in replacement of the label for collapsed navigation items. */ export declare class NavigationItem { private navigationSlot; private isInitialRender; private itemEl?; private hostMutationObserver; private ANIMATION_DURATION; private ARIA_LABEL_STRING; private isInSideNav; el: HTMLIcNavigationItemElement; deviceSize: number; focusStyle: IcBrandForegroundNoDefault | IcBrandForeground; inTopNavSideMenu: boolean; isSideNavMobile: boolean; isTopNavChild: boolean; navigationType: IcNavType | ""; navigationTypeChangeHandler(): void; parentEl: HTMLElement | null; sideNavExpanded: boolean; ariaLabel: string; /** * @internal If `true`, the icon and label will be displayed when side navigation is collapsed. */ collapsedIconLabel: boolean; /** * @internal If `true`, the navigation item will be displayed within a tooltip. */ displayNavigationTooltip: boolean; /** * If `true`, the user can save the linked URL instead of navigating to it. */ download: string | boolean; /** * @internal If `true`, the navigation item will be expandable. */ expandable: boolean; /** * The destination of the navigation item. */ href: string; /** * The human language of the linked URL. */ hreflang?: string; /** * The label of the navigation item. */ label?: string; /** * The relationship of the linked URL as space-separated link types. */ rel?: string; /** * How much of the referrer to send when following the link. */ referrerpolicy?: ReferrerPolicy; /** * If `true`, the navigation item will be set in a selected state. */ selected: boolean; /** * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe). */ target?: string; /** * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component. */ theme: IcThemeMode; /** * @internal - Emitted when item loses focus. */ childBlur: EventEmitter; /** * @internal - Emitted when navigation item clicked. */ navItemClicked: EventEmitter; disconnectedCallback(): void; componentWillLoad(): void; componentDidLoad(): void; componentDidUpdate(): void; brandChangeHandler({ detail }: CustomEvent): void; /** * Sets focus on the nav item. */ setFocus(): Promise; private displayDefaultNavigationItem; private topNavResizedHandler; private sideNavExpandHandler; private handleBlur; private handleClick; private hostMutationCallback; private generateTooltipLabel; private renderNavigationItemContent; private sideNavToggleTooltip; render(): any; }