import { BunFetchHandler, BunServeOptions, Server, ServerOptions } from "../_chunks/types.mjs"; import { FastURL } from "../_chunks/_url.mjs"; export declare const FastResponse: typeof globalThis.Response; export 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: BunServeOptions | undefined; readonly fetch: BunFetchHandler; readonly waitUntil?: Server["waitUntil"]; constructor(options: ServerOptions); serve(): Promise; get url(): string | undefined; ready(): Promise; close(closeAll?: boolean): Promise; } export { FastURL };