import type { Database } from '../storage/db.js'; import type { EventBus } from './events.js'; import type { CrawlJob } from '../types.js'; export declare class JobManager { private db; private eventBus; private activeJobs; constructor(db: Database, eventBus: EventBus); /** Start a crawl job for a library */ startCrawl(libraryId: string, opts?: { incremental?: boolean; sessionId?: string; }): CrawlJob; /** Get status of a specific job */ getJob(jobId: string): CrawlJob | undefined; /** List all jobs, optionally filtered by library */ listJobs(libraryId?: string): CrawlJob[]; /** Check if a crawl is currently running for a library */ isRunning(libraryId: string): boolean; }