import type { ReactElement, HTMLAttributes, Ref } from "react"; import type SlBreadcrumbItemElement from "@shoelace-style/shoelace/dist/components/breadcrumb-item/breadcrumb-item.js"; export type { SlBreadcrumbItemElement }; export interface SlBreadcrumbItemProps extends HTMLAttributes { ref?: Ref; /** * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered * internally. When unset, a button will be rendered instead. */ href?: string | undefined; /** * Tells the browser where to open the link. Only used when `href` is set. */ target?: "_blank" | "_parent" | "_self" | "_top" | undefined; /** * The `rel` attribute to use on the link. Only used when `href` is set. */ rel?: string; } /** * Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links. */ export default function SlBreadcrumbItem( props: SlBreadcrumbItemProps, ): ReactElement;