import { Context } from "../../../bundler/context.js"; import { LocalDeploymentKind } from "./filePaths.js"; import { LocalDeploymentConfig } from "./filePaths.js"; import { DeploymentDetails } from "./localDeployment.js"; export declare function handleAnonymousDeployment(ctx: Context, options: { ports: { cloud: number | undefined; site: number | undefined; }; backendVersion?: string | undefined; dashboardVersion?: string | undefined; forceUpgrade: boolean; deploymentName: string | null; chosenConfiguration: "new" | "existing" | "ask" | null; }): Promise; export declare function loadAnonymousDeployment(ctx: Context, deploymentName: string): Promise; /** * List legacy anonymous deployments from the home directory. * These are deployments stored in ~/.convex/anonymous-convex-backend-state/ */ export declare function listLegacyAnonymousDeployments(ctx: Context): Array<{ deploymentName: string; config: LocalDeploymentConfig; }>; export declare function listExistingAnonymousDeployments(ctx: Context): Promise>; /** * This takes an "anonymous" deployment and makes it a "local" deployment * that is associated with a project in the given team. */ export declare function handleLinkToProject(ctx: Context, args: { deploymentName: string; teamSlug: string; teamId: number; projectSlug: string | null; }): Promise<{ deploymentName: string; deploymentUrl: string; projectSlug: string; }>; export declare function moveDeployment(ctx: Context, oldDeployment: { deploymentKind: LocalDeploymentKind; deploymentName: string; }, newDeployment: { deploymentKind: LocalDeploymentKind; deploymentName: string; }): Promise; //# sourceMappingURL=anonymous.d.ts.map