/**
 * Eas retry configuration.
 */
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import * as Context from "effect/Context";
export { makeDefault, jittered, capped, throttlingOptions, transientOptions, } from "@distilled.cloud/core/retry";
/**
 * Context tag for configuring retry behavior of Eas API calls.
 */
export class Retry extends Context.Service()("EasRetry") {
}
/**
 * Provides a custom retry policy to all Eas API calls.
 */
export const policy = (optionsOrFactory) => Effect.provide(Layer.succeed(Retry, optionsOrFactory));
/**
 * Disables all automatic retries.
 */
export const none = Effect.provide(Layer.succeed(Retry, { while: () => false }));
//# sourceMappingURL=retry.js.map