import type { ServerResponse } from 'http'; import type { ResponseConfig, ResponseContent } from './types.js'; export declare class Response { #private; constructor(response: ServerResponse); sendJSONString(json: string, config: ResponseConfig): Promise; sendContent(response: ResponseContent, config: ResponseConfig): Promise; sendError(err: unknown, code?: number): void; }