import * as React from 'react'; import type { BaseUIComponentProps } from '../../utils/types.js'; /** * A menu item that works like a radio button in a given group. * Renders a `
` element. * * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu) */ declare const MenuRadioItem: React.ForwardRefExoticComponent>; declare namespace MenuRadioItem { type State = { /** * Whether the component should ignore user interaction. */ disabled: boolean; highlighted: boolean; /** * Whether the radio item is currently selected. */ checked: boolean; }; interface Props extends BaseUIComponentProps<'div', State> { /** * Value of the radio item. * This is the value that will be set in the MenuRadioGroup when the item is selected. */ value: any; children?: React.ReactNode; /** * The click handler for the menu item. */ onClick?: React.MouseEventHandler; /** * Whether the component should ignore user interaction. * @default false */ disabled?: boolean; /** * Overrides the text label to use when the item is matched during keyboard text navigation. */ label?: string; /** * @ignore */ id?: string; /** * Whether to close the menu when the item is clicked. * @default false */ closeOnClick?: boolean; } } export { MenuRadioItem };