import Component from '../../components/checkbox/checkbox.component.js'; import { type EventName } from '@lit/react'; import type { CwBlurEvent } from '../../events/events.js'; import type { CwChangeEvent } from '../../events/events.js'; import type { CwFocusEvent } from '../../events/events.js'; import type { CwInputEvent } 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 { CwFocusEvent } from '../../events/events.js'; export type { CwInputEvent } from '../../events/events.js'; export type { CwInvalidEvent } from '../../events/events.js'; /** * @summary Checkboxes allow the user to toggle an option on or off. * @documentation https://cw-elements-b0c7e5.gitlab.io/components/checkbox * @status stable * @since 1.0 * * @dependency cw-icon * * @slot - The checkbox's label. * @slot help-text - Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute. * * @event cw-blur - Emitted when the checkbox loses focus. * @event cw-change - Emitted when the checked state changes. * @event cw-focus - Emitted when the checkbox gains focus. * @event cw-input - Emitted when the checkbox receives input. * @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 square container that wraps the checkbox's checked state. * @csspart control--checked - Matches the control part when the checkbox is checked. * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate. * @csspart checked-icon - The checked icon, an `` element. * @csspart indeterminate-icon - The indeterminate icon, an `` element. * @csspart label - The container that wraps the checkbox's label. * @csspart form-control-help-text - The help text's wrapper. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onCwChange: EventName; onCwFocus: EventName; onCwInput: EventName; onCwInvalid: EventName; }>; export default reactWrapper;