import { ReactElement, PropsWithChildren } from 'react'; import { ContextMenuInfo } from './types'; export declare const NestedMenuContext: import("react").Context void; unregisterMenu: (menuRef?: HTMLElement | undefined) => void; getMenuInfo: (menuRef: HTMLElement) => ContextMenuInfo; getChildMenuInfo: (menuRef: HTMLElement) => ContextMenuInfo; getParentMenuInfo: (menuRef: HTMLElement) => ContextMenuInfo; getRootMenuInfo: () => ContextMenuInfo; }>>; export declare const useNestedMenuContext: () => Partial<{ registerMenu: (menuInfo: ContextMenuInfo) => void; unregisterMenu: (menuRef?: HTMLElement | undefined) => void; getMenuInfo: (menuRef: HTMLElement) => ContextMenuInfo; getChildMenuInfo: (menuRef: HTMLElement) => ContextMenuInfo; getParentMenuInfo: (menuRef: HTMLElement) => ContextMenuInfo; getRootMenuInfo: () => ContextMenuInfo; }>; declare const NestedMenuProvider: { ({ children }: PropsWithChildren<{}>): ReactElement; displayName: string; }; export default NestedMenuProvider;