/** * TTY detection for TUI mode */ /** * Error thrown when TTY is required but not available */ export declare class TTYError extends Error { readonly exitCode = 1; constructor(message: string); } /** * Check if the current environment is a TTY * * Throws TTYError if stdin or stdout is not a TTY, * which means TUI mode cannot be used. * * @throws {TTYError} If not running in a TTY */ export declare function checkTTY(): void; //# sourceMappingURL=tty.d.ts.map