export function validateObject(object: any, fileConstraints: any): Error;
/**
 * Use this function for calls that support async/await
 * @param object - the json object being validated
 * @param fileConstraints - validation rules for the json object
 * @returns {Promise<Error|null>}
 */
export function validateObjectAsync(object: any, fileConstraints: any): Promise<Error | null>;
/**
 *
 * @param {{}} object
 * @param {Joi.ObjectSchema} schema
 * @returns {*}
 */
export function validateBySchema(object: {}, schema: Joi.ObjectSchema): any;
