/** Whether a person is at the keyboard, as opposed to a pipe, an agent or CI. */ export declare function isInteractive(): boolean; /** One line of answer, trimmed. The question is written to stderr. */ export declare function askOnStdin(question: string): Promise; /** * `y` / `yes`, case-insensitive. Everything else is no — including an empty line, so * hitting return on a `[y/N]` prompt declines rather than spends. */ export declare function isAffirmative(answer: string): boolean;