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.

8 lines 401 B
import { SourceFile } from 'ts-morph'; import { SelectResult } from '../types/selection-types'; export interface SelectionStrategy { canHandle(_options: Record<string, unknown>): boolean; select(_sourceFile: SourceFile, _options: Record<string, unknown>): Promise<SelectResult[]>; validateOptions(_options: Record<string, unknown>): void; } //# sourceMappingURL=selection-strategy.d.ts.map