/// <reference types="node" />
import { Context } from '@midwayjs/koa';
import { AssertionError } from 'assert';
/**
 * 校验处理器
 */
export declare class AssertionErrorFilter {
    catch(err: AssertionError, ctx: Context): Promise<{
        code: string;
        success: boolean;
        message: string;
    }>;
}
