import { Filepath } from '../../../core/types/filepath'; import { SyntaxNode } from '../../../core/types/nodes'; import { default as Compiler } from '../../index'; import { TextEdit } from './applyTextEdits'; /** * Removes an element with everything in the same file that names it: links to and from it, its * place in groups, and Metadata on it. Left behind, any of these would fail as an unknown name. * `role` picks among elements sharing the handle. An empty map means no change (lookup miss). */ export declare function removeElement(this: Compiler, filepath: Filepath, handle: string, role?: string): Map; export declare function memberEdit(source: string, node: SyntaxNode): TextEdit;