export declare function formatDuration(totalSeconds: number): string; export declare function formatBytes(bytes: number): string; /** Counts only: no names, titles or paths ever reach a progress line. */ export declare class Progress { private readonly write; private readonly now; private readonly intervalMs; private files; private bytes; private phase; private showRate; private phaseStartedAt; private phaseRecords; private phaseExpected; private step; private samples; private readonly startedAt; private timer; constructor(write: (line: string) => void, now?: () => number, intervalMs?: number); /** A new stretch of work. `showRate: false` for counting, where the number of records is not progress. */ setPhase(name: string, opts?: { showRate?: boolean; }): void; /** `current` is the 1-based number of the step being worked on, for example matter 120 of 408. */ setStep(current: number, total: number, noun: string): void; addRecords(count: number): void; addExpected(count: number): void; addFile(bytes: number): void; private recentRate; private remainingSeconds; line(): string; start(): void; stop(): void; } //# sourceMappingURL=progress.d.ts.map