import { Context } from '@midwayjs/koa';
import * as Joi from 'joi';
/**
 * 校验处理器
 */
export declare class ValidateErrorFilter {
    catch(err: Joi.ValidationError, ctx: Context): Promise<{
        code: string;
        success: boolean;
        message: string;
    }>;
}
