UNPKG

refakts

Version:

TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.

11 lines 515 B
import { VariableDeclaration, SourceFile } from 'ts-morph'; export declare class VariableReplacer { private contextAnalyzer; replaceAllReferences(_sourceFile: SourceFile, variableName: string, declaration: VariableDeclaration, initializerText: string): void; removeDeclaration(declaration: VariableDeclaration): void; private findAllReferences; private findDeclarationScope; private collectScopedReferences; private isMatchingIdentifier; } //# sourceMappingURL=variable-replacer.d.ts.map