import { ButtonHTMLAttributes, ReactElement } from 'react';
type DropdownTriggerVariant = 'button' | 'nav-pill';
type DropdownTriggerAppearance = 'emphasis' | 'default' | 'subtle';
type DropdownTriggerSize = 'sm' | 'md';
type IconElement = ReactElement<'i' | 'svg'>;
export interface DropdownTriggerProps extends ButtonHTMLAttributes {
/** Visible label text. Must be a caller-supplied translated string.
* For icon-only triggers it becomes the aria-label instead. */
label: string;
/** Visual form: a standalone button or a navigation pill. The nav-pill
* variant is constrained to Appearance=default and Size=md per the design. */
variant?: DropdownTriggerVariant;
/** emphasis = filled secondary, default = outlined secondary, subtle = ghost. */
appearance?: DropdownTriggerAppearance;
/** Visual size: md (default) or sm. Nav-pill variant is constrained to md. */
size?: DropdownTriggerSize;
/** Optional leading icon. Accepts only intrinsic `` or `