import { type ElementType, type ReactElement } from 'react'; import { type PolymorphicComponentProps, type DataTestId, type StylingProps, type WithChildren } from '@dynatrace/strato-components/core'; /** * @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; /** @internal */ export declare function isNavItem(element: unknown): element is ReactElement; /** * A navigation item which can be used to go to a specific route. * @public */ export declare const NavItem: (props: NavItemProps) => ReactElement | null;