/// import { UseListItemRootSlotProps } from '../useList'; import { EventHandlers } from '../utils'; export interface SelectOption { value: Value; label: React.ReactNode; disabled?: boolean; ref: React.RefObject; id?: string; } export interface UseOptionParameters { disabled: boolean; label: string | React.ReactNode; value: Value; rootRef?: React.Ref; id?: string; } export interface UseOptionReturnValue { selected: boolean; highlighted: boolean; index: number; getRootProps: (otherHandlers?: Other) => UseOptionRootSlotProps; rootRef: React.RefCallback | null; } export type UseOptionRootSlotProps = UseListItemRootSlotProps & { ref?: React.RefCallback | null; } & Other;