/**
 * Unified AST analysis engine — orchestrates all analysis passes in one file-iteration loop.
 *
 * Replaces the 4 sequential buildXxx calls in builder.js with a single coordinated pass:
 *   - AST node extraction (calls, new, string, regex, throw, await)
 *   - Complexity metrics (cognitive, cyclomatic, nesting, Halstead, MI)
 *   - CFG construction (basic blocks + edges)
 *   - Dataflow analysis (define-use chains, arg flows, mutations)
 *
 * All 4 analyses run as visitors in a single DFS walk via walkWithVisitors.
 *
 * Optimization strategy: for files with WASM trees, run all applicable visitors
 * in a single walkWithVisitors call. Store results in the format that buildXxx
 * functions already expect as pre-computed data (same fields as native engine
 * output). This eliminates redundant tree traversals per file.
 */
import type { AnalysisOpts, AnalysisTiming, BetterSqlite3Database, EngineOpts, ExtractorOutput } from '../types.js';
export declare function runAnalyses(db: BetterSqlite3Database, fileSymbols: Map<string, ExtractorOutput>, rootDir: string, opts: AnalysisOpts, engineOpts?: EngineOpts): Promise<AnalysisTiming>;
//# sourceMappingURL=engine.d.ts.map