import { AsyncStream } from '../uri'; /** * Same as `reduce` but it carries over the intermediate steps. * * @export * @template A The value type. * @template B The output value type. * @param {B} b The initial value. * @param {(b: B, a: A) => B | Promise} f The mapping function. * @return {(fa: AsyncStream) => AsyncStream} A function that takes an * async stream and returns another. * * @__PURE__ */ export declare function scanLeft(b: B, f: (b: B, a: A) => B | Promise): (fa: AsyncStream) => AsyncStream;