/**
 * Stripe retry configuration.
 */
import * as Effect from "effect/Effect";
import * as Context from "effect/Context";
export { type Options, type Factory, type Policy, makeDefault, jittered, capped, throttlingOptions, transientOptions, } from "@distilled.cloud/core/retry";
import type { Policy } from "@distilled.cloud/core/retry";
declare const Retry_base: Context.ServiceClass<Retry, "StripeRetry", Policy>;
/**
 * Context tag for configuring retry behavior of Stripe API calls.
 */
export declare class Retry extends Retry_base {
}
/**
 * Provides a custom retry policy to all Stripe API calls.
 */
export declare const policy: (optionsOrFactory: Policy) => <A, E, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, Retry>>;
/**
 * Disables all automatic retries.
 */
export declare const none: <A, E, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, Retry>>;
//# sourceMappingURL=retry.d.ts.map