import { Payload } from "../model/Payload";
export declare class Publisher {
    private DEFAULT_TENANT;
    private DEFAULT_NAMESPACE;
    private pulsarMasterFactory;
    private pulsarSlaveFactory;
    /**
     * 发送主pulsar
     */
    publishToMaster(payload: Payload): Promise<void>;
    /**
    * 发送备pulsar
    */
    publishToSlave(payload: Payload): Promise<void>;
    /**
     * 执行发送
     * @param payload
     * @param producer
     */
    private sendMsgToPulsar;
}
