import { EventEmitter } from '../../stencil-public-runtime'; /** * A single crumb inside `mud-breadcrumb`. Renders an anchor when `href` is set, * otherwise plain text. The active crumb renders as text with `aria-current="page"`, * regardless of `href`. * * Use this directly when the markup variant of the breadcrumb is preferred over * the `items` prop on `mud-breadcrumb`. Both APIs are equivalent in behavior. * * @element mud-breadcrumb-item * * @slot - (default) Label content. Use plain text or inline elements (``, ``). * @slot icon-start - Optional leading icon (use ``). */ export declare class MudBreadcrumbItem { /** * Optional navigation target. Renders as `` when set, otherwise as ``. * Ignored when `active` is true (active crumb is always rendered as text). */ href?: string; /** * Marks this crumb as the current page. Adds `aria-current="page"`, switches to * medium font weight, and disables navigation (renders as text). * @default false */ active: boolean; /** * Visited link styling — text turns magenta (`--color-text-brand-visited`). * Maps to the CSS pseudo-state for declarative use cases. * @default false */ visited: boolean; /** * Disables interaction and applies the disabled text color. * @default false */ disabled: boolean; /** * Replaces the label with a spinner while keeping the crumb width. * Used for async navigation where the parent page hasn't loaded yet. * @default false */ loading: boolean; /** * Accessible-name fallback when the default slot is empty (e.g. icon-only crumb). * If the slot contains visible text, that text is the accessible name — this prop * is NOT applied as an `aria-label` override on the rendered element to preserve * the slot-first content rule. */ label?: string; private hasIconStartSlot; host: HTMLMudBreadcrumbItemElement; /** * Fired when the crumb is activated (click or Enter/Space on a non-link crumb). * Cancelable — `preventDefault()` lets the consumer handle navigation. */ mudSelect: EventEmitter<{ label: string; href?: string; }>; private readonly onIconStartSlotChange; private readonly handleClick; private readonly handleKeyDown; render(): any; }