///
import { Either } from 'fp-ts/lib/Either';
import { IncomingMessage } from 'http';
import { HttpError } from 'http-errors';
import { ParsedUrlQuery } from 'querystring';
export declare function parseQuery(request: IncomingMessage): Either;
/**
* Provided a "Request" provided by express or connect (typically a node style
* HTTPClientRequest), Promise the body data contained.
*/
export declare function parseBody(req: IncomingMessage): Promise>>;
//# sourceMappingURL=parse-body.d.ts.map