import { Effect } from "@effect/core/io/Effect/definition";
import { Equivalence } from "@tsplus/stdlib/prelude/Equivalence/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * Retries this effect until its error is equal to the specified error.
 * @tsplus fluent ets/Effect retryUntilEquals
 * @tsplus location "@effect/core/io/Effect/operations/retryUntilEquals"
 */
export declare function retryUntilEquals_<R, E, A>(self: Effect<R, E, A>, E: Equivalence<E>): (e: LazyArg<E>, __tsplusTrace?: string) => Effect<R, E, A>;
/**
 * Retries this effect until its error is equal to the specified error.
 * @tsplus static ets/Effect/Aspects retryUntilEquals
 * @tsplus pipeable ets/Effect retryUntilEquals
 * @tsplus location "@effect/core/io/Effect/operations/retryUntilEquals"
 */
export declare const retryUntilEquals: <E>(E: import("@tsplus/stdlib/prelude/Equivalence").Equivalence<E>) => <R, A>(self: import("../definition").Effect<R, E, A>) => (e: import("@tsplus/stdlib/data/Function").LazyArg<E>, __tsplusTrace?: string) => import("../definition").Effect<R, E, A>;
//# sourceMappingURL=retryUntilEquals.d.ts.map