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.

26 lines 1.13 kB
import { SelectMatch, SelectResult } from '../../types/selection-types'; export interface SelectResultFormatter { format(_matches: SelectMatch[], _fileName: string, _file?: string): SelectResult[]; } export declare class BasicFormatter implements SelectResultFormatter { format(matches: SelectMatch[], fileName: string): SelectResult[]; private formatMatch; private createLocationString; private formatSingleLineMatch; private isMultilineMatch; private formatMultilineMatch; } export declare class LineFormatter implements SelectResultFormatter { format(matches: SelectMatch[], fileName: string): SelectResult[]; } export declare class PreviewFormatter implements SelectResultFormatter { format(matches: SelectMatch[], fileName: string): SelectResult[]; } export declare class DefinitionFormatter implements SelectResultFormatter { private detector; private createDefinitionResult; private buildDefinitionResult; format(matches: SelectMatch[], fileName: string, file: string): SelectResult[]; private processMatchForDefinition; } //# sourceMappingURL=result-formatters.d.ts.map