/** * Symbol extractor using Tree-sitter and TypeScript AST for multiple languages. * Extracts hierarchical symbol information from source files. */ import { Symbol, SymbolsOverview } from './types.js'; /** * Symbol extractor for extracting hierarchical symbol information. */ export declare class SymbolExtractor { private static parser; private static loadedLanguages; private static initPromise; private static wasmBasePath; private projectPath; constructor(projectPath: string); /** * Initialize the tree-sitter parser. */ private static initialize; private static findWasmBasePath; private static getLanguageConfig; private static loadLanguage; /** * Check if a file can be analyzed for symbols. */ static canAnalyze(filepath: string): boolean; /** * Extract all symbols from a file. */ extractSymbols(filepath: string, includeBody?: boolean): Promise; /** * Get symbols overview for a file. */ getSymbolsOverview(filepath: string, depth?: number): Promise; private countSymbols; /** * Extract symbols using TypeScript compiler. */ private extractSymbolsWithTypeScript; private nodeToSymbol; private memberToSymbol; /** * Extract symbols using tree-sitter. */ private extractSymbolsWithTreeSitter; private processTreeSitterNode; private getTreeSitterNodeName; } //# sourceMappingURL=symbol-extractor.d.ts.map