/** * Regex-based Symbol Extraction * * Extracts symbols from code using regular expressions. * Language-agnostic but optimized for common patterns. */ export type SymbolType = "function" | "class" | "variable" | "interface" | "type" | "enum" | "method" | "other"; export interface ExtractedSymbol { name: string; type: SymbolType; line: number; isExported: boolean; } /** * Extract symbols from code content using regex patterns. * * @param content - The source code content * @returns Array of extracted symbols with their locations */ export declare function extractSymbols(content: string): ExtractedSymbol[]; /** * Extract symbol names as keywords for BM25 indexing. * * @param symbols - Array of extracted symbols * @returns Array of unique symbol names */ export declare function symbolsToKeywords(symbols: ExtractedSymbol[]): string[];