import * as React from 'react';
import type { BaseUIComponentProps, NonNativeButtonProps } from "../../utils/types.js";
/**
* An individual interactive item in the menu.
* Renders a `
` element.
*
* Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)
*/
export declare const MenuItem: React.ForwardRefExoticComponent & React.RefAttributes>;
export interface MenuItemState {
/**
* Whether the item should ignore user interaction.
*/
disabled: boolean;
/**
* Whether the item is highlighted.
*/
highlighted: boolean;
}
export interface MenuItemProps extends NonNativeButtonProps, BaseUIComponentProps<'div', MenuItemState> {
/**
* The click handler for the menu item.
*/
onClick?: BaseUIComponentProps<'div', MenuItemState>['onClick'] | undefined;
/**
* Whether the component should ignore user interaction.
* @default false
*/
disabled?: boolean | undefined;
/**
* Overrides the text label to use when the item is matched during keyboard text navigation.
*/
label?: string | undefined;
/**
* @ignore
*/
id?: string | undefined;
/**
* Whether to close the menu when the item is clicked.
*
* @default true
*/
closeOnClick?: boolean | undefined;
}
export declare namespace MenuItem {
type State = MenuItemState;
type Props = MenuItemProps;
}