1 | import type * as atomIde from "atom-ide-base";
|
2 | import { LanguageClientConnection, ApplyWorkspaceEditParams, ApplyWorkspaceEditResponse, WorkspaceEdit } from "../languageclient";
|
3 | import { TextBuffer } from "atom";
|
4 |
|
5 | export default class ApplyEditAdapter {
|
6 |
|
7 | static attach(connection: LanguageClientConnection): void;
|
8 |
|
9 | static applyEdits(buffer: TextBuffer, edits: atomIde.TextEdit[]): number;
|
10 | static onApplyEdit(params: ApplyWorkspaceEditParams): Promise<ApplyWorkspaceEditResponse>;
|
11 | static apply(workspaceEdit: WorkspaceEdit): Promise<ApplyWorkspaceEditResponse>;
|
12 | private static handleResourceOperation;
|
13 | }
|