UNPKG

@tomisakae/tomibot

Version:

TomiBot - AI Chatbot CLI với Google Genkit. Một chatbot AI thông minh chạy trên command line với giao diện đẹp.

32 lines 1.69 kB
import { DisplayOptions } from '../../core/types'; export declare class DisplayUtils { static clearScreen(): void; static moveCursor(x: number, y: number): void; static createTitle(text: string, font?: string): Promise<string>; static createBox(content: string, options?: DisplayOptions): string; static createInfoBox(content: string, title?: string): string; static createWarningBox(content: string, title?: string): string; static createErrorBox(content: string, title?: string): string; static createSuccessBox(content: string, title?: string): string; static createTable(headers: string[], rows: string[][], options?: { style?: 'unicode' | 'ascii'; colors?: boolean; compact?: boolean; }): string; static success(message: string): string; static error(message: string): string; static warning(message: string): string; static info(message: string): string; static highlight(text: string): string; static dim(text: string): string; static createProgressBar(current: number, total: number, width?: number, showPercentage?: boolean): string; static createLoadingSpinner(frame?: number): string; static separator(char?: string, length?: number, color?: string): string; static divider(title?: string, width?: number): string; static badge(text: string, type?: 'success' | 'error' | 'warning' | 'info'): string; static wrapText(text: string, width?: number): string; static centerText(text: string, width?: number): string; static rainbow(text: string): string; static gradient(text: string, colors?: string[]): string; } //# sourceMappingURL=display.util.d.ts.map