import { QueueName, TQueueJobTypes } from "../queues"; import { Queue } from "bullmq"; export declare class TraceUpsertQueue { private static instances; static getShardNames(): string[]; static getShardIndexFromShardName(shardName: string | undefined): number | null; /** * Get the trace upsert queue instance for the given sharding key or shard name. * @param shardingKey - ShardingKey is being hashed and randomly allocated to a shard. Should be `projectId-traceId`. * @param shardName - Name of the shard. Should be `trace-upsert-queue-${shardIndex}` or plainly `trace-upsert-queue` for the first shard. */ static getInstance({ shardingKey, shardName, }?: { shardingKey?: string; shardName?: string; }): Queue | null; } //# sourceMappingURL=traceUpsert.d.ts.map