export declare const ERROR_MESSAGES: { invalid: string; taken: string; not_found: string; blank: string; }; declare type ERRORS_MESSAGE_IDS = keyof typeof ERROR_MESSAGES; export declare const ERRORS: { [key: string]: ERRORS_MESSAGE_IDS; }; interface IErrorObject { error: ERRORS_MESSAGE_IDS; } export declare type IError = IErrorObject | ERRORS_MESSAGE_IDS; export interface IErrors { [field: string]: IError[] | IError; } export interface IErrorsResponse { error: boolean; message: string; details?: IErrors; errors?: IErrors; } export declare const ErrorUtils: { getErrors(errors: IErrors): string[]; getAndPrintErrors(errorResponse: IErrorsResponse): void; getErrorMessage(name: string, error: ERRORS_MESSAGE_IDS): string; }; export {};