import Component from '../../components/switch/switch.component.js'; import { type EventName } from '@lit/react'; import type { AWCBlurEvent } from '../../events/events.js'; import type { AWCChangeEvent } from '../../events/events.js'; import type { AWCInputEvent } from '../../events/events.js'; import type { AWCFocusEvent } from '../../events/events.js'; import type { AWCInvalidEvent } from '../../events/events.js'; export type { AWCBlurEvent } from '../../events/events.js'; export type { AWCChangeEvent } from '../../events/events.js'; export type { AWCInputEvent } from '../../events/events.js'; export type { AWCFocusEvent } from '../../events/events.js'; export type { AWCInvalidEvent } from '../../events/events.js'; /** * @summary Switches allow the user to toggle an option on or off. * @documentation https://webcomponents.adeliom.io/?path=/docs/components-switch--documentation * @status stable * @since 1.0 * * @slot - The switch's label. * @slot help-text - Text that describes how to use the switch. Alternatively, you can use the `help-text` attribute. * * @event awc-blur - Emitted when the control loses focus. * @event awc-change - Emitted when the control's checked state changes. * @event awc-input - Emitted when the control receives input. * @event awc-focus - Emitted when the control gains focus. * @event awc-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied. * * @csspart base - The component's base wrapper. * @csspart control - The control that houses the switch's thumb. * @csspart thumb - The switch's thumb. * @csspart label - The switch's label. * @csspart form-control-help-text - The help text's wrapper. * * @cssproperty --width - The width of the switch. * @cssproperty --height - The height of the switch. * @cssproperty --thumb-size - The size of the thumb. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onAwcChange: EventName; onAwcInput: EventName; onAwcFocus: EventName; onAwcInvalid: EventName; }>; export default reactWrapper;