import { Predicate } from "@tsplus/stdlib/data/Predicate"; import { Stream } from "@effect/core/stream/Stream/definition"; import { Effect } from "@effect/core/io/Effect/definition"; import { Scope } from "@effect/core/io/Scope/definition"; /** * Executes a pure fold over the stream of values. Returns a scoped value * that represents the scope of the stream. Stops the fold early when the * condition is not fulfilled. * @param cont A function which defines the early termination condition. * @tsplus static effect/core/stream/Stream.Aspects runFoldWhileScoped * @tsplus pipeable effect/core/stream/Stream runFoldWhileScoped * @tsplus location "@effect/core/stream/Stream/operations/runFoldWhileScoped" */ export declare function runFoldWhileScoped(s: S, cont: Predicate, f: (s: S, a: A) => S): (self: import("../definition").Stream) => import("../../../io/Effect").Effect; //# sourceMappingURL=runFoldWhileScoped.d.ts.map