/****************************************************************************** * Copyright 2021 TypeFox GmbH * This program and the accompanying materials are made available under the * terms of the MIT License, which is available in the project root. ******************************************************************************/ import type { AstNode, LangiumDocument, LangiumDocuments, ReferenceDescription, URI } from 'langium'; import { DefaultRenameProvider } from 'langium/lsp'; import type { RenameParams } from 'vscode-languageserver-protocol'; import { Location, type Range, type WorkspaceEdit } from 'vscode-languageserver-types'; import type { DomainModelServices } from './domain-model-module.js'; import type { QualifiedNameProvider } from './domain-model-naming.js'; export declare class DomainModelRenameProvider extends DefaultRenameProvider { protected readonly langiumDocuments: LangiumDocuments; protected readonly qualifiedNameProvider: QualifiedNameProvider; constructor(services: DomainModelServices); rename(document: LangiumDocument, params: RenameParams): Promise; protected hasQualifiedNameText(uri: URI, range: Range): boolean; getRefLocation(ref: ReferenceDescription): Location; getNodeLocation(targetNode: AstNode): Location | undefined; protected buildQualifiedName(node: AstNode): string | undefined; } //# sourceMappingURL=domain-model-rename-refactoring.d.ts.map