import * as _angular_core from '@angular/core'; import { AfterViewInit, ElementRef, Injector } from '@angular/core'; import _TextArea from '@ui5/webcomponents-ai/dist/TextArea.js'; import { UI5CustomEvent } from '@ui5/webcomponents-base'; import * as i1 from '@fundamental-ngx/ui5-webcomponents-ai/utils'; declare class TextArea implements AfterViewInit { /** * Indicates the index of the currently displayed version. */ currentVersion: _angular_core.InputSignal; /** * Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state. */ loading: _angular_core.InputSignalWithTransform; /** * Defines the prompt description of the current action. */ promptDescription: _angular_core.InputSignal; /** * Indicates the total number of result versions available. Notes: Versioning is hidden if the value is `0` */ totalVersions: _angular_core.InputSignal; /** * Defines the accessible description of the component. */ accessibleDescription: _angular_core.InputSignal; /** * Receives id(or many ids) of the elements that describe the textarea. */ accessibleDescriptionRef: _angular_core.InputSignal; /** * Defines the accessible ARIA name of the component. */ accessibleName: _angular_core.InputSignal; /** * Receives id(or many ids) of the elements that label the textarea. */ accessibleNameRef: _angular_core.InputSignal; /** * Indicates whether the user can interact with the component or not. **Note:** A disabled component is completely noninteractive. */ disabled: _angular_core.InputSignalWithTransform; /** * Enables the component to automatically grow and shrink dynamically with its content. */ growing: _angular_core.InputSignalWithTransform; /** * Defines the maximum number of rows that the component can grow. */ growingMaxRows: _angular_core.InputSignal; /** * Defines the maximum number of characters that the `value` can have. */ maxlength: _angular_core.InputSignal; /** * Determines the name by which the component will be identified upon submission in an HTML form. **Note:** This property is only applicable within the context of an HTML Form element. */ name: _angular_core.InputSignal; /** * Defines a short hint intended to aid the user with data entry when the component has no value. */ placeholder: _angular_core.InputSignal; /** * Defines whether the component is read-only. **Note:** A read-only component is not editable, but still provides visual feedback upon user interaction. */ readonly: _angular_core.InputSignalWithTransform; /** * Defines whether the component is required. */ required: _angular_core.InputSignalWithTransform; /** * Defines the number of visible text rows for the component. **Notes:** - If the `growing` property is enabled, this property defines the minimum rows to be displayed in the textarea. - The CSS `height` property wins over the `rows` property, if both are set. */ rows: _angular_core.InputSignal; /** * Determines whether the characters exceeding the maximum allowed character count are visible in the component. If set to `false`, the user is not allowed to enter more characters than what is set in the `maxlength` property. If set to `true` the characters exceeding the `maxlength` value are selected on paste and the counter below the component displays their number. */ showExceededText: _angular_core.InputSignalWithTransform; /** * Defines the value of the component. */ value: _angular_core.InputSignal; /** * Defines the value state of the component. **Note:** If `maxlength` property is set, the component turns into "Critical" state once the characters exceeds the limit. In this case, only the "Negative" state is considered and can be applied. */ valueState: _angular_core.InputSignal<"None" | "Positive" | "Critical" | "Negative" | "Information" | undefined>; /** * Fired when the user requests to stop AI text generation. */ ui5StopGeneration: _angular_core.OutputEmitterRef>; /** * Fired when the user clicks on version navigation buttons. */ ui5VersionChange: _angular_core.OutputEmitterRef>; /** * Fired when the text has changed and the focus leaves the component. */ ui5Change: _angular_core.OutputEmitterRef>; /** * Fired when the value of the component changes at each keystroke or when something is pasted. */ ui5Input: _angular_core.OutputEmitterRef>; /** * Fired when textarea is scrolled. */ ui5Scroll: _angular_core.OutputEmitterRef>; /** * Fired when some text has been selected. */ ui5Select: _angular_core.OutputEmitterRef>; /** * Available slots for content projection in this component. * * Slots allow you to insert custom content into predefined areas of the web component. * Use the `slot` attribute on child elements to target specific slots. * * - **menu**: Defines a slot for `ui5-menu` integration. This slot allows you to pass a `ui5-menu` instance that will be associated with the assistant. * - **valueStateMessage**: Defines the value state message that will be displayed as pop up under the component. The value state message slot should contain only one root element. **Note:** If not specified, a default text (in the respective language) will be displayed. **Note:** The `valueStateMessage` would be displayed if the component has `valueState` of type `Information`, `Critical` or `Negative`. * * @example * ```html * *
Custom header content
*

Default slot content

*
* ``` * * @readonly * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots} */ readonly slots: ({ name: string; description: string; since?: undefined; } | { name: string; description: string; since: string; })[]; elementRef: ElementRef<_TextArea>; injector: Injector; /** * Content density observer is injected to activate automatic CSS class and * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed. * @private */ private readonly _contentDensityObserver; private readonly _destroyRef; get element(): _TextArea; ngAfterViewInit(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { TextArea };