import type { HTMLAttributes } from 'react'; import { useMenuItem, useMenuSection } from '@react-aria/menu'; import type { FocusRingAria } from '@react-aria/focus'; export declare type MenuItemAria = ReturnType; export declare type MenuSectionAria = ReturnType; export interface IFocusRingAria extends FocusRingAria { focusProps: Omit, 'css'>; } export interface IMenuItemAria extends MenuItemAria { /** Props for the main text element inside the menu item. */ labelProps: Omit, 'css'>; /** Props for the description text element inside the menu item, if any. */ descriptionProps: Omit, 'css'>; /** Props for the keyboard shortcut text element inside the item, if any. */ keyboardShortcutProps: Omit, 'css'>; } export interface IMenuSectionAria extends MenuSectionAria { /** Props for the wrapper list item. */ itemProps: Omit, 'css'>; /** Props for the heading element, if any. */ headingProps: Omit, 'css'>; /** Props for the group element. */ groupProps: Omit, 'css'>; }