/** * Non-interactive flag and resolution — CLI-specific environment detection. * * Resolution chain: explicit --non-interactive flag → CI=true env var → stdin is not a TTY. */ import * as Effect from "effect/Effect"; import * as Option from "effect/Option"; import { GlobalFlag } from "effect/unstable/cli"; /** * Raw --non-interactive global flag. Callers should use {@link isNonInteractive} * as the source of truth for interactivity — it combines this flag with * environment detection (CI, TTY). */ export declare const nonInteractiveFlag: GlobalFlag.Setting<"axm-non-interactive", Option.Option>; /** * Returns true when the process should suppress interactive prompts. * * Resolution chain: explicit --non-interactive flag → CI=true env var → stdin is not a TTY. * When the flag is explicitly set, it wins. Environment detection is the fallback. */ export declare const isNonInteractive: Effect.Effect; /** * Same resolution as {@link isNonInteractive}, but reads the global flag * optionally so the caller does not inherit a `GlobalFlag` requirement. Use * this from core operations that run both under the CLI runtime and from * tests that provide no flag layer; an absent flag falls back to environment * detection exactly as an unset flag would. */ export declare const isNonInteractiveOptional: Effect.Effect; //# sourceMappingURL=non-interactive.d.ts.map