import { STM } from "@effect/core/stm/STM/definition/base";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Simultaneously filters and flatMaps the value produced by this effect.
 * Continues on the effect returned from the specified partial function.
 * @tsplus fluent ets/STM continueOrRetrySTM
 * @tsplus location "@effect/core/stm/STM/operations/continueOrRetrySTM"
 */
export declare function continueOrRetrySTM_<R, E, A, R2, E2, A2>(self: STM<R, E, A>, pf: (a: A) => Maybe<STM<R2, E2, A2>>): STM<R2 | R, E | E2, A2>;
/**
 * Simultaneously filters and flatMaps the value produced by this effect.
 * Continues on the effect returned from the specified partial function.
 * @tsplus static ets/STM/Aspects continueOrRetrySTM
 * @tsplus pipeable ets/STM continueOrRetrySTM
 * @tsplus location "@effect/core/stm/STM/operations/continueOrRetrySTM"
 */
export declare const continueOrRetrySTM: <A, R2, E2, A2>(pf: (a: A) => import("@tsplus/stdlib/data/Maybe").Maybe<import("../definition").STM<R2, E2, A2>>) => <R, E>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R | R2, E | E2, A2>;
//# sourceMappingURL=continueOrRetrySTM.d.ts.map