import Component from '../../components/button/button.component.js'; import { type EventName } from '@lit/react'; import type { NuBlurEvent } from '../../events/events.js'; import type { NuFocusEvent } from '../../events/events.js'; import type { NuInvalidEvent } from '../../events/events.js'; export type { NuBlurEvent } from '../../events/events.js'; export type { NuFocusEvent } from '../../events/events.js'; export type { NuInvalidEvent } from '../../events/events.js'; /** * @summary Buttons represent actions that are available to the user. * @documentation https://nebulaui.org/components/button * @status stable * @since 2.0 * * @dependency sl-icon * @dependency sl-spinner * * @event nu-blur - Emitted when the button loses focus. * @event nu-focus - Emitted when the button gains focus. * @event nu-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied. * * @slot - The button's label. * @slot prefix - A presentational prefix icon or similar element. * @slot suffix - A presentational suffix icon or similar element. * * @csspart base - The component's base wrapper. * @csspart prefix - The container that wraps the prefix. * @csspart label - The button's label. * @csspart suffix - The container that wraps the suffix. * @csspart caret - The button's caret icon, an `` element. * @csspart spinner - The spinner that shows when the button is in the loading state. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onNuFocus: EventName; onNuInvalid: EventName; }>; export default reactWrapper;