import { Subject } from 'rxjs'; import { BackgroundEntry } from '../background-entry'; import { InternalBackgroundEntry } from '../internal-background-entry'; import { AbstractBackgroundManager } from './abstract-background-manager'; /** * Handles all submission of work to the background processing system. * * Note that this does NOT validate the input, it just passes it along. This is * because it creates a circular reference to the processors if we try since they * define the type and validation. */ export declare class SingleThreadLocalBackgroundManager extends AbstractBackgroundManager { private _localBus; get backgroundManagerName(): string; constructor(); immediateProcessQueue?(): Subject>; addEntryToQueue(entry: BackgroundEntry, fireStartMessage?: boolean): Promise; fireImmediateProcessRequest(entry: BackgroundEntry): Promise; fireStartProcessingRequest(): Promise; fetchApproximateNumberOfQueueEntries(): Promise; takeEntryFromBackgroundQueue(): Promise[]>; }