import { f as Server, h as ServerOptions, t as BunFetchHandler } from "../_chunks/types.mjs"; import { t as FastURL } from "../_chunks/_url.mjs"; import * as bun from "bun"; //#region src/adapters/bun.d.ts declare const FastResponse: typeof globalThis.Response; declare function serve(options: ServerOptions): BunServer; declare class BunServer implements Server { #private; readonly runtime = "bun"; readonly options: Server["options"]; readonly bun: Server["bun"]; readonly serveOptions: bun.Serve.Options; readonly fetch: BunFetchHandler; constructor(options: ServerOptions); serve(): Promise; get url(): string | undefined; ready(): Promise; close(closeAll?: boolean): Promise; } //#endregion export { FastResponse, FastURL, serve };