import HttpServerPort, { HttpRequest, HttpResponse, type HttpServerHandle } from '../../ports/HttpServerPort.ts';
/**
 * Node.js HTTP adapter implementing HttpServerPort.
 *
 * This is the only file that imports node:http for server creation.
 */
export default class NodeHttpAdapter extends HttpServerPort {
    private readonly _logger;
    constructor(options?: {
        logger?: {
            error(...args: unknown[]): void;
        };
    });
    createServer(requestHandler: (request: HttpRequest) => Promise<HttpResponse>): HttpServerHandle;
}
