import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { EmojiInputService } from '../emoji-input.service'; import { TextareaInterface } from '../textarea.interface'; import { UserResponse } from 'stream-chat'; import * as i0 from "@angular/core"; /** * The `Textarea` component is used by the [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/) component to display the input HTML element where users can type their message. */ export declare class TextareaComponent implements TextareaInterface, OnChanges, OnDestroy, AfterViewInit { private emojiInputService; class: string; /** * The value of the input HTML element. */ value: string; /** * Placeholder of the textarea */ placeholder: string; /** * See [`MessageInputConfigService`](/chat/docs/sdk/angular/services/MessageInputConfigService) for more information */ inputMode: 'desktop' | 'mobile'; /** * Enables or disables auto focus on the textarea element */ autoFocus: boolean; /** * Emits the current value of the input element when a user types. */ readonly valueChange: EventEmitter; /** * Emits when a user triggers a message send event (this happens when they hit the `Enter` key). */ readonly send: EventEmitter; /** * Emits any paste event that occured inside the textarea */ readonly pasteFromClipboard: EventEmitter; private messageInput; userMentions?: EventEmitter | undefined; areMentionsEnabled?: boolean | undefined; mentionScope?: 'channel' | 'application' | undefined; private subscriptions; private isViewInited; constructor(emojiInputService: EmojiInputService); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; ngOnDestroy(): void; inputChanged(): void; enterHit(event: Event): void; private adjustTextareaHeight; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }