import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
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.
 * @tsplus fluent ets/Stream runFoldScoped
 * @tsplus location "@effect/core/stream/Stream/operations/runFoldScoped"
 */
export declare function runFoldScoped_<R, E, A, S>(self: Stream<R, E, A>, s: LazyArg<S>, f: (s: S, a: A) => S, __tsplusTrace?: string): Effect<R | Scope, E, S>;
/**
 * Executes a pure fold over the stream of values. Returns a scoped value
 * that represents the scope of the stream.
 * @tsplus static ets/Stream/Aspects runFoldScoped
 * @tsplus pipeable ets/Stream runFoldScoped
 * @tsplus location "@effect/core/stream/Stream/operations/runFoldScoped"
 */
export declare const runFoldScoped: <A, S>(s: import("@tsplus/stdlib/data/Function").LazyArg<S>, f: (s: S, a: A) => S, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../../../io/Effect").Effect<import("../../../io/Scope").Scope | R, E, S>;
//# sourceMappingURL=runFoldScoped.d.ts.map