import * as React from 'react'; import { type PrimitivePropsWithRef } from '../utils/primitive.cjs'; import type { MenubarContextValue, MenubarProps } from './types.cjs'; /** @internal Selector for enabled menubar triggers, used for roving and arrow navigation. */ export declare const TRIGGER_SELECTOR = "[data-skdx-menubar-trigger]:not([data-disabled])"; export declare const MenubarRootProvider: React.FC, useMenubarContext: (consumerName: string) => MenubarContextValue; /** Props for {@link MenubarRoot}: manual composition without derived anatomy. */ export type MenubarRootProps = Omit & { /** * Menubar menus: each a `MenubarMenu` pairing trigger with `MenubarPortal`/`MenubarContent`. * @default undefined — an empty bar. */ children?: React.ReactNode | undefined; }; /** Menubar's state primitive, owning which menu is open and managing roving focus and typeahead across triggers, rendered as `
`. */ export declare const MenubarRoot: { ({ menu: menuProp, defaultMenu, onMenuChange, orientation, loop, density, size, ref: forwardedRef, ...props }: MenubarRootProps): React.ReactNode; displayName: string; }; /** * Application-style menu bar rendering a row of menus with roving focus and typeahead, derived fully from `menus`. * * @example * ```tsx * * ``` */ export declare const Menubar: { ({ menus, onSelect, renderItem, size, ref: forwardedRef, portalContainer, ...rest }: MenubarProps): React.ReactNode; displayName: string; }; /** * Optional small triangle pointing from a menu panel back at its trigger, rendered as a direct child of `MenubarContent`. * * @example * ```tsx * * Save * * * ``` */ export declare const MenubarArrow: { ({ ref: forwardedRef, ...props }: PrimitivePropsWithRef<"span">): React.ReactNode; displayName: string; };