import { TMap } from "@effect/core/stm/TMap/definition";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { STM } from "@effect/core/stm/STM/definition/base";
/**
 * folds the key/value pair matching the specified predicate, and uses the
 * provided effectful function to extract a value out of it.
 * @tsplus fluent ets/TMap foldSTM
 * @tsplus location "@effect/core/stm/TMap/operations/foldSTM"
 */
export declare function foldSTM_<K, V, R, E, A>(self: TMap<K, V>, zero: A, op: (a: A, kv: Tuple<[K, V]>) => STM<R, E, A>): STM<R, E, A>;
/**
 * folds the key/value pair matching the specified predicate, and uses the
 * provided effectful function to extract a value out of it.
 * @tsplus static ets/TMap/Aspects foldSTM
 * @tsplus pipeable ets/TMap foldSTM
 * @tsplus location "@effect/core/stm/TMap/operations/foldSTM"
 */
export declare const foldSTM: <K, V, R, E, A>(zero: A, op: (a: A, kv: import("@tsplus/stdlib/data/Tuple").Tuple<[K, V]>) => import("../../STM").STM<R, E, A>) => (self: import("../definition").TMap<K, V>) => import("../../STM").STM<R, E, A>;
//# sourceMappingURL=foldSTM.d.ts.map