import { AbstractControl, ValidatorFn } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class UtilityFunctions {
    constructor();
    /** Validate the text passed */
    validateText(str: string, length?: number | null | undefined, maxLength?: number | undefined): boolean;
    requiredValidator(errorMessage?: string): ValidatorFn;
    maxlengthValidator(fieldName: string | undefined, length: number, input_type?: string | number): ValidatorFn;
    minlengthValidator(fieldName: string | undefined, length: number, input_type?: string | number): ValidatorFn;
    emailValidator: (control: AbstractControl) => {
        email: string;
    } | null;
    onlyNumber(errorMessage?: string): ValidatorFn;
    password(errorMessage?: string): ValidatorFn;
    minValueValidator(fieldName: string, value: number | string): ValidatorFn;
    maxValueValidator(fieldName: string, value: number | string): ValidatorFn;
    patternValidator(regex: string, fieldName?: string | null | undefined, errorMessage?: string): ValidatorFn;
    static ɵfac: i0.ɵɵFactoryDeclaration<UtilityFunctions, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<UtilityFunctions>;
}
