import { BaseEventConsumerEx, BaseEventProducer, DomainEventHandler, ExceptionHandler, KafkaConsumerConfig } from 'cm-libs-bootstrap'; import { WebhookSchema } from 'cm-schema-event'; export declare class WebhookPostEventProducer extends BaseEventProducer { private static self; private constructor(); static init(topics: string[]): WebhookPostEventProducer; static get instance(): WebhookPostEventProducer; static term(): Promise; static plugin(options: { topics: string[]; }): { serverWillStart(): Promise<{ serverWillStop(): Promise; }>; }; } export declare class WebhookPostEventConsumer extends BaseEventConsumerEx { private static self; private constructor(); static init(config: KafkaConsumerConfig): WebhookPostEventConsumer; static get instance(): WebhookPostEventConsumer; static term(): Promise; static plugin(options: KafkaConsumerConfig & { subscribeFunction: DomainEventHandler; errorHandlerFunction: ExceptionHandler; }): { serverWillStart(): Promise<{ drainServer(): Promise; }>; }; }