import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlCheckboxElement from "@shoelace-style/shoelace/dist/components/checkbox/checkbox.js";
import {
SlBlurEvent,
SlChangeEvent,
SlFocusEvent,
SlInputEvent,
SlInvalidEvent,
} from "../events";
export type { SlCheckboxElement };
export type SlCheckboxBlurEvent = SlBlurEvent;
export type SlCheckboxChangeEvent = SlChangeEvent;
export type SlCheckboxFocusEvent = SlFocusEvent;
export type SlCheckboxInputEvent = SlInputEvent;
export type SlCheckboxInvalidEvent = SlInvalidEvent;
export interface SlCheckboxProps extends HTMLAttributes {
ref?: Ref;
/**
*
*/
title?: string;
/**
* The name of the checkbox, submitted as a name/value pair with form data.
*/
name?: string;
/**
* The current value of the checkbox, submitted as a name/value pair with form data.
*/
value?: string;
/**
* The checkbox's size.
*/
size?: "small" | "medium" | "large";
/**
* Disables the checkbox.
*/
disabled?: boolean;
/**
* Draws the checkbox in a checked state.
*/
checked?: boolean;
/**
* Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
* all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
*/
indeterminate?: boolean;
/**
* By default, form controls are associated with the nearest containing `