import { IChannel, IServerChannel } from '@vscode-alt/monaco-editor/esm/vs/base/parts/ipc/common/ipc'; import { IWatcherRequest, IWatcherService, IWatcherOptions, IWatchError } from './watcher'; import { Event } from '@vscode-alt/monaco-editor/esm/vs/base/common/event'; import { IDiskFileChange } from '../watcher'; export declare class WatcherChannel implements IServerChannel { private service; constructor(service: IWatcherService); listen(_: unknown, event: string, arg?: any): Event; call(_: unknown, command: string, arg?: any): Promise; } export declare class WatcherChannelClient implements IWatcherService { private channel; constructor(channel: IChannel); watch(options: IWatcherOptions): Event; setVerboseLogging(enable: boolean): Promise; setRoots(roots: IWatcherRequest[]): Promise; stop(): Promise; }