1 | import type { KoaBodyMiddlewareOptions } from './types';
|
2 | import type { Middleware } from 'koa';
|
3 | import * as Koa from 'koa';
|
4 | import type { Files } from 'formidable';
|
5 | export * from './types';
|
6 | declare module 'koa' {
|
7 | interface Request extends Koa.BaseRequest {
|
8 | body?: any;
|
9 | files?: Files;
|
10 | }
|
11 | }
|
12 | export declare function koaBody(options?: Partial<KoaBodyMiddlewareOptions>): Middleware;
|
13 | export default koaBody;
|