import { ValidationError } from 'joi';
import { ErrorMessages } from './types';
export interface ValidationErrorItemFormatted {
    field: string;
    type: string;
    message: string;
}
export declare const formatError: (error: ValidationError, messages: ErrorMessages) => ValidationErrorItemFormatted[];
