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<InternalBackgroundEntry<any>>;
    addEntryToQueue<T>(entry: BackgroundEntry<T>, fireStartMessage?: boolean): Promise<string>;
    fireImmediateProcessRequest<T>(entry: BackgroundEntry<T>): Promise<string>;
    fireStartProcessingRequest(): Promise<string>;
    fetchApproximateNumberOfQueueEntries(): Promise<number>;
    takeEntryFromBackgroundQueue(): Promise<InternalBackgroundEntry<any>[]>;
}
