///
import { type ServerResponse } from 'node:http';
export declare class Response {
private readonly serverResponse;
constructor(serverResponse: ServerResponse);
internal(): ServerResponse;
setResponseHeaders(headers?: Record): void;
private sendResponse;
ok(data: object): void;
created(data: object): void;
accepted(): void;
noContent(): void;
badRequest(message?: string): void;
unauthorized(message?: string): void;
forbidden(message?: string): void;
notFound(message?: string): void;
conflict(message?: string): void;
tooManyRequests(message?: string): void;
internalServerError(error?: Error): void;
notImplemented(message?: string): void;
badGateway(message?: string): void;
serviceUnavailable(message?: string): void;
json(data: object, statusCode?: number): void;
send(data: any, statusCode?: number, contentType?: Response.ContentType): void;
}
export declare namespace Response {
type ContentType = 'application/json' | 'application/xml' | 'application/xhtml+xml' | 'application/pdf' | 'application/msword' | 'application/javascript' | 'application/octet-stream' | 'audio/mpeg' | 'audio/ogg' | 'multipart/form-data' | 'text/css' | 'text/html' | 'text/xml' | 'text/csv' | 'text/plain' | 'image/png' | 'image/jpeg' | 'image/gif';
}