import { IDiskFileChange } from '../watcher'; import { IWatcherRequest, IWatcherService, IWatcherOptions, IWatchError } from './watcher'; import { Event } from '@vscode-alt/monaco-editor/esm/vs/base/common/event'; export interface IChockidarWatcherOptions { pollingInterval?: number; } export declare class ChokidarWatcherService implements IWatcherService { private static readonly FS_EVENT_DELAY; private static readonly EVENT_SPAM_WARNING_THRESHOLD; private _watchers; private _watcherCount; private _pollingInterval?; private _verboseLogging; private spamCheckStartTime; private spamWarningLogged; private enospcErrorLogged; private _onWatchEvent; readonly onWatchEvent: Event; watch(options: IWatcherOptions & IChockidarWatcherOptions): Event; setVerboseLogging(enabled: boolean): Promise; setRoots(requests: IWatcherRequest[]): Promise; get wacherCount(): number; private _watch; stop(): Promise; } /** * Normalizes a set of root paths by grouping by the most parent root path. * equests with Sub paths are skipped if they have the same ignored set as the parent. */ export declare function normalizeRoots(requests: IWatcherRequest[]): { [basePath: string]: IWatcherRequest[]; };