import { IconName } from '../nv-icon/nv-icons'; export declare class NvNavbarItem { /****************************************************************************/ /** * The destination of this item. Required, because an item is a link. */ readonly href: string; /** * The visible label of the item. */ readonly label: string; /** * Marks this item as the current destination. Your router sets it, because the * router knows which page is open. It adds `aria-current="page"` to the link. */ readonly current: boolean; /** * Makes the destination unavailable. The item keeps its label, but it has no * link to follow, it is not in the tab order, and it cannot be activated. */ readonly disabled: boolean; /** * An optional icon before the label. * @icon */ readonly leadingIcon?: `${IconName}`; /** * An optional icon after the label. * @icon */ readonly trailingIcon?: `${IconName}`; /** * An optional notification count beside the label. A bullet appears from 1 * upwards. Leave it out, or pass 0, to show no bullet: a count of nothing is * not news. */ readonly notification?: number; /** * What assistive technology reads for the notification count, as a * description of the link. `{count}` is replaced by the count, so you can * translate it, for example `'{count} nouvelles notifications'`. Set it to an * empty string to leave the description out. */ readonly notificationLabel: string; /****************************************************************************/ /** Links the link to its notification description. */ private readonly descriptionId; /****************************************************************************/ /** * Whether a notification bullet is shown. Only a count of 1 or more shows * one; see `hasNotificationCount`. The check is here rather than left to the * bullet so that nothing is written to the DOM when there is nothing to say. * @returns {boolean} True when the item has a count worth showing. */ private get hasNotification(); render(): any; }