import type { Config } from "./config.js"; import type { JobPayload } from "./types.js"; export type TestMode = "disable" | "fake" | "inline"; export declare class EmptyQueueError extends Error { constructor(); } export declare class Testing { private static globalMode; private static localMode; static mode(): TestMode; static setMode(mode: TestMode, fn?: () => void | Promise): Promise | undefined; static disable(fn?: () => void | Promise): Promise | undefined; static fake(fn?: () => void | Promise): Promise | undefined; static inline(fn?: () => void | Promise): Promise | undefined; static enabled(): boolean; static disabled(): boolean; static enqueue(payload: JobPayload): void; static performInline(payload: JobPayload, config: Config): Promise; } export declare class Queues { private static jobsByQueue; private static jobsByClass; static get(queue: string): JobPayload[]; static jobs(): JobPayload[]; static jobsForClass(klass: string): JobPayload[]; static push(queue: string, klass: string, job: JobPayload): void; static deleteFor(jid: string, queue: string, klass: string): void; static clearFor(queue: string, klass: string): void; static clearAll(): void; private static ensure; } //# sourceMappingURL=testing.d.ts.map