import { ElementRef, AfterViewInit } from '@angular/core'; import { MatFormField } from '@angular/material'; import { NgControl } from '@angular/forms'; export declare class DefaultFormErrorsDirective implements AfterViewInit { private formField; private el; ngControl: NgControl; constructor(formField: MatFormField, el: ElementRef); ngAfterViewInit(): void; firstError(): any; invalid(): boolean; errorMessage(errorType: any, e: any): string; errorLabel(): string; }