import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Effect } from "@effect/core/io/Effect/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Zips the two streams so that when a value is emitted by either of the two
 * streams, it is combined with the latest value from the other stream to
 * produce a result.
 *
 * Note: tracking the latest value is done on a per-chunk basis. That means
 * that emitted elements that are not the last value in chunks will never be
 * used for zipping.
 * @tsplus fluent ets/Stream zipWithLatest
 * @tsplus location "@effect/core/stream/Stream/operations/zipWithLatest"
 */
export declare function zipWithLatest_<R, E, A, R2, E2, A2, A3>(self: Stream<R, E, A>, that: LazyArg<Stream<R2, E2, A2>>, f: (a: A, a2: A2) => A3, __tsplusTrace?: string): Stream<R | R2, E | E2, A3>;
/**
 * Zips the two streams so that when a value is emitted by either of the two
 * streams, it is combined with the latest value from the other stream to
 * produce a result.
 *
 * Note: tracking the latest value is done on a per-chunk basis. That means
 * that emitted elements that are not the last value in chunks will never be
 * used for zipping.
 * @tsplus static ets/Stream/Aspects zipWithLatest
 * @tsplus pipeable ets/Stream zipWithLatest
 * @tsplus location "@effect/core/stream/Stream/operations/zipWithLatest"
 */
export declare const zipWithLatest: <A, R2, E2, A2, A3>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Stream<R2, E2, A2>>, f: (a: A, a2: A2) => A3, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A3>;
//# sourceMappingURL=zipWithLatest.d.ts.map