import type { IncomingMessage, ServerResponse } from "http"; /** * Read and size-limit an HTTP request body. * * Responds with 413 and destroys the request if the body exceeds `maxBytes`. * Resolves with the raw body string on success, or `null` if the size limit * was exceeded (the response has already been sent in that case). */ export declare function readRawBody(req: IncomingMessage, res: ServerResponse, maxBytes: number): Promise; //# sourceMappingURL=http-body.d.ts.map