import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; import { TMap } from "@effect/core/stm/TMap/definition"; import { STM } from "@effect/core/stm/STM/definition/base"; /** * Takes the first matching value, or retries until there is one. * @tsplus static effect/core/stm/TMap.Aspects takeFirst * @tsplus pipeable effect/core/stm/TMap takeFirst * @tsplus location "@effect/core/stm/TMap/operations/takeFirst" */ export declare function takeFirst(pf: (kv: readonly [K, V]) => Maybe): (self: TMap) => STM; //# sourceMappingURL=takeFirst.d.ts.map