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.

12 lines 453 B
import { Node } from 'ts-morph'; export declare class StatementInserter { private scopeAnalyzer; constructor(); insertVariableDeclaration(beforeNode: Node, variableName: string): void; createDeclarationText(node: Node, variableName: string): string; private insertDeclarationAtStatement; private insertAtStatementIndex; private insertInBlock; private insertInSourceFile; } //# sourceMappingURL=statement-inserter.d.ts.map