import { Kafka } from 'kafkajs'; import { IBrokerAdapter, BrokerMessage, MessageHandler } from '@syntropylog/types'; export declare class KafkaAdapter implements IBrokerAdapter { private readonly producer; private readonly consumer; constructor(kafkaInstance: Kafka, groupId: string); connect(): Promise; disconnect(): Promise; publish(topic: string, message: BrokerMessage): Promise; subscribe(topic: string, handler: MessageHandler): Promise; } //# sourceMappingURL=KafkaAdapter.d.ts.map