import React from 'react'; import type { ReactNode } from 'react'; type Props = { /** * A mapping between the pathname and the friendly name * eg: { "*": "Home", "foo": "Bar" } */ pathMapping: Record; /** The Home ID (eg: '*'), must be a key of `pathMapping` */ homeId: string; /** The pathname to render breadcrumbs (default: window.location.pathname)*/ pathname?: string; linkWrapper?: (link: string, label: ReactNode) => ReactNode; }; declare const Breadcrumbs: ({ pathname, homeId, pathMapping, linkWrapper }: Props) => React.JSX.Element; export default Breadcrumbs;