import type { PressableRef, TextRef, ViewRef } from '../../helpers/internal/types/index.js'; import * as MenuPrimitives from '../../primitives/menu/index.js'; import { useMenuAnimation } from './menu.animation.js'; import type { MenuContentProps, MenuGroupProps, MenuItemDescriptionProps, MenuItemIndicatorProps, MenuItemProps, MenuItemTitleProps, MenuLabelProps, MenuOverlayProps, MenuPortalProps, MenuRootProps, MenuTriggerProps } from './menu.types.js'; declare const useMenu: () => MenuPrimitives.IRootContext; declare const useMenuItem: typeof MenuPrimitives.useItemContext; /** * Compound Menu component with sub-components * * @component Menu - Main container that manages open/close state, positioning, * and provides context to child components. * * @component Menu.Trigger - Clickable element that toggles the menu visibility. * * @component Menu.Portal - Renders menu content in a portal layer above other content. * * @component Menu.Overlay - Optional background overlay to capture outside clicks. * * @component Menu.Content - Container for menu content with two presentation modes: * default floating popover with positioning and collision detection, or bottom sheet modal. * * @component Menu.ContentBackground - Absolute-fill background container behind * the menu content. With no children, the active library theme decides the content * (glass theme renders a blur layer). Accepts children to host custom content such * as gradients with the container's positioning and clipping applied. Replaceable * via the `background` prop on Menu.Content. * * @component Menu.Close - Close button for the menu. * * @component Menu.Group - Groups menu items with optional selection state (none, single, multiple). * * @component Menu.Label - Non-interactive section heading text within the menu. * * @component Menu.Item - Pressable menu item. Standalone or within a Group for selection. * * @component Menu.ItemTitle - Primary label text for a menu item. * * @component Menu.ItemDescription - Secondary description text for a menu item. * * @component Menu.ItemIndicator - Visual selection indicator (e.g. checkmark) for a menu item. */ declare const Menu: import("react").ForwardRefExoticComponent> & { Trigger: import("react").ForwardRefExoticComponent>; Portal: { ({ className, children, disableFullWindowOverlay, unstable_accessibilityContainerViewIsModal, ...props }: MenuPortalProps): import("react").JSX.Element; displayName: string; }; Overlay: import("react").ForwardRefExoticComponent>; Content: import("react").ForwardRefExoticComponent>; ContentBackground: import("react").ForwardRefExoticComponent>; Close: import("react").ForwardRefExoticComponent>; Group: import("react").ForwardRefExoticComponent>; Label: import("react").ForwardRefExoticComponent>; Item: import("react").ForwardRefExoticComponent>; ItemTitle: import("react").ForwardRefExoticComponent>; ItemDescription: import("react").ForwardRefExoticComponent>; ItemIndicator: import("react").ForwardRefExoticComponent>; }; export { useMenu, useMenuAnimation, useMenuItem }; export default Menu; //# sourceMappingURL=menu.d.ts.map