import http from 'http'; export declare function writeJson(res: http.ServerResponse, statusCode: number, payload: unknown): void; export declare function writeProtocolError(res: http.ServerResponse, statusCode: number, classification: string, code: string, message: string, details?: Record): void; export declare function readJsonBody(req: http.IncomingMessage): Promise; export declare function readRawBody(req: http.IncomingMessage): Promise; //# sourceMappingURL=response.d.ts.map