/** * 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'; import { type AnalysisOwnership } from '../../core/runtime/analysis-ownership.js'; interface AnalysisResult { repoMap: RepositoryMap; depGraph: DependencyGraphResult; artifacts: AnalysisArtifacts; duration: number; generationId?: string; workspaceShards?: import('../../core/analyzer/workspace-shards.js').WorkspaceShardReport; shardReceipt?: import('../../core/analyzer/workspace-shard-analysis.js').ShardScopedAnalysisReceipt; } /** * Why the published graph store cannot be served by THIS build, or null when it can. * * Read-only and non-destructive: `EdgeStore.open` records a lifecycle fault and touches nothing * on a schema mismatch, so probing here cannot damage an index the caller has not yet decided to * rebuild. An absent store is not a fault — a first run has nothing to read, and the normal * freshness logic already governs that case. */ export declare function readPublishedStoreFault(outputPath: string): Promise; export declare function formatIndexedFunctionPopulation(result: { total: number; productionFunctions: number; testFunctions: number; signatureOnlySymbols: number; }): string; /** * Run the complete analysis pipeline */ export declare function runAnalysis(rootPath: string, outputPath: string, options: { maxFiles: number; include: string[]; exclude: string[]; reExtract?: boolean; ownership?: AnalysisOwnership & { state: 'owned'; }; shards?: string[]; partialServing?: boolean; }): Promise; export declare const analyzeCommand: Command; export declare function formatSpecIndexFailure(message: string, freshSpecDirectory: boolean): string; export {}; //# sourceMappingURL=analyze.d.ts.map