import NTQueue from '../classes/Queue'; import { PQueueAdapterOptions, Progress } from '../types'; export default class PQueueAdapter extends NTQueue { protected options: PQueueAdapterOptions; private initialized; private jobCount; constructor(relays: string[], options: PQueueAdapterOptions); init(): Promise; run(): Promise; addJob(index: number, chunk: string[]): Promise; pause(key?: string): void; clear(key?: string): void; start(key?: string): void; stop(key?: string, force?: boolean): Promise; updateProgress(progress: Progress, $job: any): Promise; }