import { Application, Context } from 'egg'; import { RouteType } from '../type'; export declare function paramValidateMiddleware(app: Application, typeInfo: RouteType): (ctx: Context, next: any) => Promise;