import type { Effect } from "./effect"
/**
 * Repeats this effect until its error satisfies the specified effectful predicate.
 *
 * @dataFirst repeatUntilM_
 */
export declare function repeatUntilM<A, R1, E1>(
  f: (a: A) => Effect<R1, E1, boolean>,
  __trace?: string
): <R, E>(self: Effect<R, E, A>) => Effect<R & R1, E1 | E, A>
/**
 * Repeats this effect until its error satisfies the specified effectful predicate.
 */
export declare function repeatUntilM_<R, E, A, R1, E1>(
  self: Effect<R, E, A>,
  f: (a: A) => Effect<R1, E1, boolean>,
  __trace?: string
): Effect<R & R1, E | E1, A>
/**
 * Repeats this effect until its error satisfies the specified predicate.
 *
 * @dataFirst repeatUntil_
 */
export declare function repeatUntil<A>(
  f: (a: A) => boolean,
  __trace?: string
): <R, E>(self: Effect<R, E, A>) => Effect<R, E, A>
/**
 * Repeats this effect until its error satisfies the specified predicate.
 */
export declare function repeatUntil_<R, E, A>(
  self: Effect<R, E, A>,
  f: (a: A) => boolean,
  __trace?: string
): Effect<R, E, A>
//# sourceMappingURL=repeatUntil.d.ts.map
