import type { DeployTarget } from "../deploy/target.js"; import type { AgencyBundle } from "../deploy/bundle.js"; import type { ServeManifest } from "./serveClient.js"; export type UploadResult = { ok: true; endpointUrls: string[]; manifest?: ServeManifest; } | { ok: false; error: string; }; /** * Upload the bundle and return the agent's serve endpoints (absolute URLs). * Best-effort fetches the `/list` manifest too, so the caller can print curl * examples with real node parameters; a manifest fetch failure is not fatal. */ export declare function uploadBundle(target: DeployTarget, bundle: AgencyBundle): Promise; /** The serve base URL (…/serve/:user/:project/:file) shared by an agent's * endpoints — the manifest URL with its trailing `/list` removed. */ export declare function serveBaseUrl(endpointUrls: string[]): string | undefined;