import type * as C from "../core.js"; /** * Statefully maps over the elements of this stream to produce all intermediate results * of type `S` given an initial S. */ export declare function scan_(self: C.Stream, s: S, f: (s: S, a: A) => S): C.Stream; /** * Statefully maps over the elements of this stream to produce all intermediate results * of type `S` given an initial S. * * @ets_data_first scan_ */ export declare function scan(s: S, f: (s: S, a: A) => S): (self: C.Stream) => C.Stream; //# sourceMappingURL=scan.d.ts.map