import { Components, JSX } from '@vime/core'; interface VmControlProps { class?: string; style?: string; /** A slash (`/`) separated string of JS keyboard keys (`KeyboardEvent.key`), that when caught in a `keydown` event, will trigger a `click` event on the control. */ keys?: Components.VmControl["keys"]; /** The `id` attribute of the control. */ identifier?: Components.VmControl["identifier"]; /** Whether the control should be displayed or not. */ hidden?: Components.VmControl["hidden"]; /** The `aria-label` property of the control. */ label?: Components.VmControl["label"]; /** If the control has a popup menu, then this should be the `id` of said menu. Sets the `aria-controls` property. */ menu?: Components.VmControl["menu"]; /** If the control has a popup menu, this indicates whether the menu is open or not. Sets the `aria-expanded` property. */ expanded?: Components.VmControl["expanded"]; /** If the control is a toggle, this indicated whether the control is in a "pressed" state or not. Sets the `aria-pressed` property. */ pressed?: Components.VmControl["pressed"]; /** */ isTouch?: Components.VmControl["isTouch"]; } interface VmControlEvents { /** Emitted when the user is interacting with the control by focusing, touching or hovering on it. */ vmInteractionChange: Parameters[0]; /** Emitted when the control receives focus. */ vmFocus: Parameters[0]; /** Emitted when the control loses focus. */ vmBlur: Parameters[0]; } interface VmControlSlots { default: any; } import { SvelteComponent } from "svelte/internal"; declare class Control extends SvelteComponent { $$prop_def: VmControlProps; $$events_def: VmControlEvents; $$slot_def: VmControlSlots; $on(type: K, callback: (e: VmControlEvents[K]) => any): () => void; $set($$props: Partial): void; constructor(options: any); /** Focuses the control. */ get focusControl(): Components.VmControl["focusControl"]; /** Removes focus from the control. */ get blurControl(): Components.VmControl["blurControl"]; get ref(): any; get getWebComponent(): HTMLVmControlElement | undefined; } export default Control;