interface EnvVars { WORKOS_API_KEY?: string; WORKOS_CLIENT_ID: string; WORKOS_REDIRECT_URI?: string; NEXT_PUBLIC_WORKOS_REDIRECT_URI?: string; WORKOS_COOKIE_PASSWORD?: string; WORKOS_CLAIM_TOKEN?: string; } /** * Write environment variables to .env.local before agent runs. * Merges with existing .env.local if present (new vars take precedence). * Auto-generates WORKOS_COOKIE_PASSWORD if not provided. */ export declare function writeEnvLocal(installDir: string, envVars: Partial): void; /** * Write WorkOS credentials to the appropriate env file for the project. * Picks `.env.local` for JS projects (package.json present) or `.env` for * everything else (Python/Django, Ruby/Rails, Go, ...). Skips cookie password * generation outside the JS branch — non-JS SDKs don't use it. * * Used by pre-detection flows that write credentials before the framework * integration is known (unclaimed env provisioning). */ export declare function writeCredentialsEnv(installDir: string, envVars: Partial): void; export {};