import { PropsWithChildren, default as React } from 'react'; import { MenuItemWithChildren, MenuPreviewStateMap, ActiveAnchor } from '../Menu.types'; import { DropdownAnchorType, MenuAnimationNameType } from '../constants'; export type MenuContextValue = { items: Array; partToPreviewStateMap?: MenuPreviewStateMap; currentUrl: string; activeAnchor?: ActiveAnchor; translations: { dropdownButtonAriaLabel?: string; menuNavAriaLabel?: string; hamburgerOpenButtonAriaLabel?: string; hamburgerCloseButtonAriaLabel?: string; }; customClassNames?: Array; navAriaLabel: string; menuStyleId?: string; getAnimationPackage: () => MenuAnimationNameType; isHamburgerMenuOpened?: boolean; setIsHamburgerMenuOpened?: (isOpen: boolean) => void; a11yProps: React.AriaAttributes; dropdownAnchor?: DropdownAnchorType; closeActiveDropdown?: () => void; setActiveDropdown?: (closeImmediately: () => void) => void; }; export declare const MenuContext: React.Context; export declare const useMenuContext: () => MenuContextValue; export declare const MenuContextProvider: React.FC>;