vitepress-jsdoc
Version:
A bridge between Vitepress and JSDoc-style commented codebases for hassle-free documentation.
24 lines • 843 B
TypeScript
import { type PluginOptions } from '../interfaces.js';
/**
* The `WatcherManager` class provides functionalities to watch files or directories
* for changes. It leverages the `FileWatcher` to set up and manage the watching process
* based on the provided plugin options.
*/
export declare class WatcherManager {
private readonly options;
/**
* Creates an instance of the `WatcherManager` class.
*
* @param {PluginOptions} options - plugin options to guide the file watching process.
*/
constructor(options: PluginOptions);
/**
* Initializes and starts the file watching process based on the provided arguments.
*
* @example
* const watcherManager = new WatcherManager(cliArgs);
* watcherManager.watch();
*/
watch(): void;
}
//# sourceMappingURL=watcher-manager.d.ts.map