import { DropdownCheckPosition, DropdownItemLevel, DropdownItemValidate, DropdownMode } from '@mezzanine-ui/core/dropdown/dropdown'; import { type IconDefinition } from '@mezzanine-ui/icons'; export interface DropdownItemCardProps { /** * Whether the option is currently active (highlighted by keyboard navigation). * Used to apply visual highlight and drive the `--active` CSS modifier. * Note: keyboard focus position is communicated to screen readers via `aria-activedescendant` * on the trigger element, not via `aria-selected` on the option itself. */ active?: boolean; /** * The icon to append. */ appendIcon?: IconDefinition; /** * The content to append. */ appendContent?: string; /** * The position of the checkbox. */ checkSite?: DropdownCheckPosition; /** * Controlled: Whether the option is selected/checked. * Controls checkbox state in multiple mode. * When provided, the state is controlled externally. */ checked?: boolean; /** * Whether the checkbox is in indeterminate state. * Used in tree mode when some but not all children are selected. */ indeterminate?: boolean; /** * Additional className for the list item. */ className?: string; /** * Uncontrolled: Default checked/selected state. * Only used when `checked` is not provided. */ defaultChecked?: boolean; /** * Whether the dropdown item card is disabled. */ disabled?: boolean; /** * The text to follow. */ followText?: string; /** * DOM id for the option, useful for aria-activedescendant. */ id?: string; /** * The label of the dropdown item card. */ label?: string; /** * The level of the dropdown item card. */ level?: DropdownItemLevel; /** * The mode of the dropdown item card. */ mode: DropdownMode; /** * The accessible name / label for the option. * Falls back to label if not provided. */ name?: string; /** * Callback fired when the checked/selected state changes. */ onCheckedChange?: (checked: boolean) => void; /** * Click handler when the list item is activated. */ onClick?: () => void; /** * Mouse enter handler. */ onMouseEnter?: () => void; /** * The icon to prepend. */ prependIcon?: IconDefinition; /** * Whether to show the underline. * @default false */ showUnderline?: boolean; /** * The subtitle of the dropdown item card. */ subTitle?: string; /** * Whether clicking the list item should toggle checked state in multiple mode. * Used in tree mode when clicking a parent node should toggle the checked state of all its children. * @default true */ toggleCheckedOnClick?: boolean; /** * The validation of the dropdown item card. */ validate?: DropdownItemValidate; } export default function DropdownItemCard(props: DropdownItemCardProps): import("react/jsx-runtime").JSX.Element;