import HttpServerPort, { type HttpRequest, HttpResponse, type HttpServerHandle } from '../../ports/HttpServerPort.ts';
/**
 * Bun HTTP adapter implementing HttpServerPort.
 *
 * Uses `globalThis.Bun.serve()` so the module can be imported on any
 * runtime (it will throw at call-time if Bun is not available).
 */
export default class BunHttpAdapter extends HttpServerPort {
    private readonly _logger;
    constructor(options?: {
        logger?: {
            error(...args: unknown[]): void;
        };
    });
    createServer(requestHandler: (request: HttpRequest) => Promise<HttpResponse>): HttpServerHandle;
}
