import { default as React } from 'react'; import { AppKey, CustomLinksConfig } from './utils'; export declare const rootClassName = "teddy-global-navigation"; type User = { name: string; isRetailer?: boolean; }; export type RootProps = React.ComponentPropsWithoutRef<'div'> & { appKey: AppKey; loggedInUser?: User; linkComponent: React.ForwardRefExoticComponent & React.RefAttributes>; onLogoutClick(): void; shoppingCart?: React.ReactNode; shoppingCartNumberOfItems?: number; onSearchSubmit?: (e: React.FormEvent, value?: string) => void; additionalSearchContent?: React.ReactNode; isCartOpen?: boolean; onCartOpenChange?: (open: boolean) => void; drawerSize: 'md' | 'lg'; isSimplified?: boolean; customLinks?: CustomLinksConfig; hideTopMenuList?: boolean; currentPath: string | undefined; onSearchInputChange?: (e: React.ChangeEvent, value?: string) => void; onSearchKeyDown?: (e: React.KeyboardEvent) => void; searchValue?: string; onClear?: () => void; }; type RootContext = { selectedMenuItem: string | undefined; setSelectedMenuItem: (v: string | undefined, onlyStateChange?: boolean) => void; selectedDomainItem: string; setSelectedDomainItem: (v: string, onlyStateChange?: boolean) => void; pathname: string; setPathname: (v: string) => void; specifiedLink?: string; setSpecifiedLink: (v: string) => void; customLinks?: CustomLinksConfig; hideTopMenuList?: boolean; } & Pick; export declare const RootContext: React.Context; export declare function Root({ className, appKey, loggedInUser, linkComponent, onLogoutClick, shoppingCart, shoppingCartNumberOfItems, onSearchSubmit, additionalSearchContent, isCartOpen, onCartOpenChange, drawerSize, isSimplified, customLinks, hideTopMenuList, currentPath, onSearchInputChange, onSearchKeyDown, searchValue, onClear, ...props }: RootProps): import("react/jsx-runtime").JSX.Element; export declare namespace Root { var displayName: string; } export {};