import { type ElementType, type ReactElement } from 'react'; import { DataTestId } from '../../../core/types/data-props.js'; import { PolymorphicComponentProps } from '../../../core/types/polymorph.js'; import { StylingProps } from '../../../core/types/styling-props.js'; import { WithChildren } from '../../../core/types/with-children.js'; /** * @public */ export interface NavItemOwnProps extends WithChildren, StylingProps, DataTestId { /** * The route where the NavItem navigates to. */ href?: string; /** * Whether the NavItem is disabled. * @defaultValue false */ disabled?: boolean; /** * Whether the NavItem is selected. * @defaultValue false */ isSelected?: boolean; } /** * @public */ export type NavItemProps = PolymorphicComponentProps; /** * A navigation item which can be used to go to a specific route. * @public */ export declare const NavItem: (props: NavItemProps) => ReactElement | null;