import * as React from "react"; import { AbstractPureComponent, Boundary, type Props } from "../../common"; import { type OverflowListProps } from "../overflow-list/overflowList"; import { type PopoverProps } from "../popover/popover"; import { type BreadcrumbProps } from "./breadcrumb"; export interface BreadcrumbsProps extends Props { /** * Callback invoked to render visible breadcrumbs. Best practice is to * render a `` element. If `currentBreadcrumbRenderer` is also * supplied, that callback will be used for the current breadcrumb instead. * * @default Breadcrumb */ breadcrumbRenderer?: (props: BreadcrumbProps) => React.JSX.Element; /** * Which direction the breadcrumbs should collapse from: start or end. * * @default Boundary.START */ collapseFrom?: Boundary; /** * Callback invoked to render the current breadcrumb, which is the last * element in the `items` array. * * If this prop is omitted, `breadcrumbRenderer` will be invoked for the * current breadcrumb instead. */ currentBreadcrumbRenderer?: (props: BreadcrumbProps) => React.JSX.Element; /** * All breadcrumbs to display. Breadcrumbs that do not fit in the container * will be rendered in an overflow menu instead. */ items: readonly BreadcrumbProps[]; /** * The minimum number of visible breadcrumbs that should never collapse into * the overflow menu, regardless of DOM dimensions. * * @default 0 */ minVisibleItems?: number; /** * Props to spread to the `OverflowList` popover target. */ overflowButtonProps?: React.HTMLProps; /** * Props to spread to `OverflowList`. Note that `items`, * `overflowRenderer`, and `visibleItemRenderer` cannot be changed. */ overflowListProps?: Partial, "items" | "overflowRenderer" | "visibleItemRenderer">>; /** * Props to spread to the popover showing the overflow menu. */ popoverProps?: Partial>; } /** * Breadcrumbs component. * * @see https://blueprintjs.com/docs/#core/components/breadcrumbs */ export declare class Breadcrumbs extends AbstractPureComponent { static defaultProps: Partial; render(): React.JSX.Element; private renderOverflow; private renderOverflowBreadcrumb; private renderBreadcrumbWrapper; private renderBreadcrumb; }