import { AnchorHTMLAttributes, AriaAttributes, HTMLAttributes, MouseEvent } from 'react'; interface BaseProps { /** If provided, displays an alternative size */ feSize?: 'md' | 'sm'; } export interface BreadcrumbsItem extends Omit, 'onClick'> { href: string; label?: string; /** Custom onClick where the second return parameter enables custom routing */ onClick?: (event: MouseEvent, route: string) => void; } export interface BreadcrumbsInteractive extends BaseProps, HTMLAttributes { /** If provided, renders an alternative `aria-current` label. **Notice!** Only applicable if `feType` is `interactive`. */ ariaCurrentLabel?: Extract; /** Array of Breadcrumb items */ feItems: BreadcrumbsItem[]; /** Alters the appearance and what is rendered as breadcrumbs. Links or static. */ feType: 'interactive'; } export interface BreadcrumbsStatic extends BaseProps, HTMLAttributes { /** Array of Breadcrumb items */ feItems: Pick[]; feType: 'static'; } export type BreadcrumbsProps = BreadcrumbsInteractive | BreadcrumbsStatic; /** * The `` component can render a static or interactive path to help visualize where the user is located * * See [InVision DSM](https://skf.invisionapp.com/dsm/ab-skf/4-web-applications/nav/5fa7caf78c01200018354495/folder/62aae11e90af6355c42f40e2) for design principles. */ declare const Breadcrumbs: import("react").ForwardRefExoticComponent>; export default Breadcrumbs;