import * as React from 'react'; import { Pressable } from 'react-native'; import type { ZestUIComponentProps } from '../../types'; /** * A menu item that works like a radio button in a given group. * Renders a ``. * * Requires a `Menu.RadioGroup` and throws without one — the same rule as * `Radio.Root`: with no group there is no source of truth and the item would be * silently inert. * * Unlike `Menu.Item`, `closeOnPress` defaults to `false`. */ export declare function MenuRadioItem(componentProps: MenuRadioItem.Props): React.JSX.Element; export interface MenuRadioItemState { /** * Whether the radio item is currently selected. */ checked: boolean; /** * Whether the component should ignore user interaction. */ disabled: boolean; /** * Whether the item is currently pressed. */ pressed: boolean; /** * The item's index in the menu. */ index: number; } export interface MenuRadioItemProps extends Omit, 'value'> { /** * The value this item selects in its `Menu.RadioGroup`. */ value: Value; /** * Whether the component should ignore user interaction. * @default false */ disabled?: boolean | undefined; /** * Whether to close the menu when the item is pressed. * @default false */ closeOnPress?: boolean | undefined; /** * @deprecated Use `closeOnPress`. Kept as an alias for Base UI parity. */ closeOnClick?: boolean | undefined; } export declare namespace MenuRadioItem { type State = MenuRadioItemState; type Props = MenuRadioItemProps; } //# sourceMappingURL=MenuRadioItem.d.ts.map