import * as _angular_core from '@angular/core';
import { AfterViewInit, ElementRef, Injector } from '@angular/core';
import _TextArea from '@ui5/webcomponents/dist/TextArea.js';
import { UI5CustomEvent } from '@ui5/webcomponents-base';
import * as i1 from '@fundamental-ngx/ui5-webcomponents/utils';

declare class TextArea implements AfterViewInit {
    /**
     * Defines the value of the component.
     */
    value: _angular_core.InputSignal<string | undefined>;
    /**
     * Indicates whether the user can interact with the component or not.
  
  **Note:** A disabled component is completely noninteractive.
     */
    disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
    /**
     * 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<boolean, unknown>;
    /**
     * Defines whether the component is required.
     */
    required: _angular_core.InputSignalWithTransform<boolean, unknown>;
    /**
     * Defines a short hint intended to aid the user with data entry when the component has no value.
     */
    placeholder: _angular_core.InputSignal<string | undefined>;
    /**
     * 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>;
    /**
     * 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<number | undefined>;
    /**
     * Defines the maximum number of characters that the `value` can have.
     */
    maxlength: _angular_core.InputSignal<number | undefined>;
    /**
     * 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<boolean, unknown>;
    /**
     * Enables the component to automatically grow and shrink dynamically with its content.
     */
    growing: _angular_core.InputSignalWithTransform<boolean, unknown>;
    /**
     * Defines the maximum number of rows that the component can grow.
     */
    growingMaxRows: _angular_core.InputSignal<number | undefined>;
    /**
     * 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<string | undefined>;
    /**
     * Defines the accessible ARIA name of the component.
     */
    accessibleName: _angular_core.InputSignal<string | undefined>;
    /**
     * Receives id(or many ids) of the elements that label the textarea.
     */
    accessibleNameRef: _angular_core.InputSignal<string | undefined>;
    /**
     * Defines the accessible description of the component.
     */
    accessibleDescription: _angular_core.InputSignal<string | undefined>;
    /**
     * Receives id(or many ids) of the elements that describe the textarea.
     */
    accessibleDescriptionRef: _angular_core.InputSignal<string | undefined>;
    /**
     * Fired when the text has changed and the focus leaves the component.
     */
    ui5Change: _angular_core.OutputEmitterRef<UI5CustomEvent<_TextArea, "change">>;
    /**
     * Fired when the value of the component changes at each keystroke or when
  something is pasted.
     */
    ui5Input: _angular_core.OutputEmitterRef<UI5CustomEvent<_TextArea, "input">>;
    /**
     * Fired when some text has been selected.
     */
    ui5Select: _angular_core.OutputEmitterRef<UI5CustomEvent<_TextArea, "select">>;
    /**
     * Fired when textarea is scrolled.
     */
    ui5Scroll: _angular_core.OutputEmitterRef<UI5CustomEvent<_TextArea, "scroll">>;
    /**
     * 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.
     *
     * - **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
     * <ui5-textarea>
     *   <div slot="header">Custom header content</div>
     *   <p>Default slot content</p>
     * </ui5-textarea>
     * ```
     *
     * @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: string;
    }[];
    elementRef: ElementRef<_TextArea>;
    injector: Injector;
    get element(): _TextArea;
    ngAfterViewInit(): void;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextArea, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextArea, "ui5-textarea, [ui5-textarea]", ["ui5TextArea"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "valueState": { "alias": "valueState"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "showExceededText": { "alias": "showExceededText"; "required": false; "isSignal": true; }; "growing": { "alias": "growing"; "required": false; "isSignal": true; }; "growingMaxRows": { "alias": "growingMaxRows"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "accessibleName": { "alias": "accessibleName"; "required": false; "isSignal": true; }; "accessibleNameRef": { "alias": "accessibleNameRef"; "required": false; "isSignal": true; }; "accessibleDescription": { "alias": "accessibleDescription"; "required": false; "isSignal": true; }; "accessibleDescriptionRef": { "alias": "accessibleDescriptionRef"; "required": false; "isSignal": true; }; }, { "ui5Change": "ui5Change"; "ui5Input": "ui5Input"; "ui5Select": "ui5Select"; "ui5Scroll": "ui5Scroll"; }, never, ["*"], true, [{ directive: typeof i1.GenericControlValueAccessor; inputs: {}; outputs: {}; }]>;
}

export { TextArea };
