import type { CliInvocation } from "../../cli-bin"; import type { DeployTargetOptions } from "../../types"; /** Spawn env for Vercel CLI: process env wins, then `.env` / `.env.local`. */ export declare function vercelCliEnv(projectDir: string): NodeJS.ProcessEnv; /** True when `.vercel/project.json` exists in the project. */ export declare function isVercelLinked(projectDir: string): boolean; /** * Vercel project names are lowercase alphanumeric + hyphens, max 100 chars. * Prefer `package.json` `name` over the folder. */ export declare function toVercelProjectName(projectDir: string): string; /** Ensure the Vercel CLI is runnable, installing via dlx when needed. */ export declare function prepareVercelCli(invocation: CliInvocation, cwd: string): Promise; /** Probe login with a non-interactive `vercel whoami`. */ export declare function isVercelLoggedIn(invocation: CliInvocation, cwd: string): Promise; /** Run interactive `vercel login`, or fail if there is no TTY. */ export declare function loginToVercel(invocation: CliInvocation, opts: Pick): Promise; /** Link the directory to a Vercel project (`vercel link`, `--yes` when skipping prompts). */ export declare function linkVercelProject(invocation: CliInvocation, opts: Pick): Promise; //# sourceMappingURL=connect.d.ts.map