import { Sink } from "@effect/core/stream/Sink/definition/base"; import { Either } from "@tsplus/stdlib/data/Either/definition"; /** * Runs both sinks in parallel on the input, returning the result or the error * from the one that finishes first. * @tsplus static effect/core/stream/Sink.Aspects raceBoth * @tsplus pipeable effect/core/stream/Sink raceBoth * @tsplus location "@effect/core/stream/Sink/operations/raceBoth" */ export declare function raceBoth(that: Sink, capacity?: number): (self: import("../definition").Sink) => import("../definition").Sink>; //# sourceMappingURL=raceBoth.d.ts.map