import type { EventEmitter } from '../../stencil-public-runtime'; import type { LocaleProp } from '../../utils/locale'; /** * 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; /** * Visible crumb text, rendered when the default slot is empty; the slot replaces * it for rich content. Also the tooltip text when it is truncated, and the * `label` of `mudSelect`'s detail. */ label?: string; /** * Language of the built-in copy. Unset, the component follows the closest ancestor `lang` * (`` included), else `ro-MD`. */ locale?: LocaleProp; /** * Accessible label of the spinner shown while `loading` is set. Overrides the `locale`'s * copy when set to a non-empty string. * @default 'Se încarcă' (ro-MD) */ loadingLabel?: string; private hasIconStartSlot; host: HTMLMudBreadcrumbItemElement; private stopLang?; /** * 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; }>; connectedCallback(): void; disconnectedCallback(): void; /** Built-in strings in the resolved locale, with the override props on top. */ private messages; private readonly onIconStartSlotChange; private readonly handleClick; private readonly handleKeyDown; render(): any; }