import type { ReferenceType } from '@floating-ui/react'; export interface SubMenuContextValue { opened: boolean; close: () => void; open: () => void; focusFirstItem: () => void; focusParentItem: () => void; parentContext: SubMenuContextValue | null; setReference: (node: ReferenceType | null) => void; setFloating: (node: HTMLElement | null) => void; getReferenceProps: (userProps?: React.HTMLProps) => Record; getFloatingProps: (userProps?: React.HTMLProps) => Record; registerOpenSub: (closeFn: () => void) => () => void; } export declare const SubMenuContext: import("react").Context;