/** Menu size, derived from the trigger button size. */
export type DropdownMenuSize = 'sm' | 'md' | 'lg';
export interface DropdownMenuContextValue {
    /** Close the menu and return focus to trigger */
    closeMenu: () => void;
    /** Menu size derived from button size */
    menuSize: DropdownMenuSize;
}
export declare const DropdownMenuContext: import("react").Context<DropdownMenuContextValue | null>;
/**
 * Hook for compound menu items to access menu state.
 * Returns null outside of a DropdownMenu.
 */
export declare function useDropdownMenuContext(): DropdownMenuContextValue | null;
export interface DropdownMenuRadioGroupContextValue {
    /** The currently selected value in the group. */
    value: string | undefined;
    /** Select a value. Called by a DropdownMenuRadioItem on activation. */
    onChange: (value: string) => void;
    /** Whether selecting an item should close the menu. @default true */
    hasCloseOnSelect: boolean;
}
export declare const DropdownMenuRadioGroupContext: import("react").Context<DropdownMenuRadioGroupContextValue | null>;
/**
 * Read the enclosing radio group's selection state.
 * Returns null when used outside a DropdownMenuRadioGroup.
 */
export declare function useDropdownMenuRadioGroupContext(): DropdownMenuRadioGroupContextValue | null;
//# sourceMappingURL=DropdownMenuContext.d.ts.map