import { ElementRef, OnDestroy, Renderer2 } from '@angular/core'; import { IErrorConfig } from '../models'; import * as i0 from "@angular/core"; export declare class Validation implements OnDestroy { errorElements: any[]; renderer: Renderer2; elementRef: any; errorConfig: IErrorConfig; createErrorElement(): void; get getErrorClass(): "icon-text-error" | "plain-text-error"; removeErrorElements(): void; updateErrorMessage(currentElementRef: ElementRef, fieldName: string | undefined, errors: any): void; renderErrorMessage(fieldName: string, errors: any): void; setErrorMessage(element: HTMLElement, errorMessage: string): void; getErrorMessage(fieldName: string | undefined, errors: any, errorKey: string, errorTemplate: string): string; getOnlyErrorMessage(errorKey: any, fieldName: string, errors: any): string; getMultipleErrorMessage(fieldName: string, errors: any): string[] | null; getSingleErrorMessage(fieldName: string, errors: any): string | null; getErrorTemplate(errorKey: string, deafultMessage: string, errors: any): string; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }