import * as Ex from "../../../../Exit/index.js"; import * as MH from "../_internal/mergeHelpers.js"; import * as C from "../core.js"; /** * 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. */ export declare function mergeWith_(self: C.Channel, that: C.Channel, leftDone: (ex: Ex.Exit) => MH.MergeDecision, rightDone: (ex: Ex.Exit) => MH.MergeDecision): C.Channel; /** * 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. * * @ets_data_first mergeWith_ */ export declare function mergeWith(that: C.Channel, leftDone: (ex: Ex.Exit) => MH.MergeDecision, rightDone: (ex: Ex.Exit) => MH.MergeDecision): (self: C.Channel) => C.Channel; //# sourceMappingURL=mergeWith.d.ts.map