import { OnModuleInit, DynamicModule, OnModuleDestroy } from '@nestjs/common'; import { SbServerOptions, SbClientOptions, SbErrorHandler } from '@pebula/attribus'; import { SbModuleRegisterOptions, MetadataTransformer } from './interfaces'; import { SbDiscoveryFactoryService } from './discovery'; export declare class ServiceBusModule implements OnModuleInit, OnModuleDestroy { /** * Register a service bus server/s that will be used as the underlying resources to generate `Queue` & `Subscription` listeners. * * You can provide multiple server configurations, however make sure that each of them has a unique name. * Note that not setting a name is a unique name by itself. * */ static register(options: SbModuleRegisterOptions): DynamicModule; private attribusManager; constructor(discoveryFactory: SbDiscoveryFactoryService, errorHandler?: SbErrorHandler, clientOptions?: SbClientOptions[], serverOptions?: SbServerOptions[], metadataTransformer?: MetadataTransformer); onModuleInit(): Promise; onModuleDestroy(): Promise; } //# sourceMappingURL=service-bus.module.d.ts.map