import type { Bindings } from "../bindings.ts";
import { Website, type WebsiteProps } from "../website.ts";
export interface BunSPAProps<B extends Bindings, RPC extends Rpc.WorkerEntrypointBranded = Rpc.WorkerEntrypointBranded> extends WebsiteProps<B, RPC> {
    /**
     * The path to the frontend entrypoints that bun should bundle for deployment & serve in dev mode.
     * These are usually html files. Glob patterns are supported.
     * Typically set to src/index.html
     */
    frontend: string | string[];
    outDir?: string;
}
export type BunSPA<B extends Bindings, RPC extends Rpc.WorkerEntrypointBranded = Rpc.WorkerEntrypointBranded> = Website<B, RPC> & {
    apiUrl: string;
};
export declare function BunSPA<B extends Bindings, RPC extends Rpc.WorkerEntrypointBranded = Rpc.WorkerEntrypointBranded>(id: string, props: BunSPAProps<B, RPC>): Promise<BunSPA<B, RPC> & {
    apiUrl: string;
}>;
//# sourceMappingURL=bun-spa.d.ts.map