import { Components, JSX } from '@vime/core'; interface VmMenuItemProps { class?: string; style?: string; /** The `id` attribute of the item. */ identifier?: Components.VmMenuItem["identifier"]; /** Whether the item is displayed or not. */ hidden?: Components.VmMenuItem["hidden"]; /** The label/title of the item. */ label?: Components.VmMenuItem["label"]; /** If the item has a popup menu, then this should be a reference to it. */ menu?: Components.VmMenuItem["menu"]; /** If the item has a popup menu, this indicates whether the menu is open or not. Sets the `aria-expanded` property. */ expanded?: Components.VmMenuItem["expanded"]; /** If this item is to behave as a radio button, then this property determines whether the radio is selected or not. Sets the `aria-checked` property. */ checked?: Components.VmMenuItem["checked"]; /** This can provide additional context about some underlying state of the item. For example, if the menu item opens/closes a submenu with options, the hint could be the currently selected option. If `checked` is defined, `hint` is not shown. */ hint?: Components.VmMenuItem["hint"]; /** This can provide additional context about the value of a menu item. For example, if the item is a radio button for a set of video qualities, the badge could describe whether the quality is UHD, HD etc. If `hint` is shown, `badge` is not shown. */ badge?: Components.VmMenuItem["badge"]; /** The name of the checkmark icon to resolve from the icon library. */ checkIcon?: Components.VmMenuItem["checkIcon"]; /** The name of an icon library to use. Defaults to the library defined by the `icons` player property. */ icons?: Components.VmMenuItem["icons"]; /** */ isTouch?: Components.VmMenuItem["isTouch"]; } interface VmMenuItemEvents { /** Emitted when the item is focused. */ vmFocus: Parameters[0]; /** Emitted when the item loses focus. */ vmBlur: Parameters[0]; } interface VmMenuItemSlots { default: any; } import { SvelteComponent } from "svelte/internal"; declare class MenuItem extends SvelteComponent { $$prop_def: VmMenuItemProps; $$events_def: VmMenuItemEvents; $$slot_def: VmMenuItemSlots; $on(type: K, callback: (e: VmMenuItemEvents[K]) => any): () => void; $set($$props: Partial): void; constructor(options: any); /** Focuses the menu item. */ get focusItem(): Components.VmMenuItem["focusItem"]; /** Removes focus from the menu item. */ get blurItem(): Components.VmMenuItem["blurItem"]; /** Returns the height of the menu item. */ get getHeight(): Components.VmMenuItem["getHeight"]; get ref(): any; get getWebComponent(): HTMLVmMenuItemElement | undefined; } export default MenuItem;