/// import * as events from 'events'; import type { FlushOptions } from '../../types/storageTypes'; export declare class BufferFlusher extends events.EventEmitter { private _buffer; private _maxItems; private _flushInterval; private _flushTimeoutId; constructor(options?: FlushOptions); get(): string[]; clear(): void; stop(): void; add(data: string): void; flush(): void; }