refakts
Version:
TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.
21 lines • 1.06 kB
TypeScript
import { SourceFile } from 'ts-morph';
import { ASTService } from './ast-service';
import { ContextAnalyzer } from './context-analyzer';
import { SelectResult } from '../types/selection-types';
import { RangeAnalyzer } from './range-analyzer';
import { BoundaryAnalyzer } from './boundary-analyzer';
import { StructuralAnalyzer } from './structural-analyzer';
import { RegexPatternMatcher } from './regex-pattern-matcher';
export declare class SelectionService {
private astService;
private contextAnalyzer;
private rangeAnalyzer;
private boundaryAnalyzer;
private structuralAnalyzer;
private regexMatcher;
constructor(astService: ASTService, contextAnalyzer: ContextAnalyzer, rangeAnalyzer: RangeAnalyzer, boundaryAnalyzer: BoundaryAnalyzer, structuralAnalyzer: StructuralAnalyzer, regexMatcher: RegexPatternMatcher);
findSelections(sourceFile: SourceFile, options: Record<string, any>): Promise<SelectResult[]>;
private determineSelectionType;
private executeSelection;
}
//# sourceMappingURL=selection-service.d.ts.map