/**
 * AIWG CLI Environment Detection
 *
 * Centralized helpers for detecting the runtime environment so handlers
 * can make consistent interactive / non-interactive decisions.
 *
 * Phase 3 of the CLI Stabilization Epic (#920).
 */
/**
 * Return true iff the CLI is running attached to an interactive terminal
 * where it is safe to prompt the user.
 *
 * Conditions (all must hold):
 *   - stdin  is a TTY
 *   - stdout is a TTY
 *   - TERM is not 'dumb'
 *   - CI env var is not truthy (matches GitHub Actions, GitLab, CircleCI,
 *     Travis, Buildkite, Jenkins, and most other CI systems)
 *   - DEBIAN_FRONTEND is not 'noninteractive' (common in Docker images)
 *
 * Respects common CI convention: any of
 *   CI, CONTINUOUS_INTEGRATION, BUILD_NUMBER, RUN_ID, GITHUB_ACTIONS,
 *   GITLAB_CI, CIRCLECI, TRAVIS, BUILDKITE, JENKINS_URL
 * set (to any truthy value) indicates a CI environment.
 *
 * Handlers MUST call this helper instead of re-deriving the check locally.
 * Divergent isTTY checks scattered across handlers have caused bugs in the
 * past (#918 audit findings).
 */
export declare function isInteractive(): boolean;
/**
 * Return true iff we're running in a continuous-integration environment.
 * Checks the common CI env vars set by major CI systems.
 */
export declare function isCI(): boolean;
/**
 * Return true iff colored output should be emitted.
 *
 * Honors NO_COLOR (per https://no-color.org) and FORCE_COLOR.
 * Requires stdout (or the passed stream) to be a TTY.
 */
export declare function shouldUseColor(stream?: NodeJS.WriteStream): boolean;
//# sourceMappingURL=env.d.ts.map