import type { Assets } from "./assets.js"; import type { Bindings } from "./bindings.js"; import { type ViteProps } from "./vite/vite.ts"; import type { Worker } from "./worker.ts"; export interface OrangeProps extends ViteProps { } export type Orange = B extends { ASSETS: any; } ? never : Worker; /** * Deploys an Orange application to Cloudflare Workers. * * This resource simplifies deploying Orange applications by assuming the build * command, main entrypoint, and assets directory based on the `create-orange` * template CLI. * * It wraps the underlying `Website` resource. * * @example * // Deploy a basic Orange application with default settings * const orangeApp = await Orange("my-orange-app"); * * @example * // Deploy with a database binding * const database = await D1Database("orange-db"); * const orangeApp = await Orange("orange-with-db", { * bindings: { DB: database } * }); * * @param id - Unique identifier for the Orange resource * @param props - Configuration properties for the Orange resource * @returns A Cloudflare Worker resource representing the deployed Orange application */ export declare function Orange(id: string, props?: Partial>): Promise>; //# sourceMappingURL=orange.d.ts.map