import type { HTMLAttributes, ReactNode } from 'react';
import type { SxProp } from '../Layout/sx.js';
export interface BreadcrumbItem {
label: ReactNode;
href?: string;
/** Custom render — e.g. ``. Receives the rendered label. Also used for the item
* inside the `maxItems` ellipsis menu, so return a single element (the link). */
render?: (label: ReactNode) => ReactNode;
}
export interface BreadcrumbProps extends Omit, 'children'> {
items: BreadcrumbItem[];
/** Separator node between items. Default: chevron. */
separator?: ReactNode;
size?: 'sm' | 'md';
/**
* Collapse long trails: when there are more items than this, show the first
* item and the last `maxItems - 1`, with the hidden ones in an ellipsis menu.
* Minimum 2. Default: show everything.
*/
maxItems?: number;
/** Let the trail wrap onto more lines. Default: true; `false` keeps it on one line. */
wrap?: boolean;
/**
* One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a
* responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx
* merges into inline style; responsive sx injects a scoped class.
*/
sx?: SxProp;
}
export declare const Breadcrumb: import("react").ForwardRefExoticComponent>;