import type { CapturedEvent } from '../types/events'; export interface BufferOptions { maxSize: number; flushInterval: number; onFlush: (events: CapturedEvent[]) => void; } /** * Event buffer that batches events before sending */ export declare function createEventBuffer(options: BufferOptions): { push: (event: CapturedEvent) => void; flush: () => void; clear: () => void; getSize: () => number; pauseFlushTimer: () => void; resumeFlushTimer: () => void; };