1 | import type * as atomIde from "atom-ide-base";
|
2 | import { Point, TextEditor } from "atom";
|
3 | import { LanguageClientConnection, RenameParams, ServerCapabilities, TextDocumentEdit, TextEdit } from "../languageclient";
|
4 | export default class RenameAdapter {
|
5 | static canAdapt(serverCapabilities: ServerCapabilities): boolean;
|
6 | static getRename(connection: LanguageClientConnection, editor: TextEditor, point: Point, newName: string): Promise<Map<atomIde.IdeUri, atomIde.TextEdit[]> | null>;
|
7 | static createRenameParams(editor: TextEditor, point: Point, newName: string): RenameParams;
|
8 | static convertChanges(changes: {
|
9 | [uri: string]: TextEdit[];
|
10 | }): Map<atomIde.IdeUri, atomIde.TextEdit[]>;
|
11 | static convertDocumentChanges(documentChanges: TextDocumentEdit[]): Map<atomIde.IdeUri, atomIde.TextEdit[]>;
|
12 | }
|