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.

22 lines 579 B
export interface NodeMatch { kind: string; text: string; line: number; column: number; } export interface ExpressionMatch { expression: string; type: string; line: number; column: number; scope: string; } export interface SearchResult { query: string; matches: NodeMatch[] | ExpressionMatch[]; } export declare abstract class NodeFinder { abstract findNodes(file: string, pattern: string): SearchResult; abstract findExpressions(file: string, pattern: string): Promise<SearchResult>; } //# sourceMappingURL=node-finder.d.ts.map