@posthog/wizard
Version:
The PostHog wizard helps you to configure your project
15 lines (14 loc) • 622 B
TypeScript
import { EnvironmentProvider } from '../EnvironmentProvider';
import type { WizardOptions } from '../../../utils/types';
export declare class VercelEnvironmentProvider extends EnvironmentProvider {
name: string;
environments: string[];
constructor(options: WizardOptions);
detect(): Promise<boolean>;
hasDotVercelDir(): boolean;
hasVercelCli(): boolean;
isProjectLinked(): boolean;
isAuthenticated(): boolean;
uploadEnvironmentVariable(key: string, value: string, environment: string): Promise<void>;
uploadEnvVars(vars: Record<string, string>): Promise<Record<string, boolean>>;
}