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";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Finds 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 findSTM
 * @tsplus location "@effect/core/stm/TMap/operations/findSTM"
 */
export declare function findSTM_<K, V, R, E, A>(self: TMap<K, V>, f: (kv: Tuple<[K, V]>) => STM<R, Maybe<E>, A>): STM<R, E, Maybe<A>>;
/**
 * Finds 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 findSTM
 * @tsplus pipeable ets/TMap findSTM
 * @tsplus location "@effect/core/stm/TMap/operations/findSTM"
 */
export declare const findSTM: <K, V, R, E, A>(f: (kv: import("@tsplus/stdlib/data/Tuple").Tuple<[K, V]>) => import("../../STM").STM<R, import("@tsplus/stdlib/data/Maybe").Maybe<E>, A>) => (self: import("../definition").TMap<K, V>) => import("../../STM").STM<R, E, import("@tsplus/stdlib/data/Maybe").Maybe<A>>;
//# sourceMappingURL=findSTM.d.ts.map