import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
export declare type UxDynValidationMetaData = string | UxDynValidationMetaDataObject;
export declare class UxDynValidationMetaDataObject {
    valFnId: string;
    params?: Array<any>;
    severity?: string;
    constructor(values: any);
}
export interface UxDynValidators {
    validatorFn?: Array<UxDynValidationMetaData | ValidatorFn>;
    asyncValidatorFn?: Array<UxDynValidationMetaData | ValidatorFn>;
}
export declare class UxDynValidationErrorsClass {
    uxValidationError: UxDynValidationError;
    constructor(uxValidationError: UxDynValidationError);
}
export interface UxDynValidationError {
    message: string;
    type: string;
}
export declare function uxDynValidator(fn: ValidatorFn | any, message: (arg?: any) => string, severity: string): (c: AbstractControl) => null | ValidationErrors;
export declare function isNull(val: any): any;
export declare function oneOfRequired(...params: any[]): ValidationErrors;
export declare type OneOfRequiredValidationParams = Array<{
    fieldKey: string;
    fieldLabel: string;
}>;
