import Component from '../../components/input/input.component.js'; import { type EventName } from '@lit/react'; import type { TerraInputEvent } from '../../events/events.js'; import type { TerraChangeEvent } from '../../events/events.js'; import type { TerraFocusEvent } from '../../events/events.js'; import type { TerraBlurEvent } from '../../events/events.js'; import type { TerraInvalidEvent } from '../../events/events.js'; import type { TerraClearEvent } from '../../events/events.js'; export type { TerraInputEvent } from '../../events/events.js'; export type { TerraChangeEvent } from '../../events/events.js'; export type { TerraFocusEvent } from '../../events/events.js'; export type { TerraBlurEvent } from '../../events/events.js'; export type { TerraInvalidEvent } from '../../events/events.js'; export type { TerraClearEvent } from '../../events/events.js'; /** * @summary A text input component with consistent styling across the design system. * @documentation https://terra-ui.netlify.app/components/input * @status stable * @since 1.0 * * @dependency terra-icon * * @slot prefix - Used to prepend content (like an icon) to the input. * @slot suffix - Used to append content (like an icon) to the input. When `clearable` or `resettable` is true, this slot is overridden. * @slot clear-icon - An icon to use in lieu of the default clear icon. * @slot show-password-icon - An icon to use in lieu of the default show password icon. * @slot hide-password-icon - An icon to use in lieu of the default hide password icon. * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute. * * @event terra-input - Emitted when the input receives input. * @event terra-change - Emitted when an alteration to the control's value is committed by the user. * @event terra-focus - Emitted when the control gains focus. * @event terra-blur - Emitted when the control loses focus. * @event terra-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied. * @event terra-clear - Emitted when the clear button is activated. * * @csspart base - The component's base wrapper. * @csspart input - The internal input control. * @csspart prefix - The container for prefix content. * @csspart suffix - The container for suffix content. * @csspart clear-button - The clear button. * @csspart password-toggle-button - The password toggle button. * @csspart form-control-help-text - The help text's wrapper. * @csspart form-control-error-text - The error text's wrapper. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onTerraChange: EventName; onTerraFocus: EventName; onTerraBlur: EventName; onTerraInvalid: EventName; onTerraClear: EventName; }>; export default reactWrapper;