import { HugBotEntity } from "../../HugBotEntity/HugBotEntity";
/**
 * This is used for async user message processing.
 * The bot instance is injected in constructor/with set method in the builder function and its
 * respondTo method is used to process the queued messages one by one with sleep intervals
 * set with rateLimit property.
 * Add event listeners with onResponse methods then push messages to the queue with pushMessage method.
 */
export declare class IObuffer {
    #private;
    constructor(rateLimit?: number, bot?: HugBotEntity);
    set setBot(bot: HugBotEntity);
    onResponse(...cb: Array<(res: string) => void>): void;
    removeEventListener(name: string | "all"): void;
    pushMessage(msg: string): void;
}
//# sourceMappingURL=IObuffer.d.ts.map