/** * openlore analyze command * * Runs static analysis on the codebase without LLM involvement. * Outputs repository map, dependency graph, and file significance scores. */ import { Command } from 'commander'; import { type RepositoryMap } from '../../core/analyzer/repository-mapper.js'; import { type DependencyGraphResult } from '../../core/analyzer/dependency-graph.js'; import { type AnalysisArtifacts } from '../../core/analyzer/artifact-generator.js'; interface AnalysisResult { repoMap: RepositoryMap; depGraph: DependencyGraphResult; artifacts: AnalysisArtifacts; duration: number; } /** * Run the complete analysis pipeline */ export declare function runAnalysis(rootPath: string, outputPath: string, options: { maxFiles: number; include: string[]; exclude: string[]; /** * Re-extract every file rather than reusing memoized Pass-1 facts, then repopulate the * memo (change: optimize-hash-keyed-analyze). Defaults to false: an ordinary analyze pays * only for the diff. This is the reference lane the reused one is verified against. * * Distinct from the caller's own "force" (skip nothing, re-analyze now) — see * {@link ArtifactGeneratorOptions.reExtract}. `analyze --force` sets both. */ reExtract?: boolean; }): Promise; export declare const analyzeCommand: Command; export {}; //# sourceMappingURL=analyze.d.ts.map