import type { ComponentType } from 'react'; import React from 'react'; export interface BreadcrumbItem { /** * Display text for the breadcrumb item */ label: string; /** * URL/path for the breadcrumb item. If not provided, item will be rendered as text only */ href?: string; } interface Props { /** * Array of breadcrumb items to display */ items?: BreadcrumbItem[]; /** * Custom link component to use instead of default anchor element * Useful for router integration (e.g., Next.js Link, React Router Link) */ linkComponent?: ComponentType; /** * Props to pass to the link component */ linkProps?: Record; /** * Screen reader label describing the breadcrumb navigation */ ariaLabel?: string; /** * Allows to pass testid string for testing purposes */ 'data-testid'?: string; /** * Allows to pass a custom className */ className?: string; /** * Allows the last breadcrumb item to be a link * * @default false */ allowLastItemLink?: boolean; } declare const Breadcrumb: ({ "data-testid": dataTestId, ariaLabel, className, items, linkComponent: LinkComponent, linkProps, allowLastItemLink, }: Props) => React.JSX.Element | null; /** @component */ export default Breadcrumb;