import { Event } from '@vscode-alt/monaco-editor/esm/vs/base/common/event'; import { IDiskFileChange } from '../watcher'; export interface IWatcherRequest { path: string; excludes: string[]; } export interface IWatcherOptions { verboseLogging: boolean; } export interface IWatchError { message: string; } export interface IWatcherService { watch(options: IWatcherOptions): Event; setRoots(roots: IWatcherRequest[]): Promise; setVerboseLogging(enabled: boolean): Promise; stop(): Promise; }