import { STM } from "@effect/core/stm/STM/definition/base";
import { Predicate } from "@tsplus/stdlib/data/Predicate";
/**
 * Filters the value produced by this effect, retrying the transaction while
 * the predicate returns true for the value.
 * @tsplus fluent ets/STM retryWhile
 * @tsplus location "@effect/core/stm/STM/operations/retryWhile"
 */
export declare function retryWhile_<R, E, A>(self: STM<R, E, A>, f: Predicate<A>): STM<R, E, A>;
/**
 * Filters the value produced by this effect, retrying the transaction while
 * the predicate returns true for the value.
 * @ets_data_first retryWhile_
 * @tsplus pipeable ets/STM retryWhile
 * @tsplus location "@effect/core/stm/STM/operations/retryWhile"
 */
export declare const retryWhile: <A>(f: import("@tsplus/stdlib/data/Predicate").Predicate<A>) => <R, E>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R, E, A>;
//# sourceMappingURL=retryWhile.d.ts.map