import { Observable } from '../Observable'; /** * buffers values from the source by opening the buffer via signals from an observable provided to `openings`, and closing * and sending the buffers when an observable returned by the `closingSelector` emits. * @param {Observable} openings An observable of notifications to start new buffers * @param {Function} an function, that takes the value emitted by the `openings` observable and returns an Observable, which, * when it emits, signals that the associated buffer should be emitted and cleared. * @returns {Observable} an observable of arrays of buffered values. */ export declare function bufferToggle(openings: Observable, closingSelector: (openValue: O) => Observable): Observable;