import type { JSX, ValidComponent } from "@solidjs/web"; import { type MaybeAccessor } from "../internals/maybe-accessor.js"; import type { BaseUIComponentProps } from "../internals/types.js"; import type { MenuRootOrientation } from "../menu/root/menu-root-context.js"; export interface MenubarState { /** The orientation of the menubar. */ orientation: MenuRootOrientation; /** Whether the menubar is modal. */ modal: boolean; /** Whether any submenu within the menubar is open. */ hasSubmenuOpen: boolean; } export interface MenubarProps extends BaseUIComponentProps<"div", MenubarState> { /** Tag/component to render. Defaults to `"div"`. */ as?: ValidComponent; /** * Whether the menubar is modal. * @default true */ modal?: MaybeAccessor; /** * Whether the whole menubar is disabled. * @default false */ disabled?: MaybeAccessor; /** * The orientation of the menubar. * @default 'horizontal' */ orientation?: MaybeAccessor; /** * Whether to loop keyboard focus back to the first item when the end of * the list is reached while using the arrow keys. * @default true */ loopFocus?: MaybeAccessor; } /** * The container for menus. Renders a `
` that roving-focuses * across contained `` elements via arrow keys. */ export declare function Menubar(props: MenubarProps): JSX.Element; //# sourceMappingURL=menubar.d.ts.map