export type NavHeadingMenuSize = 'sm' | 'md' | 'lg';
/**
 * Close callback provided by the nav heading popover.
 * NavHeadingMenu reads this to dismiss the popover on item selection
 * and on Escape.
 */
export interface NavHeadingCloseContextValue {
    closeMenu: () => void;
}
export declare const NavHeadingCloseContext: import("react").Context<NavHeadingCloseContextValue | null>;
export declare function useNavHeadingCloseContext(): NavHeadingCloseContextValue | null;
/**
 * Size and close context provided by NavHeadingMenu to its children.
 * Items read this for consistent padding and dismiss-on-click.
 */
export interface NavHeadingMenuContextValue {
    size: NavHeadingMenuSize;
    closeMenu: () => void;
}
export declare const NavHeadingMenuContext: import("react").Context<NavHeadingMenuContextValue | null>;
export declare function useNavHeadingMenuContext(): NavHeadingMenuContextValue | null;
//# sourceMappingURL=NavMenuContext.d.ts.map