import type { MenuOpenSource, MenuPoint } from "@ryuzaki13/react-foundation-lib/context-menu";
export type MenuTriggerMode = "click" | "contextmenu";
interface MenuContextValue {
    mode: MenuTriggerMode;
    open: boolean;
    openSource: MenuOpenSource | null;
    anchorPoint: MenuPoint | null;
    floatingStyles: React.CSSProperties;
    floatingRef: React.RefObject<HTMLElement | null>;
    triggerRef: React.RefObject<HTMLElement | null>;
    setFloating: (node: HTMLElement | null) => void;
    registerTriggerElement: (node: HTMLElement | null) => void;
    onTriggerClick: (event: React.MouseEvent<HTMLElement>) => void;
    onTriggerContextMenu: (event: React.MouseEvent<HTMLElement>) => void;
    onTriggerKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
    closeMenu: () => void;
}
export declare const MenuContext: import("react").Context<MenuContextValue | null>;
export declare function useMenuContext(): MenuContextValue;
export {};
//# sourceMappingURL=MenuContext.d.ts.map