import { Menu as BaseMenu } from "@base-ui/react/menu"; import { Menubar as BaseMenubar } from "@base-ui/react/menubar"; import { useRender } from "@base-ui/react/use-render"; import * as React from "react"; interface MenubarSubTriggerProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; /** * Applies inset spacing to align nested content. * @default false */ inset?: boolean; } interface MenubarContentProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; } interface MenubarItemProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; /** * Applies inset spacing to align nested content. * @default false */ inset?: boolean; } interface MenubarCheckboxItemProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; } interface MenubarRadioItemProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; } interface MenubarLabelProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; /** * Applies inset spacing to align nested content. * @default false */ inset?: boolean; } interface MenubarSeparatorProps extends Omit, "className"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; } interface MenubarShortcutProps extends React.ComponentPropsWithRef<"span"> { /** * Applies additional CSS classes to the component root element. * @default undefined */ className?: string; /** * Overrides the default rendered element while preserving component behavior. * @default undefined */ render?: useRender.RenderProp>; /** * Enables child element composition instead of rendering the default wrapper. * @default false * @deprecated Prefer Base UI's `render` prop. */ asChild?: boolean; } /** * Renders the menubar menu. * * @remarks * - Delegates structure and state to the underlying Base UI primitive * - Built on {@link https://base-ui.com/react/components/menubar | Base UI Menubar} * - Preserves the underlying primitive API for advanced composition * * @example * ```tsx * Content * ``` * * @see {@link https://base-ui.com/react/components/menubar | Base UI Documentation} */ declare const MenubarMenu: typeof BaseMenu.Root & { displayName?: string; }; /** * Renders the menubar group. * * @remarks * - Delegates structure and state to the underlying Base UI primitive * - Built on {@link https://base-ui.com/react/components/menubar | Base UI Menubar} * - Preserves the underlying primitive API for advanced composition * * @example * ```tsx * Content * ``` * * @see {@link https://base-ui.com/react/components/menubar | Base UI Documentation} */ declare const MenubarGroup: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Provides the menubar portal container. * * @remarks * - Delegates structure and state to the underlying Base UI primitive * - Built on {@link https://base-ui.com/react/components/menubar | Base UI Menubar} * - Preserves the underlying primitive API for advanced composition * * @example * ```tsx * Content * ``` * * @see {@link https://base-ui.com/react/components/menubar | Base UI Documentation} */ declare const MenubarPortal: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Coordinates the menubar radio group. * * @remarks * - Delegates structure and state to the underlying Base UI primitive * - Built on {@link https://base-ui.com/react/components/menubar | Base UI Menubar} * - Preserves the underlying primitive API for advanced composition * * @example * ```tsx * Content * ``` * * @see {@link https://base-ui.com/react/components/menubar | Base UI Documentation} */ declare const MenubarRadioGroup: React.NamedExoticComponent & React.RefAttributes>; /** * Coordinates the menubar sub. * * @remarks * - Delegates structure and state to the underlying Base UI primitive * - Built on {@link https://base-ui.com/react/components/menubar | Base UI Menubar} * - Preserves the underlying primitive API for advanced composition * * @example * ```tsx * Content * ``` * * @see {@link https://base-ui.com/react/components/menubar | Base UI Documentation} */ declare const MenubarSub: typeof BaseMenu.SubmenuRoot & { displayName?: string; }; /** * Coordinates menubar state and accessibility behavior. * * @remarks * - Renders a `
` element by default * - Built on {@link https://base-ui.com/react/components/menubar | Base UI Menubar} * - Supports the `render` prop for element composition * * @example * ```tsx * Content * ``` * * @see {@link https://base-ui.com/react/components/menubar | Base UI Documentation} */ declare function Menubar(props: Readonly): React.ReactElement; declare namespace Menubar { var displayName: string; } /** * Renders the menubar trigger. * * @remarks * - Renders a `