import type http from "node:http"; import type { IncomingMessage, ServerResponse } from "node:http"; export declare function jsonResponse(response: ServerResponse, status: number, value: unknown): void; export declare function listen(server: http.Server, port: number | string, host?: string): Promise; export declare function readBody(request: IncomingMessage, limit?: number): Promise>; //# sourceMappingURL=http-utils.d.ts.map