import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Threads the stream through the transformation function `f`.
 * @tsplus operator ets/Stream >>
 * @tsplus fluent ets/Stream via
 * @tsplus location "@effect/core/stream/Stream/operations/via"
 */
export declare function via_<R, R1, E, E1, A, A1>(self: Stream<R, E, A>, f: (a: Stream<R, E, A>) => Stream<R1, E1, A1>): Stream<R1, E1, A1>;
/**
 * Threads the stream through the transformation function `f`.
 * @tsplus static ets/Stream/Aspects via
 * @tsplus pipeable ets/Stream via
 * @tsplus location "@effect/core/stream/Stream/operations/via"
 */
export declare const via: <R, R1, E, E1, A, A1>(f: (a: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R1, E1, A1>) => (self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R1, E1, A1>;
//# sourceMappingURL=via.d.ts.map