/**
 * Advanced Queue Implementation
 * Extends ZinTrust queue functionality with deduplication and lock management
 */
import type { AdvancedJobOptions, JobResult, QueueConfig } from '../../types/Queue';
import { type DeduplicationBuilder } from './DeduplicationBuilder';
import type { BullMQPayload } from './Queue';
export interface AdvancedQueue {
    enqueue(name: string, payload: BullMQPayload, options: AdvancedJobOptions): Promise<string>;
    deduplicate(id: string, builder: DeduplicationBuilder): Promise<JobResult>;
    releaseLock(key: string): Promise<void>;
    extendLock(key: string, ttl: number): Promise<boolean>;
}
/**
 * Creates an advanced queue instance with deduplication capabilities
 * @param config - Queue configuration
 * @returns {AdvancedQueue} Advanced queue instance
 */
export declare function createAdvancedQueue(config: QueueConfig): AdvancedQueue;
//# sourceMappingURL=AdvancedQueue.d.ts.map