/**
 * Prompt for a secret value (API key, token, etc.) without echoing it to the
 * terminal. Returns the trimmed string, or throws `ExitPromptError` if the
 * user cancels with Ctrl+C — callers should let it propagate and exit
 * with `SETUP_EXIT.CANCELLED`.
 */
export declare function promptSecret(message: string): Promise<string>;
/**
 * True if running in a non-interactive context (no TTY, CI, etc.). Used to
 * skip interactive prompts and require flags instead.
 */
export declare function isInteractive(): boolean;
/**
 * Detect `@inquirer/prompts` Ctrl+C cancellation. Matches both the modern
 * `ExitPromptError` name and the legacy `prompt was cancelled` message.
 */
export declare function isPromptCancelled(error: unknown): boolean;
