import * as Tp from "../../../../Collections/Immutable/Tuple/index.js"; import * as T from "../../../../Effect/index.js"; import * as Ex from "../../../../Exit/index.js"; import type { Predicate } from "../../../../Function/index.js"; import * as M from "../../../../Managed/index.js"; import * as O from "../../../../Option/index.js"; import * as Q from "../../../../Queue/index.js"; import type * as C from "../core.js"; /** * More powerful version of `Stream#distributedWith`. This returns a function that will produce * new queues and corresponding indices. * You can also provide a function that will be executed after the final events are enqueued in all queues. * Shutdown of the queues is handled by the driver. * Downstream users can also shutdown queues manually. In this case the driver will * continue but no longer backpressure on them. */ export declare function distributedWithDynamic_(self: C.Stream, maximumLag: number, decide: (a: A) => T.UIO>, done: (ex: Ex.Exit, never>) => T.UIO): M.RIO, A>>]>>>; /** * More powerful version of `Stream#distributedWith`. This returns a function that will produce * new queues and corresponding indices. * You can also provide a function that will be executed after the final events are enqueued in all queues. * Shutdown of the queues is handled by the driver. * Downstream users can also shutdown queues manually. In this case the driver will * continue but no longer backpressure on them. * * @ets_data_first distributedWithDynamic_ */ export declare function distributedWithDynamic(maximumLag: number, decide: (a: A) => T.UIO>, done: (ex: Ex.Exit, never>) => T.UIO): (self: C.Stream) => M.RIO, A>>]>>>; //# sourceMappingURL=distributedWithDynamic.d.ts.map