import { Stream } from "@effect/core/stream/Stream/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Maps over elements of the stream with the specified effectful function,
 * partitioned by `p` executing invocations of `f` concurrently. The number of
 * concurrent invocations of `f` is determined by the number of different
 * outputs of type `K`. Up to `buffer` elements may be buffered per partition.
 * Transformed elements may be reordered but the order within a partition is
 * maintained.
 * @tsplus fluent ets/Stream mapEffectPartitioned
 * @tsplus location "@effect/core/stream/Stream/operations/mapEffectPartitioned"
 */
export declare function mapEffectPartitioned_<R, E, A, R2, E2, A2, K>(self: Stream<R, E, A>, keyBy: (a: A) => K, f: (a: A) => Effect<R2, E2, A2>, buffer?: number, __tsplusTrace?: string): Stream<R | R2, E | E2, A2>;
/**
 * Maps over elements of the stream with the specified effectful function,
 * partitioned by `p` executing invocations of `f` concurrently. The number of
 * concurrent invocations of `f` is determined by the number of different
 * outputs of type `K`. Up to `buffer` elements may be buffered per partition.
 * Transformed elements may be reordered but the order within a partition is
 * maintained.
 * @tsplus static ets/Stream/Aspects mapEffectPartitioned
 * @tsplus pipeable ets/Stream mapEffectPartitioned
 * @tsplus location "@effect/core/stream/Stream/operations/mapEffectPartitioned"
 */
export declare const mapEffectPartitioned: <A, R2, E2, A2, K>(keyBy: (a: A) => K, f: (a: A) => import("../../../io/Effect").Effect<R2, E2, A2>, buffer?: number, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A2>;
//# sourceMappingURL=mapEffectPartitioned.d.ts.map