import type * as CL from "../../../../Clock/index.js"; import * as E from "../../../../Either/index.js"; import * as O from "../../../../Option/index.js"; import * as SC from "../../../../Schedule/index.js"; import type * as SK from "../../Sink/index.js"; import * as C from "../core.js"; /** * Aggregates elements using the provided sink until it completes, or until the * delay signalled by the schedule has passed. * * This operator divides the stream into two asynchronous islands. Operators upstream * of this operator run on one fiber, while downstream operators run on another. Elements * will be aggregated by the sink until the downstream fiber pulls the aggregated value, * or until the schedule's delay has passed. * * Aggregated elements will be fed into the schedule to determine the delays between * pulls. */ export declare function aggregateAsyncWithinEither_(self: C.Stream, sink: SK.Sink, schedule: SC.Schedule, C>): C.Stream>; /** * Aggregates elements using the provided sink until it completes, or until the * delay signalled by the schedule has passed. * * This operator divides the stream into two asynchronous islands. Operators upstream * of this operator run on one fiber, while downstream operators run on another. Elements * will be aggregated by the sink until the downstream fiber pulls the aggregated value, * or until the schedule's delay has passed. * * Aggregated elements will be fed into the schedule to determine the delays between * pulls. * * @ets_data_first aggregateAsyncWithinEither_ */ export declare function aggregateAsyncWithinEither(sink: SK.Sink, schedule: SC.Schedule, C>): (self: C.Stream) => C.Stream>; //# sourceMappingURL=aggregateAsyncWithinEither.d.ts.map