import { ElementRef, OnInit } from '@angular/core'; /** * * Autofocus element once its loaded * * @example * */ export declare class RcTextareaAutoresizeDirective implements OnInit { element: ElementRef; /** * Active / autofocus */ autoresize: boolean; /** * Listen to input event * @param HTMLTextAreaElement textArea */ onInput(textArea: HTMLTextAreaElement): void; constructor(element: ElementRef); /** * On init - adjust height */ ngOnInit(): void; /** * adjust textarea height by text */ adjust(): void; }