import { DictionariesStatus } from "./loadDictionaries.js"; //#region src/loadDictionaries/log.d.ts export 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 pluginNames; 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; /** * Register the names of the plugins providing dictionaries. * They are displayed next to the plugin progress counters, e.g. * `Plugin content: 6/6 (sync-json, load-po)`. * * @param names - Names of the plugins exposing a `loadDictionaries` hook */ setPluginNames(names: string[]): void; setPluginTotal(total: number): void; setPluginDone(done: number): void; /** * Flag the plugin line as errored. * * @param error - Error thrown while loading the plugin dictionaries * @param pluginName - Name of the plugin that threw, prefixed to the message */ setPluginError(error?: Error, pluginName?: string): void; private render; private computeProgress; } //#endregion //# sourceMappingURL=log.d.ts.map