import { IMiddleware } from '@midwayjs/core';
import { Context, NextFunction } from '@midwayjs/koa';
/**
 * 格式化中间件
 */
export declare class FormatMiddleware implements IMiddleware<Context, NextFunction> {
    resolve(): (ctx: Context, next: NextFunction) => Promise<any>;
    ignore(ctx: any): boolean;
    static getName(): string;
}
