import { Observable } from '../Observable'; /** * buffers the incoming observable values until the passed `closingNotifier` emits a value, at which point * it emits the buffer on the returned observable and starts a new buffer internally, awaiting the * next time `closingNotifier` emits * * @param {Observable} closingNotifier an observable, that signals the buffer to be emitted} from the returned observable * @returns {Observable} an observable of buffers, which are arrays of values */ export declare function buffer(closingNotifier: Observable): Observable;