import { type LocalVideoLearningSource } from "./local-analysis.js"; type Result = { analysis: Record; evidence: Record; }; type Job = { id: string; attemptId: string; requestId: string; status: "running" | "completed" | "failed"; stage: string; updatedAt: string; result?: Result; error?: string; }; type Analyze = (source: LocalVideoLearningSource, stage: (value: string) => Promise) => Promise; type Source = LocalVideoLearningSource & { archived_sha256?: string; archivedSha256?: string; }; export declare class VideoAnalysisJobs { private directory; private analyze; private active; private live; private locks; constructor(directory: string, analyze: Analyze); get activeCount(): number; start(source: Source, requestId: string): Promise; get(id: string): Promise; private run; private save; } export {};