export type JobReason = "watcher" | "manual" | "periodic"; export interface IndexJob { filePath: string; account: string; reason: JobReason; } export declare class IndexQueue { private process; private pending; private running; private idleResolvers; constructor(process: (job: IndexJob) => Promise); enqueue(job: IndexJob): void; onIdle(): Promise; get size(): number; private drain; } //# sourceMappingURL=index-queue.d.ts.map