import { Schedule } from "@effect/core/io/Schedule/definition"; import { Effect } from "@effect/core/io/Effect/definition"; /** * Retries with the specified schedule, until it fails, and then both the * value produced by the schedule together with the last error are passed to * the recovery function. * @tsplus static effect/core/io/Effect.Aspects retryOrElse * @tsplus pipeable effect/core/io/Effect retryOrElse * @tsplus location "@effect/core/io/Effect/operations/retryOrElse" */ export declare function retryOrElse(policy: Schedule, orElse: (e: E, out: A1) => Effect): (self: import("../definition").Effect) => import("../definition").Effect; //# sourceMappingURL=retryOrElse.d.ts.map