/** * Interactive vs headless detection. * * Humans get prompts; agents and CI must run headless — every value comes from * a flag and the CLI never blocks on a prompt. Headless is forced by * APSO_NONINTERACTIVE=1, by CI=true, or auto-detected when stdin/stdout is not * a TTY (e.g. an agent capturing output). Commands should check `isInteractive()` * and, when false, require the equivalent flag instead of prompting. */ export declare function isInteractive(): boolean; /** * Message for a missing required value in headless mode. Name the flag that * would have supplied it so an agent can retry deterministically. */ export declare function missingFlag(details: string): string;