import * as readline from 'node:readline/promises'; /** Log to stderr (used by all CLI commands) */ export declare function log(msg: string): void; /** Open a URL in the default browser (fire-and-forget). Only http(s) URLs are allowed. */ export declare function openBrowser(url: string): void; /** * If running in a TTY, listen for a single Enter keypress and open the * given URL in the default browser. Returns a cleanup function that * removes the listener, or `undefined` when not in a TTY. */ export declare function promptEnterToOpenBrowser(url: string): (() => void) | undefined; /** Prompt yes/no with default yes. Returns false on 'n', EOF, or error. */ export declare function promptYesNo(rl: readline.Interface, question: string): Promise; //# sourceMappingURL=cli-utils.d.ts.map