import { BaseEventHandler } from "./BaseEventHandler";
import { Payload } from "../model/Payload";
export declare class Consumer {
    private pulsarMasterFactory;
    consume(payload: Payload, baseEventHandler: BaseEventHandler): Promise<void>;
    private consumeFromMaster;
}
