import { Effect } from "@effect/core/io/Effect/definition"; import { Exit } from "@effect/core/io/Exit/definition"; import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; import { Stream } from "@effect/core/stream/Stream/definition"; import { Scope } from "@effect/core/io/Scope/definition"; import { Dequeue, Queue } from "@effect/core/io/Queue/definition/common"; import { HashMap } from "@tsplus/stdlib/collections/HashMap/definition"; import { Ref } from "@effect/core/io/Ref/definition"; import { List } from "@tsplus/stdlib/collections/List/definition"; import type { UniqueKey } from "@effect/core/stream/GroupBy/definition"; /** * 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. * @tsplus static effect/core/stream/Stream.Aspects distributedWithDynamic * @tsplus pipeable effect/core/stream/Stream distributedWithDynamic * @tsplus location "@effect/core/stream/Stream/operations/distributedWithDynamic" */ export declare function distributedWithDynamic(maximumLag: number, decide: (a: A) => Effect boolean>, done?: (exit: Exit, never>) => Effect): (self: import("../definition").Stream) => import("../../../io/Effect").Effect, A>>]>>; //# sourceMappingURL=distributedWithDynamic.d.ts.map