import * as joi from 'joi'; import { Context, Request } from 'koa'; interface IContextWithRequest extends Context { params?: object; request: Request & { params?: object; body?: object; query?: object; }; } export default function requestValidatorFactory({ params, query, body }?: { params?: joi.AnySchema | undefined; query?: joi.AnySchema | undefined; body?: joi.AnySchema | undefined; }): (ctx: IContextWithRequest, next: () => void) => Promise; export {}; //# sourceMappingURL=request-validator.d.ts.map