import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Effect } from "@effect/core/io/Effect/definition";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Statefully and effectfully maps over the elements of this stream to produce
 * new elements.
 * @tsplus fluent ets/Stream mapAccumEffect
 * @tsplus location "@effect/core/stream/Stream/operations/mapAccumEffect"
 */
export declare function mapAccumEffect_<R, E, A, R2, E2, A2, S>(self: Stream<R, E, A>, s: LazyArg<S>, f: (s: S, a: A) => Effect<R2, E2, Tuple<[S, A2]>>, __tsplusTrace?: string): Stream<R | R2, E | E2, A2>;
/**
 * Statefully and effectfully maps over the elements of this stream to produce
 * new elements.
 * @tsplus static ets/Stream/Aspects mapAccumEffect
 * @tsplus pipeable ets/Stream mapAccumEffect
 * @tsplus location "@effect/core/stream/Stream/operations/mapAccumEffect"
 */
export declare const mapAccumEffect: <A, R2, E2, A2, S>(s: import("@tsplus/stdlib/data/Function").LazyArg<S>, f: (s: S, a: A) => import("../../../io/Effect").Effect<R2, E2, import("@tsplus/stdlib/data/Tuple").Tuple<[S, A2]>>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A2>;
//# sourceMappingURL=mapAccumEffect.d.ts.map