declare global {
  namespace NodeJS {
    interface ProcessEnv {
      NODE_ENV?: 'development' | 'production' | 'test';

      // CI providers / generic CI
      CI?: string;
      CONTINUOUS_INTEGRATION?: string;
      GITHUB_ACTIONS?: string;
      GITLAB_CI?: string;
      CIRCLECI?: string;
      TRAVIS?: string;
      JENKINS_URL?: string;
      BUILDKITE?: string;
      TF_BUILD?: string;

      // Playwright / smoke
      DOCKER_SMOKE?: string;

      // E2E toggles
      HOSTED_REAL_E2E?: '0' | '1';
      COMPANION_FIXTURE_HOSTED?: string;

      // Electron (smoke harness)
      ELECTRON_EXECUTABLE_PATH?: string;

      // Headless heuristics
      HEADLESS?: string;
      DISPLAY?: string;
    }
  }
}

export {};