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