import { ServiceContainer } from "../ServiceContainer";
import { Job } from "./Job";
import { QueueServiceProvider } from "./QueueServiceProvider";
type JobDefinition = {
    class: string;
    args: string;
    createdAt: number;
    retries: number;
};
export declare class QueueServiceContainer extends ServiceContainer {
    service: QueueServiceProvider;
    static _name: string;
    queue: Set<JobDefinition>;
    activeRunningJobsCount: number;
    isRunning: boolean;
    jobs: Record<string, new () => Job>;
    constructor(service: QueueServiceProvider);
    dispatchJob(jobName: string, args: string): any;
    next(): any;
    private run;
    push(job: new () => Job, args: string, retries?: number): void;
}
export {};
//# sourceMappingURL=QueueServiceContainer.d.ts.map