import { Collection } from "@tsplus/stdlib/collections/Collection/definition"; import { STM } from "@effect/core/stm/STM/definition/base"; import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition"; /** * Evaluate each effect in the structure from left to right, collecting the * the successful values and discarding the empty cases. * @tsplus static effect/core/stm/STM.Ops collect * @tsplus location "@effect/core/stm/STM/operations/collect" */ export declare function collect(as: Collection, f: (a: A) => STM, B>): STM>; /** * Simultaneously filters and maps the value produced by this effect. * @tsplus static effect/core/stm/STM.Aspects collect * @tsplus pipeable effect/core/stm/STM collect * @tsplus location "@effect/core/stm/STM/operations/collect" */ export declare function collectNow(pf: (a: A) => Maybe): (self: import("../definition").STM) => import("../definition").STM; //# sourceMappingURL=collect.d.ts.map