import { MutableRefObject } from "react";
export interface MenuEventsProps {
    menuRef: MutableRefObject<HTMLDivElement | null>;
    cancelled: boolean;
    defaultFocus: "first" | "last" | string;
}
/**
 * This is just a simple component that is used with the `Menu` component to
 * handle the initial focus on mount and re-focusing a previous element on
 * unmount.
 * @private
 */
export declare function MenuEvents({ menuRef, cancelled, defaultFocus, }: MenuEventsProps): null;
