import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Statefully and effectfully maps over the elements of this stream to produce
 * all intermediate results of type `S` given an initial S.
 * @tsplus fluent ets/Stream scanEffect
 * @tsplus location "@effect/core/stream/Stream/operations/scanEffect"
 */
export declare function scanEffect_<R, E, A, S, R2, E2>(self: Stream<R, E, A>, s: LazyArg<S>, f: (s: S, a: A) => Effect<R2, E2, S>, __tsplusTrace?: string): Stream<R | R2, E | E2, S>;
/**
 * Statefully and effectfully maps over the elements of this stream to produce
 * all intermediate results of type `S` given an initial S.
 * @tsplus static ets/Stream/Aspects scanEffect
 * @tsplus pipeable ets/Stream scanEffect
 * @tsplus location "@effect/core/stream/Stream/operations/scanEffect"
 */
export declare const scanEffect: <A, S, R2, E2>(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("../definition").Stream<R | R2, E | E2, S>;
//# sourceMappingURL=scanEffect.d.ts.map