import Component from '../../components/switch/switch.component.js'; import { type EventName } from '@lit/react'; import type { CwBlurEvent } from '../../events/events.js'; import type { CwChangeEvent } from '../../events/events.js'; import type { CwInputEvent } from '../../events/events.js'; import type { CwFocusEvent } from '../../events/events.js'; import type { CwInvalidEvent } from '../../events/events.js'; export type { CwBlurEvent } from '../../events/events.js'; export type { CwChangeEvent } from '../../events/events.js'; export type { CwInputEvent } from '../../events/events.js'; export type { CwFocusEvent } from '../../events/events.js'; export type { CwInvalidEvent } from '../../events/events.js'; /** * @summary Switches allow the user to toggle an option on or off. * @documentation https://cw-elements-b0c7e5.gitlab.io/components/switch * @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 cw-blur - Emitted when the control loses focus. * @event cw-change - Emitted when the control's checked state changes. * @event cw-input - Emitted when the control receives input. * @event cw-focus - Emitted when the control gains focus. * @event cw-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; onCwChange: EventName; onCwInput: EventName; onCwFocus: EventName; onCwInvalid: EventName; }>; export default reactWrapper;