import * as React from "react"; import type { MergeElementProps } from "../typings"; interface BreadcrumbBaseProps { /** * The content of the breadcrumb. * * The breadcrumb component only accepts `Breadcrumb/Item` component as a child. */ children?: React.ReactNode; /** * Append to the classNames applied to the component so you can override or * extend the styles. */ className?: string; /** * If `true`, the breadcrumb will only show the previous step. * * It's useful when rendering on mobile devices. * @default false */ showOnlyPreviousStep?: boolean; } export declare type BreadcrumbProps = MergeElementProps<"nav", BreadcrumbBaseProps>; declare type Component = { (props: BreadcrumbProps): React.ReactElement | null; propTypes?: React.WeakValidationMap | undefined; displayName?: string | undefined; }; declare const Breadcrumb: Component; export default Breadcrumb;