/**
 * Check if the CLI is running in interactive mode.
 *
 * Returns false when:
 *  - stdin is not a TTY (piped input, CI, cron)
 *  - the global --non-interactive flag is set
 */
export declare function isInteractive(): boolean;
/**
 * Exit with a helpful error when stdin is piped but no --mode flag was given.
 * Call this before rendering an interactive UI (Ink render()) so users who
 * accidentally pipe input without --mode get clear guidance instead of a hang.
 */
export declare function ensureInteractiveStdin(command: string): void;
/**
 * Read raw text from stdin with a timeout.
 */
export declare function readStdinAsText(): Promise<string>;
/**
 * Read JSON from stdin with a timeout.
 */
export declare function readStdinAsJSON(): Promise<unknown>;
//# sourceMappingURL=stdin.d.ts.map