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 for as long as its error is equal to the specified
 * error.
 * @tsplus fluent ets/Effect retryWhileEquals
 * @tsplus location "@effect/core/io/Effect/operations/retryWhileEquals"
 */
export declare function retryWhileEquals_<R, E, A>(self: Effect<R, E, A>, E: Equivalence<E>): (e: LazyArg<E>, __tsplusTrace?: string) => Effect<R, E, A>;
/**
 * Retries this effect for as long as its error is equal to the specified
 * error.
 * @tsplus static ets/Effect/Aspects retryWhileEquals
 * @tsplus pipeable ets/Effect retryWhileEquals
 * @tsplus location "@effect/core/io/Effect/operations/retryWhileEquals"
 */
export declare const retryWhileEquals: <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=retryWhileEquals.d.ts.map