import type { ThemeUtilsCSS } from '@fuel-ui/css'; import type { FC, Key } from 'react'; import type { AriaMenuOptions } from 'react-aria'; import type { ItemProps, TreeProps } from 'react-stately'; import type { HTMLProps } from '../../utils'; import type { MenuItemProps as BaseMenuItemProps } from './MenuItem'; export type MenuProps = HTMLProps['ul'] & TreeProps & AriaMenuOptions & { onAction?: (key: Key) => void; autoFocus?: boolean; autoFocusKey?: string; }; export type MenuItemProps = ItemProps & { css?: ThemeUtilsCSS; className?: string; }; type ObjProps = { Item: FC; }; export declare const Menu: import("react").ForwardRefExoticComponent<{ [index: `data-${string}`]: unknown; as?: any; css?: ThemeUtilsCSS | undefined; className?: string | undefined; children?: import("react").ReactNode; } & import("react").HTMLAttributes & TreeProps & AriaMenuOptions & { onAction?: ((key: Key) => void) | undefined; autoFocus?: boolean | undefined; autoFocusKey?: string | undefined; } & import("react").RefAttributes> & ObjProps; export {};