export interface IProgressBarOptions { total: number; current: number; format?: (current: number, total: number) => string; } export default class ProgressBar { private readonly description; private readonly length; constructor(description: string, barLength?: number); render(opts: IProgressBarOptions): void; }