import { n as Scope } from "../create-context-CKMcRGBM.js"; import { t as IDirection } from "../direction.types-Cxja_joX.js"; import { t as Primitive } from "../primitive-elements-fih1b6xg.js"; import { n as RovingFocusGroup } from "../roving-focus-COML8883.js"; import { a as Group, c as Label, d as RadioItem, g as SubTrigger, h as SubContent, i as Content, l as Portal, n as Arrow, o as Item, p as Separator, r as CheckboxItem, s as ItemIndicator, u as RadioGroup } from "../index-D82jDtoj.js"; import * as React$1 from "react"; //#region src/menubar/menubar.types.d.ts declare namespace IMenubar { export type IScoped = TProps & { __scopeMenubar?: Scope; }; export type TriggerElement = React$1.ComponentRef; export interface IItemData { value: string; disabled: boolean; } export interface IContext { value: string; dir: IDirection.Kind; loop: boolean; onMenuOpen(value: string): void; onMenuClose(): void; onMenuToggle(value: string): void; } export interface IMenuContext { value: string; triggerId: string; triggerRef: React$1.RefObject; contentId: string; wasKeyboardTriggerOpenRef: React$1.RefObject; } type PrimitiveDivProps = React$1.ComponentPropsWithoutRef; type PrimitiveButtonProps = React$1.ComponentPropsWithoutRef; type RovingFocusGroupProps = React$1.ComponentPropsWithoutRef; type MenuContentProps = React$1.ComponentPropsWithoutRef; type MenuItemIndicatorProps = React$1.ComponentPropsWithoutRef; type MenuItemProps = React$1.ComponentPropsWithoutRef; type MenuCheckboxItemProps = React$1.ComponentPropsWithoutRef; type MenuGroupProps = React$1.ComponentPropsWithoutRef; type MenuPortalProps = React$1.ComponentPropsWithoutRef; type MenuRadioGroupProps = React$1.ComponentPropsWithoutRef; type MenuRadioItemProps = React$1.ComponentPropsWithoutRef; type MenuSeparatorProps = React$1.ComponentPropsWithoutRef; type MenuSubContentProps = React$1.ComponentPropsWithoutRef; type MenuSubTriggerProps = React$1.ComponentPropsWithoutRef; type MenuArrowProps = React$1.ComponentPropsWithoutRef; type MenuLabelProps = React$1.ComponentPropsWithoutRef; export interface IProps extends PrimitiveDivProps { value?: string; defaultValue?: string; onValueChange?: (value: string) => void; loop?: RovingFocusGroupProps['loop']; dir?: RovingFocusGroupProps['dir']; } export interface IMenuProps { children?: React$1.ReactNode; value?: string; onOpenChange?: (open: boolean) => void; } export interface ITriggerProps extends PrimitiveButtonProps {} export interface IContentProps extends Omit {} export interface IItemIndicatorProps extends MenuItemIndicatorProps {} export interface IItemProps extends MenuItemProps {} export interface ICheckboxItemProps extends MenuCheckboxItemProps {} export interface IGroupProps extends MenuGroupProps {} export interface IPortalProps extends MenuPortalProps {} export interface IRadioGroupProps extends MenuRadioGroupProps {} export interface IRadioItemProps extends MenuRadioItemProps {} export interface ISeparatorProps extends MenuSeparatorProps {} export interface ISubContentProps extends MenuSubContentProps {} export interface ISubTriggerProps extends MenuSubTriggerProps {} export interface IArrowProps extends MenuArrowProps {} export interface ILabelProps extends MenuLabelProps {} export interface ISubProps { children?: React$1.ReactNode; open?: boolean; defaultOpen?: boolean; onOpenChange?(open: boolean): void; } export {}; } //#endregion export { IMenubar };