import type { Snippet } from 'svelte'; type $$ComponentProps = { /** Stable id for sub-menu bookkeeping. Auto-generated when omitted. */ id?: string; /** Display label. Falls back to the slot's text content. */ label?: string; /** @default false */ disabled?: boolean; /** Optional leading icon component. */ icon?: unknown; /** * Marks the item as a selectable setting: `true` / `false` renders * `role="menuitemradio"` with `aria-checked` and a checkmark indicator * (empty gutter when unchecked); `undefined` keeps the plain * `role="menuitem"`. The state is consumer-owned — Menu only displays it. */ checked?: boolean; /** Right-aligned secondary text on the row (current value, shortcut hint). */ detail?: string; /** * Reserve the checkmark gutter even without own `checked` state, so verb * rows align with radio rows in the same scope. Menu passes this per * section group / top level in array mode; when omitted, the row falls * back to the menu-wide `ctx.showCheckGutter` signal. */ checkGutter?: boolean; /** Invoked when the item is activated (click / Enter / Space). */ onSelect?: () => void; /** * Keep the menu open after activation. Useful for repeated actions like * "Add tag" where the user picks several entries in a row. * @default false */ keepOpen?: boolean; children?: Snippet; class?: string; }; declare const MenuItem: import("svelte").Component<$$ComponentProps, {}, "">; type MenuItem = ReturnType; export default MenuItem;