declare class BufferedDataQueue { private readonly finalDataViewCall; private readonly combiner; private readonly comparator; private readonly separator; private readonly maxtime; private readonly maxsize; private readonly groupedDataViewArray; private timeoutId?; constructor(finalDataViewCall: (arg: T) => Promise, combiner: (dataViewCallA: T, dataViewCallB: T) => void, comparator: (dataViewCallA: T, dataViewCallB: T) => boolean, separator: (combinedDataViewCall: T & { dataViewCallMap: { [identifier: string]: { promise: Promise; resolve: (value: unknown) => void; }; }; }, data: unknown) => void, maxtime?: number, maxsize?: number); findCombinableDataViewCall(newDataViewCall: T): (T & { dataViewCallMap: { [identifier: string]: { promise: Promise; resolve: (value: unknown) => void; }; }; }) | undefined; dequeueAllDataViewCalls(): void; dequeueDataViewCallOnSizeExceed(dataViewCall: (typeof this.groupedDataViewArray)[number]): void; queueDataViewCall(newDataViewCall: T, identifier: string): Promise; } export default BufferedDataQueue;