import * as amqplib from "amqp-connection-manager"; import { Plugin } from "../index"; import { DTrace, IPluginLogging } from "@bettercorp/service-base"; export interface SetupChannel { exchangeName: T; channel: amqplib.ChannelWrapper; } export declare class LIB { static getQueueKey(plugin: Plugin, channelKey: string, pluginName: string, event: string, addKey?: string): string; static getMyQueueKey(plugin: Plugin, channelKey: string, id: string, addKey?: string): string; static setupChannel(trace: DTrace, plugin: Plugin, log: IPluginLogging, connection: amqplib.AmqpConnectionManager, queueKey: string, exchangeName: T, exType?: string, exOpts?: amqplib.Options.AssertExchange, prefetch?: number, json?: boolean): Promise>; }