///
import { IncomingMessage } from 'http';
import { IncomingOpts } from './types';
export declare function buffer(req: IncomingMessage, { limit }?: IncomingOpts): Promise;
export declare function text(req: IncomingMessage, { limit, encoding }?: IncomingOpts): Promise;
export declare function json(req: IncomingMessage, opts?: IncomingOpts): Promise;