import * as NA from "../Collections/Immutable/NonEmptyArray/index.js"; import type { Effect } from "./effect.js"; /** * Reduces an `Iterable[IO]` to a single `IO`, working sequentially. */ export declare function reduceAll_(as: NA.NonEmptyArray>, f: (acc: A, a: A) => A, __trace?: string): Effect; /** * Reduces an `Iterable[IO]` to a single `IO`, working sequentially. * * @ets_data_first reduceAll_ */ export declare function reduceAll(f: (acc: A, a: A) => A, __trace?: string): (as: NA.NonEmptyArray>) => Effect; /** * Reduces an `Iterable[IO]` to a single `IO`, working in parallel. */ export declare function reduceAllPar_(as: NA.NonEmptyArray>, f: (acc: A, a: A) => A, __trace?: string): Effect; /** * Reduces an `Iterable[IO]` to a single `IO`, working in parallel. * * @ets_data_first reduceAllPar_ */ export declare function reduceAllPar(f: (acc: A, a: A) => A, __trace?: string): (as: NA.NonEmptyArray>) => Effect; /** * Reduces an `Iterable[IO]` to a single `IO`, working in up to `n` fibers in parallel. */ export declare function reduceAllParN_(as: NA.NonEmptyArray>, n: number, f: (acc: A, a: A) => A, __trace?: string): Effect; /** * Reduces an `Iterable[IO]` to a single `IO`, working in up to `n` fibers in parallel. * * @ets_data_first reduceAllParN_ */ export declare function reduceAllParN(n: number, f: (acc: A, a: A) => A, __trace?: string): (as: NA.NonEmptyArray>) => Effect; //# sourceMappingURL=reduceAll.d.ts.map