import { IncrementalWatcherAllEvents, Listener, IncrementalWatcherInstance } from './models'; import { IncrementalWatcherOptions } from './models'; /** * Adapter for chokidar watcher that uses @parcel/watcher under the hood */ export declare class ParcelWatcherAdapter implements Partial { static instances: ParcelWatcherAdapter[]; private pathsToWatch; private listenerData; private subs; private alreadyStarted; private allFilesAndFoldersInitial; private foldersPathes; private readonly ignore; private readonly ignoreInitial; private readonly followSymlinks; private readonly engine; private readonly name; constructor(filesFolderPathOrPatternsToWatch: string[], initialOptions: IncrementalWatcherOptions); private stopWatching; startWatching(options?: {}): Promise; add(pathToAdd: string | string[], options?: { fistTimeAdding?: boolean; }): void; on(allowedEvent: IncrementalWatcherAllEvents, listenerFromOnFn: Listener): this; private handleErrors; private notifyListener; private chokidarToParcel; private pushInitial; }