///
///
import type { Buffer } from 'node:buffer';
import type http from 'node:http';
export interface CustomResponse {
statusCode?: number;
headers?: Record;
body?: string | Buffer;
encoding?: BufferEncoding;
}
export interface HandlerOpts {
customResponseFunction: () => CustomResponse | Promise;
}
export declare const handleCustomResponse: (_request: http.IncomingMessage, response: http.ServerResponse, handlerOpts: HandlerOpts) => Promise;
//# sourceMappingURL=custom_response.d.ts.map