import { type ElementType, type ReactElement, type ReactNode } 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 BreadcrumbsItemOwnProps extends WithChildren, StylingProps, DataTestId { /** * Whether the breadcrumb item is disabled. * If `true`, it prevents the user from interacting with the item and the item * being focused. */ disabled?: boolean; /** * The url the breadcrumb links to. */ href?: string; } /** * @public */ export type BreadcrumbsItemProps = PolymorphicComponentProps; /** * Allows to check if a ReactNode is a BreadcrumbItem element. * @internal */ export declare function isBreadcrumbItem(node: ReactNode): node is ReactElement>; /** * The component that is used for the individual Breadcrumb items. * @public */ export declare const Item: (props: BreadcrumbsItemProps) => ReactElement | null;