/**
 * Adds an event to the outgoing buffer. Drops the oldest event when the buffer exceeds the max size.
 * @param {BufferedOutgoingEvent} event - Event to buffer.
 * @returns {void}
 */
export function bufferOutgoingEvent(event: BufferedOutgoingEvent): void;
/**
 * Returns and clears all buffered events in FIFO order.
 * @returns {BufferedOutgoingEvent[]} - Drained events.
 */
export function drainBufferedOutgoingEvents(): BufferedOutgoingEvent[];
/**
 * Runs the clearBufferedOutgoingEvents helper.
  @returns {void} */
export function clearBufferedOutgoingEvents(): void;
/**
 * Runs the bufferedOutgoingEventCount helper.
 * @returns {number} - Current buffer size.
 */
export function bufferedOutgoingEventCount(): number;
/**
 * BufferedOutgoingEvent type.
 */
export type BufferedOutgoingEvent = {
    /**
     * - Request path.
     */
    customPath: string;
    /**
     * - Command payload.
     */
    payload: Record<string, unknown>;
};
//# sourceMappingURL=outgoing-event-buffer.d.ts.map