import { ToolResult } from '../types.js'; import { WorkspaceService } from './WorkspaceService.js'; import { FileService } from './FileService.js'; export interface AnalyzeCodeArgs { path: string; language?: string; } export interface SearchCodeArgs { query: string; path: string; file_pattern?: string; regex?: boolean; } export declare class AnalysisService { private workspaceService; private fileService; constructor(workspaceService: WorkspaceService, fileService: FileService); /** * Analyze code structure and dependencies */ analyzeCode(args: AnalyzeCodeArgs): Promise; /** * Search for patterns in code */ searchCode(args: SearchCodeArgs): Promise; /** * Detect programming language from file path */ private detectLanguage; /** * Analyze code structure */ private analyzeStructure; /** * Analyze directory structure */ private analyzeDirectoryStructure; /** * Analyze file structure */ private analyzeFileStructure; /** * Count functions in code */ private countFunctions; /** * Count imports in code */ private countImports; /** * Search in directory recursively */ private searchInDirectory; /** * Search in a single file */ private searchInFile; } //# sourceMappingURL=AnalysisService.d.ts.map