import { Queue as QueueContract } from "../../Engine/Queue"; import { Configuration } from "./Configuration"; import { Service as Bus } from "../../Bus/Service"; import * as Azure from "azure"; import { Author } from "../../Domain/Author"; export declare class Queue implements QueueContract { name: string; protected connectionString: string; protected connection: Azure.ServiceBusService & any; protected bus: Bus; protected active: number; protected scanSourcesQueue: string; constructor(options: Configuration, bus: Bus); connect(): Promise; close(): Promise; dispatchSourceScans(author: Author): Promise; working(): boolean; work(): Promise; workSources(): void; setup(): Promise; protected defer(): { resolve: () => void; reject: (data: any) => void; promise: Promise<{}>; }; }