import HttpServerPort, { type HttpRequest, HttpResponse, type HttpServerHandle } from '../../ports/HttpServerPort.ts';
/**
 * Deno runtime HTTP adapter implementing HttpServerPort.
 *
 * Uses globalThis.Deno.serve() (Deno 1.35+) to create an HTTP server.
 * This file can be imported on any runtime but will fail at runtime
 * if Deno APIs are not available.
 */
export default class DenoHttpAdapter extends HttpServerPort {
    private readonly _logger;
    constructor(options?: {
        logger?: {
            error(...args: unknown[]): void;
        };
    });
    createServer(requestHandler: (request: HttpRequest) => Promise<HttpResponse>): HttpServerHandle;
}
