import { FocusStrategy } from '@react-types/shared';
import React, { HTMLAttributes, MutableRefObject } from 'react';
export interface MenuContextValue extends Omit<HTMLAttributes<HTMLElement>, 'autoFocus'> {
    onClose?: () => void;
    closeOnSelect?: boolean;
    shouldFocusWrap?: boolean;
    autoFocus?: boolean | FocusStrategy;
    ref?: MutableRefObject<HTMLUListElement>;
    mods?: {
        popover?: boolean;
        tray?: boolean;
    };
    isClosing?: boolean;
}
export declare const MenuContext: React.Context<MenuContextValue>;
export declare function useMenuContext(): MenuContextValue;
