UNPKG

logsdx

Version:

<div align="center"><img alt="logsdx" width="300" src="https://github.com/user-attachments/assets/cc2a3b55-5bfd-44e8-a330-bfa146b50059" /></div>

18 lines (17 loc) 700 B
import { SpinnerLike, ProgressBarLike } from "./types"; export declare class CliUI { private spinner?; private progressBar?; createSpinner(text: string, disabled?: boolean): SpinnerLike; createProgressBar(total: number, disabled?: boolean): ProgressBarLike; showHeader(): void; showSuccess(message: string): void; showError(message: string, suggestion?: string): void; showWarning(message: string): void; showInfo(message: string): void; showThemePreview(themeName: string, sample: string): void; showFileStats(filename: string, lineCount: number, fileSize: number): void; private formatFileSize; cleanup(): void; } export declare const ui: CliUI;