import { ErrorTemplateContext } from './template/error-template.context'; import { NgxFormErrorConfig } from './ngx-form-error.config'; import { AbstractControl } from '@angular/forms'; import { TemplateRef } from '@angular/core'; export declare class NgxFormErrorComponent { private formErrorConfig; control: AbstractControl | null; template?: TemplateRef; constructor(formErrorConfig: NgxFormErrorConfig); getContext(): ErrorTemplateContext; getMessage(error: string, context: any): string; getTemplate(): TemplateRef | undefined; }