/** * ETL Pipeline Orchestrator * * Runs the 4 stages in sequence: discover → parse → resolve → load * * Integrates with: * - IndexJobTracker (in-memory job status polling) * - EventBus (real-time SSE broadcast) * - SymbolRepository (centrality-based priority ordering in discover) * - ContextualSearchRLM (vector clear on forceReindex) * * Usage: * const pipeline = EtlPipeline.getInstance(); * const result = await pipeline.run({ projectId, projectPath, jobId }); */ import type { EtlResult } from "./stage-context.js"; import type { DiscoveredFile } from "./stage-context.js"; import type { HeaderLanguageEvidence } from "../structural/language-manifest.js"; export interface PipelineInput { projectId: string; projectPath: string; jobId: string; forceReindex?: boolean; /** If provided, only process these relative paths (incremental mode). */ filesToProcess?: string[]; /** * When true, the Discover stage does NOT exclude test/benchmark files * (`.test.ts`, `__tests__/`, `*.spec.*`, etc.), so typed edges from test * files are indexed. Default false (preserve search-recall hygiene — * {@link loadProjectIgnore} stays unchanged for query-time callers). */ include_tests?: boolean; } /** Derive deterministic `.h` language evidence from the immutable discovery snapshot. */ export declare function buildHeaderLanguageEvidence(files: readonly DiscoveredFile[]): Readonly>; export declare class EtlPipeline { private static instance; private static runTails; private readonly discover; private readonly parse; private readonly resolve; private readonly load; private readonly graphGenerations; private constructor(); static getInstance(): EtlPipeline; run(input: PipelineInput): Promise; private runInternal; } //# sourceMappingURL=pipeline.d.ts.map