import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
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 maps over the elements of this stream to produce new elements.
 * @tsplus fluent ets/Stream mapAccum
 * @tsplus location "@effect/core/stream/Stream/operations/mapAccum"
 */
export declare function mapAccum_<R, E, A, S, A1>(self: Stream<R, E, A>, s: LazyArg<S>, f: (s: S, a: A) => Tuple<[S, A1]>, __tsplusTrace?: string): Stream<R, E, A1>;
/**
 * Statefully maps over the elements of this stream to produce new elements.
 * @tsplus static ets/Stream/Aspects mapAccum
 * @tsplus pipeable ets/Stream mapAccum
 * @tsplus location "@effect/core/stream/Stream/operations/mapAccum"
 */
export declare const mapAccum: <A, S, A1>(s: import("@tsplus/stdlib/data/Function").LazyArg<S>, f: (s: S, a: A) => import("@tsplus/stdlib/data/Tuple").Tuple<[S, A1]>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, E, A1>;
//# sourceMappingURL=mapAccum.d.ts.map