import type { Snippet } from 'svelte'; import type { MenuItemType } from './index.js'; type $$ComponentProps = { /** Stable id for sub-menu bookkeeping. */ id: string; /** Visible label on the parent menu row. */ label?: string; /** @default false */ disabled?: boolean; /** Optional leading icon component. */ icon?: unknown; /** * Right-aligned secondary text on the parent row — typically the current * value among the sub-menu's entries ("Average"), visible while collapsed. */ detail?: string; /** * Reserve the checkmark gutter on the parent row (always empty — a * disclosure is never checked), so it aligns with radio rows in the same * scope. Falls back to the menu-wide signal when omitted. */ checkGutter?: boolean; /** * Array-shape children — used when Menu's parent `items` array contains a * `MenuObjectOption` with `children: MenuItemType[]`. Mutually exclusive * with the `children` snippet. */ items?: MenuItemType[]; /** * Declarative-shape children — used inside ``. */ children?: Snippet; /** Extra classes merged onto the parent row, after `slotClasses.item`. */ class?: string; }; declare const MenuSubmenu: import("svelte").Component<$$ComponentProps, {}, "">; type MenuSubmenu = ReturnType; export default MenuSubmenu;