1 | import AmqpConnectionManager, { AmqpConnectionManagerOptions, ConnectionUrl, IAmqpConnectionManager } from './AmqpConnectionManager.js';
|
2 | import CW, { PublishOptions } from './ChannelWrapper.js';
|
3 | export type { AmqpConnectionManagerOptions, ConnectionUrl, IAmqpConnectionManager as AmqpConnectionManager, } from './AmqpConnectionManager.js';
|
4 | export type { CreateChannelOpts, SetupFunc, Channel } from './ChannelWrapper.js';
|
5 | export type ChannelWrapper = CW;
|
6 | import { Options as AmqpLibOptions } from 'amqplib';
|
7 | export declare namespace Options {
|
8 | type Connect = AmqpLibOptions.Connect;
|
9 | type AssertQueue = AmqpLibOptions.AssertQueue;
|
10 | type DeleteQueue = AmqpLibOptions.DeleteQueue;
|
11 | type AssertExchange = AmqpLibOptions.AssertExchange;
|
12 | type DeleteExchange = AmqpLibOptions.DeleteExchange;
|
13 | type Publish = PublishOptions;
|
14 | type Consume = AmqpLibOptions.Consume;
|
15 | type Get = AmqpLibOptions.Get;
|
16 | }
|
17 | export declare function connect(urls: ConnectionUrl | ConnectionUrl[] | undefined | null, options?: AmqpConnectionManagerOptions): IAmqpConnectionManager;
|
18 | export { AmqpConnectionManager as AmqpConnectionManagerClass };
|
19 | declare const amqp: {
|
20 | connect: typeof connect;
|
21 | };
|
22 | export default amqp;
|