UNPKG

dadeumi

Version:

Dadeumi - An AI-powered literary translation workflow inspired by the Korean method of iterative textile refinement

20 lines (19 loc) 583 B
/** * Formatting utilities for time, progress bars, and other display elements */ /** * Format time in minutes and seconds */ export declare function formatTime(timeInMinutes: number): string; /** * Format duration in hours, minutes, and seconds */ export declare function formatDuration(seconds: number): string; /** * Create a visual progress bar */ export declare function createProgressBar(ratio: number, validSource?: boolean): string; /** * Calculate percentage change between two numbers */ export declare function calculateChange(from: number, to: number): string;