import type { AgencyConfig } from "../../config/config.js"; import type { DeployTarget, TargetProvenance } from "./target.js"; import type { AgencyBundle } from "./bundle.js"; import type { ServeManifest } from "../statelog/serveClient.js"; export type DeployOptions = { host?: string; project?: string; apiKeyEnv?: string; /** Preview the plan without uploading. */ dryRun?: boolean; }; export type DeployPlan = { target: DeployTarget; provenance: TargetProvenance; bundle: AgencyBundle; }; export type DeployOutcome = { kind: "error"; error: string; } | { kind: "preview"; plan: DeployPlan; } | { kind: "deployed"; plan: DeployPlan; endpointUrls: string[]; manifest?: ServeManifest; }; export declare function deploy(entrypointPath: string, config: AgencyConfig, options: DeployOptions): Promise;