import { Channel } from "@effect/core/stream/Channel/definition/base"; import { Exit } from "@effect/core/io/Exit/definition"; import { Either } from "@tsplus/stdlib/data/Either/definition"; import { Fiber } from "@effect/core/io/Fiber/definition"; import { Effect } from "@effect/core/io/Effect/definition"; import type { MergeDecision } from "@effect/core/stream/Channel/MergeDecision"; /** * Returns a new channel, which is the merge of this channel and the specified * channel, where the behavior of the returned channel on left or right early * termination is decided by the specified `leftDone` and `rightDone` merge * decisions. * @tsplus static effect/core/stream/Channel.Aspects mergeWith * @tsplus pipeable effect/core/stream/Channel mergeWith * @tsplus location "@effect/core/stream/Channel/operations/mergeWith" */ export declare function mergeWith_(that: Channel, leftDone: (ex: Exit) => MergeDecision, rightDone: (ex: Exit) => MergeDecision): (self: import("../definition").Channel) => import("../definition").Channel; //# sourceMappingURL=mergeWith.d.ts.map