export interface PipelineOptions { dbPath: string; dataDir: string; projectRoot?: string; onProgress?: (progress: PipelineProgress) => void; } export interface PipelineStats { newMessages: number; totalMessages: number; enriched: number; scored: number; } export interface PipelineProgress { stage: string; detail: string; progress?: number; } export declare function runPipeline(opts: PipelineOptions): Promise;