import { Assets } from "./assets.js"; import type { Bindings } from "./bindings.js"; import { Worker, type AssetsConfig, type WorkerProps } from "./worker.js"; export interface WebsiteProps extends Omit, "name" | "assets" | "entrypoint"> { /** * The command to run to build the site */ command: string; /** * The name of the worker * * @default id */ name?: string; /** * The entrypoint to your server * * @default - a simple server that serves static assets is generated */ main?: string; /** * The directory containing your static assets * * @default "./dist" */ assets?: string | ({ dist?: string; } & AssetsConfig); /** * @default process.cwd() */ cwd?: string; /** * Write a wrangler.jsonc file * * @default - no wrangler.jsonc file is written */ wrangler?: boolean | string | { path?: string; main?: string; }; } export type Website = B extends { ASSETS: any; } ? never : Worker; export declare function Website(id: string, props: WebsiteProps): Promise>; //# sourceMappingURL=website.d.ts.map