import type { MoveFileResult, DryRunResult, WarmupResult } from '../types/index.js'; /** * MCP Server for TypeScript-aware file refactoring */ export declare class TsRefactorServer { private server; private clients; constructor(); /** * Get or create a TsServerClient for a project */ private getClient; /** * Set up MCP protocol handlers */ private setupHandlers; /** * Handle moveFile tool call */ private handleMoveFile; /** * Handle warmup tool call */ private handleWarmup; /** * Type guard for moveFile arguments */ private isValidMoveFileArgs; /** * Type guard for warmup arguments */ private isValidWarmupArgs; /** * Start the server */ run(): Promise; /** * Clean up resources */ private cleanup; /** * Public method for testing: move a file and update imports */ moveFile(args: { projectRoot: string; oldPath: string; newPath: string; dryRun?: boolean; }): Promise; /** * Public method for testing: warmup a project */ warmup(projectRoot: string): Promise; /** * Public method for testing: cleanup */ dispose(): void; } //# sourceMappingURL=server.d.ts.map