import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core'; import { NgControl } from '@angular/forms'; import * as i0 from "@angular/core"; export interface AutoSizeValue { minRows: number; maxRows?: number; } /** * Directive to automatically resize a textarea to fit its content. */ export declare class AutosizeDirective implements AfterViewInit, OnDestroy { private readonly elRef; private readonly ngControl; private _autoSize; private readonly destroy$$; get autoSize(): AutoSizeValue | ""; set autoSize(value: AutoSizeValue | ''); constructor(elRef: ElementRef, ngControl: NgControl); resizeTextarea(): void; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }