import type { PropsWithChildren, KeyboardEventHandler } from "react";
export type MenuProps = (MenuState | {
    menuState: MenuState;
}) & CommonMenuProps;
export interface MenuState {
    isOpen: boolean;
    onClose: () => void;
    anchorElement: null | Element;
    menuId: string;
}
export interface CommonMenuProps {
    anchorOrigin?: MenuAnchorOrigin;
    onKeyDown?: KeyboardEventHandler;
    accessibleName: string;
}
export interface MenuAnchorOrigin {
    horizontal: "left" | "right";
    vertical: "top" | "bottom";
}
export declare function CustomMenu(props: PropsWithChildren<MenuProps>): import("react/jsx-runtime").JSX.Element;
export declare namespace CustomMenu {
    var displayName: string;
}
