import { Components, JSX } from '@vime/core'; interface VmSubmenuProps { class?: string; style?: string; /** The title of the submenu. */ label?: Components.VmSubmenu["label"]; /** This can provide additional context about the current state of the submenu. For example, the hint could be the currently selected option if the submenu contains a radio group. */ hint?: Components.VmSubmenu["hint"]; /** The direction the submenu should slide in from. */ slideInDirection?: Components.VmSubmenu["slideInDirection"]; /** Whether the submenu is open/closed. */ active?: Components.VmSubmenu["active"]; } interface VmSubmenuEvents { /** Emitted when the submenu is open/active. */ vmOpenSubmenu: Parameters[0]; /** Emitted when the submenu has closed/is not active. */ vmCloseSubmenu: Parameters[0]; } interface VmSubmenuSlots { default: any; } import { SvelteComponent } from "svelte/internal"; declare class Submenu extends SvelteComponent { $$prop_def: VmSubmenuProps; $$events_def: VmSubmenuEvents; $$slot_def: VmSubmenuSlots; $on(type: K, callback: (e: VmSubmenuEvents[K]) => any): () => void; $set($$props: Partial): void; constructor(options: any); /** Returns the controller (`vm-menu-item`) for this submenu. */ get getController(): Components.VmSubmenu["getController"]; /** Returns the menu (`vm-menu`) for this submenu. */ get getMenu(): Components.VmSubmenu["getMenu"]; /** Returns the height of the submenu controller. */ get getControllerHeight(): Components.VmSubmenu["getControllerHeight"]; get ref(): any; get getWebComponent(): HTMLVmSubmenuElement | undefined; } export default Submenu;