import { JupyterFrontEndPlugin } from '@jupyterlab/application'; import { WidgetLSPAdapter } from '@jupyterlab/lsp'; import { TranslationBundle } from '@jupyterlab/translation'; import { LabIcon } from '@jupyterlab/ui-components'; import * as lsProtocol from 'vscode-languageserver-protocol'; import { IEditOutcome } from '../edits'; import { Feature } from '../feature'; import { BrowserConsole } from '../virtual/console'; import { VirtualDocument } from '../virtual/document'; export declare const renameIcon: LabIcon; export declare class RenameFeature extends Feature { readonly id: string; readonly capabilities: lsProtocol.ClientCapabilities; protected console: BrowserConsole; private _trans; constructor(options: RenameFeature.IOptions); handleRename(workspaceEdit: lsProtocol.WorkspaceEdit, oldValue: string, newValue: string, adapter: WidgetLSPAdapter, document: VirtualDocument): Promise; } export declare namespace RenameFeature { interface IOptions extends Feature.IOptions { trans: TranslationBundle; } const id: string; } export declare namespace CommandIDs { const renameSymbol = "lsp:rename-symbol"; } export declare const RENAME_PLUGIN: JupyterFrontEndPlugin;