/// <reference types="react" />
interface MenuClickOptions {
    onClick?: React.MouseEventHandler<HTMLDivElement>;
    onRequestClose: () => void;
}
/**
 * This hook is used to create a click handler on the menu that will close the
 * menu when any `MenuItem` is clicked.
 */
export declare function useMenuClick({ onClick, onRequestClose, }: MenuClickOptions): React.MouseEventHandler<HTMLDivElement>;
export {};
