/**
 * `<breadcrumb-ui>` — Breadcrumb trail with auto-inserted separators. Supports a leading icon (first child) and an overflow popover that collapses middle crumbs into a `…` menu.
 *
 * @see https://ui-kit.exe.xyz/site/components/breadcrumb
 *
 * Type declarations generated by scripts/build/dts-codegen.mjs from
 * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
 * run `npm run build:components`, then `npm run codegen:dts` to
 * regenerate; or hand-author this file fully if rich event types are
 * needed beyond what the yaml `events:` block can express.
 */

import { UIElement } from '../../core/element.js';

export class UIBreadcrumb extends UIElement {
  /** Collapse middle crumbs into a `…` overflow popover when there are 4+ items. */
  collapse: boolean;
  /** Number of leading items to keep visible when [collapse] is active. The first item (often a home/icon link) sits before the overflow popover. */
  collapseKeepLeading: number;
  /** Number of trailing items to keep visible when [collapse] is active. The last item is always the current page. */
  collapseKeepTrailing: number;
  /** Character or string rendered between breadcrumb items via CSS ::before. */
  separator: string;
}
