/** * The `--non-interactive` flag and the invocation posture it resolves to. * * Resolution chain: explicit --non-interactive flag → CI → stdin is not a TTY. * Prompt availability (`promptAvailability`) adds machine output on top; every * consumer that decides whether a person can be asked reads that resolution, * not this one. */ import * as Effect from "effect/Effect"; import type * as Config from "effect/Config"; import * as Option from "effect/Option"; import { GlobalFlag } from "effect/cli"; /** Raw --non-interactive global flag; {@link isNonInteractive} resolves it with the environment. */ export declare const nonInteractiveFlag: GlobalFlag.Setting<"axm-non-interactive", Option.Option>; /** * Whether the invocation is non-interactive. An explicit flag wins in both * directions; otherwise CI or a stdin that is not a terminal makes it so. The * flag is read optionally so the resolution does not inherit a `GlobalFlag` * requirement: an absent flag falls back to environment detection exactly as * an unset flag would. */ export declare const isNonInteractive: Effect.Effect; //# sourceMappingURL=non-interactive.d.ts.map