import Component from '../../components/checkbox/checkbox.component.js'; import { type EventName } from '@lit/react'; import type { NuBlurEvent } from '../../events/events.js'; import type { NuChangeEvent } from '../../events/events.js'; import type { NuFocusEvent } from '../../events/events.js'; import type { NuInputEvent } from '../../events/events.js'; import type { NuInvalidEvent } from '../../events/events.js'; export type { NuBlurEvent } from '../../events/events.js'; export type { NuChangeEvent } from '../../events/events.js'; export type { NuFocusEvent } from '../../events/events.js'; export type { NuInputEvent } from '../../events/events.js'; export type { NuInvalidEvent } from '../../events/events.js'; /** * @summary Checkboxes allow the user to toggle an option on or off. * @documentation https://nebulaui.org/components/checkbox * @status stable * @since 2.0 * * @dependency sl-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 nu-blur - Emitted when the checkbox loses focus. * @event nu-change - Emitted when the checked state changes. * @event nu-focus - Emitted when the checkbox gains focus. * @event nu-input - Emitted when the checkbox receives input. * @event nu-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; onNuChange: EventName; onNuFocus: EventName; onNuInput: EventName; onNuInvalid: EventName; }>; export default reactWrapper;