export interface MenubarSubItem { id: string; label: string; disabled?: boolean; separator?: boolean; shortcut?: string; destructive?: boolean; /** Show a leading check column (macOS / Cursor style). */ checked?: boolean; /** Nested flyout submenu. */ children?: MenubarSubItem[]; } export interface MenubarItem { id: string; label: string; items?: MenubarSubItem[]; } interface MenubarProps { items?: MenubarItem[]; class?: string; onselect?: (itemId: string, parentId: string, checked?: boolean) => void; } declare const Menubar: import("svelte").Component; type Menubar = ReturnType; export default Menubar;