import type { ReactNode } from 'react';
import React from 'react';
interface ValueMenuItemProps {
    /** Passed to the onClick prop when a click event is triggered. Used to identify the source of the event. */
    value?: number | string;
    onClick?: (e: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>, { value }: {
        value: string | number;
    }) => void;
    selectable?: boolean;
    selected?: boolean;
    children?: React.ReactElement;
}
/**
 * ValueMenuItem component wraps the react-ui `Menu.Item` to provide
 * callback context through the `value` prop. This is similar to the `value`
 * prop of react-ui/Switch or the `name` prop of react-ui/RadioList.
 */
export default class ValueMenuItem extends React.PureComponent<ValueMenuItemProps> {
    /**
     * Handler for click events on this component. Call the onclick
     * prop with the DOM event triggering the click and the `value`
     * prop that was passed in by the parent component.
     * @param {MouseEvent} e DOM event
     */
    private readonly handleClick;
    render(): ReactNode;
}
export {};
