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.

16 lines 651 B
import { Node, SourceFile } from 'ts-morph'; export declare class VariableNodeMatcher { private shadowingDetector; findDeclaration(sourceFile: SourceFile, variableName: string): Node | undefined; findUsages(sourceFile: SourceFile, variableName: string, declaration: Node): Node[]; private collectUsages; getVariableName(declaration: Node): string; private isMatchingDeclaration; private isVariableDeclaration; private isParameterDeclaration; private hasMatchingIdentifier; private isValidUsage; private getDeclarationIdentifier; private isUsageNode; } //# sourceMappingURL=variable-node-matcher.d.ts.map