import { STM } from "@effect/core/stm/STM/definition/base";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Retry the transaction if the supplied partial function does not match,
 * otherwise succeed with the returned value.
 * @tsplus fluent ets/STM continueOrRetry
 * @tsplus location "@effect/core/stm/STM/operations/continueOrRetry"
 */
export declare function continueOrRetry_<R, E, A, A2>(self: STM<R, E, A>, pf: (a: A) => Maybe<A2>): STM<R, E, A2>;
/**
 * Retry the transaction if the supplied partial function does not match,
 * otherwise succeed with the returned value.
 * @tsplus static ets/STM/Aspects continueOrRetry
 * @tsplus pipeable ets/STM continueOrRetry
 * @tsplus location "@effect/core/stm/STM/operations/continueOrRetry"
 */
export declare const continueOrRetry: <A, A2>(pf: (a: A) => import("@tsplus/stdlib/data/Maybe").Maybe<A2>) => <R, E>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R, E, A2>;
//# sourceMappingURL=continueOrRetry.d.ts.map