import { BaseEventHandler } from "./BaseEventHandler";
export declare class Consumer {
    private pulsarMasterFactory;
    consume(topic: string, version: number, baseEventHandler: BaseEventHandler): Promise<void>;
    private consumeFromMaster;
}
