import { Context, IMiddleware, NextFunction } from '@midwayjs/core'; import { SerializeService } from '../service/serializeService'; type _Middleware = IMiddleware; interface Options { pretty?: boolean; space?: number | string; match?: _Middleware['match']; ignore?: _Middleware['ignore']; } export declare class RESTfulMiddleware implements _Middleware { match?: _Middleware['match']; ignore?: _Middleware['ignore']; resolve(_app: unknown, options?: Options): (ctx: Context, next: NextFunction) => Promise; resolveSerializer(ctx: Context): Promise; } export {}; //# sourceMappingURL=restful.middleware.d.ts.map