export type MenuOrientation = "vertical" | "horizontal"; export type MenuTheme = "light" | "dark"; export interface MenuActionContext { path: string[]; metadata?: Record; } export interface MenuItemBase { id?: string; label: string; icon?: string; shortcut?: string; description?: string; disabled?: boolean; active?: boolean; metadata?: Record; } export interface MenuActionItem extends MenuItemBase { type?: "action"; href?: string; target?: "_blank" | "_self" | "_parent" | "_top"; onSelect?: (context: MenuActionContext) => void; } export interface MenuSubmenuItem extends MenuItemBase { type: "submenu"; children: MenuItem[]; } export interface MenuDividerItem { type: "divider"; label?: string; } export type MenuItem = MenuActionItem | MenuSubmenuItem | MenuDividerItem; export interface MenuOptions { selector: string; items: MenuItem[]; label?: string; activePath?: string[]; orientation?: MenuOrientation; theme?: MenuTheme; autoFocus?: boolean; loopNavigation?: boolean; closeSubmenusOnLeave?: boolean; onActivePathChange?: (path: string[]) => void; searchable?: boolean; searchPlaceholder?: string; hydrate?: boolean; } //# sourceMappingURL=Menu.types.d.ts.map