import type { IdentityAssertionProvider } from '../../domains/fiat/identityAssertion'; import type { FunLogger } from '../../utils/funLogger'; export interface CheckoutClientSecretParams { apiKey: string; logger: FunLogger; /** `POST /fiat/orders/{orderId}/checkout`, taken whole from the surface. */ callbackEndpoint: string; /** The body key the surface named for the callback id. */ callbackIdField: string; } /** * One turn of Stripe's `performCheckout` loop, which Stripe re-enters per attempt (a 3DS challenge * is another one). One fresh callback id per invocation, stable across transport retries of that * same attempt: the backend spends it as the Stripe idempotency key, so a shared one collapses two * attempts into one charge and a changing one can double a single attempt. * * Not a transition: the flow does not advance between attempts. */ export declare function requestCheckoutClientSecret({ apiKey, logger, callbackEndpoint, callbackIdField, }: CheckoutClientSecretParams, identityAssertionProvider: IdentityAssertionProvider | undefined): Promise; //# sourceMappingURL=stripeCheckout.d.ts.map