image-asset-manager
Version:
A comprehensive image asset management tool for frontend projects
26 lines • 733 B
TypeScript
export interface ProgressOptions {
total: number;
current: number;
message?: string;
showPercentage?: boolean;
showBar?: boolean;
barLength?: number;
}
export declare class ProgressDisplay {
private lastOutput;
show(options: ProgressOptions): void;
clear(): void;
finish(message?: string): void;
}
export declare class SpinnerDisplay {
private frames;
private currentFrame;
private interval;
private message;
start(message: string): void;
stop(finalMessage?: string): void;
update(message: string): void;
}
export declare function formatBytes(bytes: number): string;
export declare function formatDuration(ms: number): string;
//# sourceMappingURL=progress.d.ts.map