import { type Processor } from 'bullmq';
import { type RedisConfig } from './connection';
import type { Metrics } from './metrics';
export type QueueWorker = {
    close: () => Promise<void>;
};
export declare const createWorker: (queueName: string, processor: Processor, redisConfig: RedisConfig, metrics: Metrics) => QueueWorker;
//# sourceMappingURL=worker.d.ts.map