import * as React from 'react'; import { type MenuSubProps as SharedMenuSubProps } from '../utils/menuSub.js'; /** * Nested submenu root, owns open state and popper context. Renders no DOM. * * @example * ```tsx * * Edit * * Share * * Email * Copy link * * * * ``` */ export declare function MenuSub(props: SharedMenuSubProps): React.JSX.Element; export declare namespace MenuSub { var displayName: string; } /** * The parent-menu item that opens a submenu — `role="menuitem"` with `aria-haspopup="menu"`, `aria-expanded`, `aria-controls` and `data-state` — opening on click/Enter/Space/ArrowRight (moving focus in) or hover (leaving focus where it is). */ export declare const MenuSubTrigger: { ({ disabled, textValue, ref: forwardedRef, ...props }: import("../index.js").MenuSubTriggerProps): React.ReactNode; displayName: string; }; /** * The submenu's floating panel — `role="menu"`, positioned against `MenuSubTrigger` — with its own roving focus and typeahead; ArrowLeft/Escape close it and refocus the trigger, leaving the parent menu open. */ export declare const MenuSubContent: { ({ forceMount, loop, side, align, sideOffset, ref: forwardedRef, size, ...props }: import("../utils/menuSub.js").MenuSubContentProps): React.ReactNode; displayName: string; };