import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlSwitchElement from "@shoelace-style/shoelace/dist/components/switch/switch.js";
import {
SlBlurEvent,
SlChangeEvent,
SlInputEvent,
SlFocusEvent,
SlInvalidEvent,
} from "../events";
export type { SlSwitchElement };
export type SlSwitchBlurEvent = SlBlurEvent;
export type SlSwitchChangeEvent = SlChangeEvent;
export type SlSwitchInputEvent = SlInputEvent;
export type SlSwitchFocusEvent = SlFocusEvent;
export type SlSwitchInvalidEvent = SlInvalidEvent;
export interface SlSwitchProps extends HTMLAttributes {
ref?: Ref;
/**
*
*/
title?: string;
/**
* The name of the switch, submitted as a name/value pair with form data.
*/
name?: string;
/**
* The current value of the switch, submitted as a name/value pair with form data.
*/
value?: string;
/**
* The switch's size.
*/
size?: "small" | "medium" | "large";
/**
* Disables the switch.
*/
disabled?: boolean;
/**
* Draws the switch in a checked state.
*/
checked?: boolean;
/**
* By default, form controls are associated with the nearest containing `