/**
 * Threshold that determines when breadcrumbs collapse.
 */
export type VegaBreadcrumbCollapsedThresholdType = number | 'none';

/**
 * Configuration for an individual breadcrumb item.
 */
export type VegaBreadcrumbItemType = {
	/**
	 * Text label displayed for the breadcrumb.
	 */
	label: string;
	/**
	 * Optional link target for the breadcrumb.
	 */
	href?: string;
	/**
	 * Optional tooltip text for the breadcrumb.
	 */
	tooltip?: string;
};

/**
 * Rendering options passed to breadcrumb item renderers.
 */
export type VegaBreadcrumbRenderItemOptions = {
	/**
	 * Whether the breadcrumb is in compact mode.
	 */
	isCompactMode?: boolean;
	/**
	 * Whether the item is the last breadcrumb.
	 */
	isLastItem?: boolean;
	/**
	 * Whether the item is rendered inside the overflow dropdown.
	 */
	isInDropdown?: boolean;
};
