import { type RuntimeBkndConfig, type RuntimeOptions } from "bknd/adapter";
import type { ServeOptions } from "bun";
type BunEnv = Bun.Env;
export type BunBkndConfig<Env = BunEnv> = RuntimeBkndConfig<Env> & Omit<ServeOptions, "fetch">;
export declare function createApp<Env = BunEnv>({ distPath, ...config }?: BunBkndConfig<Env>, args?: Env, opts?: RuntimeOptions): Promise<import("../..").App>;
export declare function createHandler<Env = BunEnv>(config?: BunBkndConfig<Env>, args?: Env, opts?: RuntimeOptions): (req: Request) => Promise<Response>;
export declare function serve<Env = BunEnv>({ distPath, connection, initialConfig, options, port, onBuilt, buildConfig, adminOptions, ...serveOptions }?: BunBkndConfig<Env>, args?: Env, opts?: RuntimeOptions): void;
export {};
