import { SourcePosition, SourceRange, Warning } from '../model/model'; import { EditorService, TypeaheadCompletion } from './editor-service'; /** * Runs in-process and communicates to the editor server, which * runs in a child process. Exposes the same interface as the * LocalEditorService. */ export declare class RemoteEditorService extends EditorService { private _channel; constructor(basedir: string); getWarningsForFile(localPath: string): Promise; fileChanged(localPath: string, contents?: string): Promise; getDocumentationAtPosition(localPath: string, position: SourcePosition): Promise; getDefinitionForFeatureAtPosition(localPath: string, position: SourcePosition): Promise; getTypeaheadCompletionsAtPosition(localPath: string, position: SourcePosition): Promise; _clearCaches(): Promise; dispose(): void; }