/** * Symbol Extraction & Code Analysis * Language-agnostic symbol detection for 40+ languages */ export interface Symbol { name: string; kind: 'function' | 'class' | 'interface' | 'type' | 'constant' | 'export'; line: number; language: string; signature?: string; } export interface FileAnalysis { path: string; language: string; size: number; lines: number; codeLines: number; commentLines: number; blankLines: number; symbols: Symbol[]; imports: string[]; /** Rough cyclomatic complexity estimate */ complexity: number; } /** * Extract all symbols from a file. * @param filePath - Path to the source file * @returns Array of symbols found in the file */ export declare function extractSymbols(filePath: string): Promise; /** * Extract imports from a file. * @param filePath - Path to the source file * @returns Array of imported module names */ export declare function extractImports(filePath: string): Promise; /** * Full file analysis. * @param filePath - Path to the source file * @returns Complete file analysis with symbols, imports, and metrics */ export declare function analyzeFile(filePath: string): Promise; /** * Generate a concise outline of a file's structure. * @param analysis - The file analysis result * @returns Formatted string outline of the file */ export declare function formatFileOutline(analysis: FileAnalysis): string; //# sourceMappingURL=symbols.d.ts.map