import type * as Ex from "../../../Exit/index.js"; import * as MH from "../Channel/_internal/mergeHelpers.js"; import * as C from "./core.js"; /** * Runs both sinks in parallel on the input, using the specified merge * function as soon as one result or the other has been computed. */ export declare function raceWith_(self: C.Sink, that: C.Sink, leftDone: (ex: Ex.Exit) => MH.MergeDecision, rightDone: (ex: Ex.Exit) => MH.MergeDecision, capacity?: number): C.Sink; /** * Runs both sinks in parallel on the input, using the specified merge * function as soon as one result or the other has been computed. * * @ets_data_first raceWith_ */ export declare function raceWith(that: C.Sink, leftDone: (ex: Ex.Exit) => MH.MergeDecision, rightDone: (ex: Ex.Exit) => MH.MergeDecision, capacity?: number): (self: C.Sink) => C.Sink; //# sourceMappingURL=raceWith.d.ts.map