UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

36 lines (35 loc) 1 kB
import { DictionariesStatus } from "./loadDictionaries.js"; //#region src/loadDictionaries/log.d.ts declare class DictionariesLogger { private statuses; private spinnerTimer; private spinnerIndex; private renderedLines; private readonly spinnerFrames; private isFinished; private readonly prefix; private lastRenderedState; private remoteCheckInProgress; private expectRemote; private remoteError; private pluginTotal; private pluginDone; private pluginError; constructor(); setExpectRemote(expect: boolean): void; startRemoteCheck(): void; stopRemoteCheck(): void; update(newStatuses: DictionariesStatus[]): void; finish(): void; private startSpinner; private stopSpinner; setRemoteError: (error?: Error) => void; setPluginTotal(total: number): void; setPluginDone(done: number): void; setPluginError(error?: Error): void; private render; private computeProgress; } //#endregion export { DictionariesLogger }; //# sourceMappingURL=log.d.ts.map