import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { Cart, GenerateCheckoutSessionOptions, GenerateCheckoutSessionResponse, GenerateCheckoutSessionApplicationErrors } from './index.typings.js'; export { CallbackUrls, CheckoutSession, CustomerInfo, FreeTrialPeriod, GenerateCheckoutSessionRequest, LineItem, PhysicalProperties, RegisterCheckoutSessionWebhookRequest, RegisterCheckoutSessionWebhookResponse, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionInfo, SubscriptionSettings, WebhookType, WebhookTypeWithLiterals } from './index.typings.js'; declare function generateCheckoutSession$1(httpClient: HttpClient): GenerateCheckoutSessionSignature; interface GenerateCheckoutSessionSignature { /** * Creates a Wix-hosted checkout session for the supplied line items and returns its redirect URL * and session ID. * * Each call creates a new, independent session. The method isn't idempotent, so a retry produces * an additional session rather than recovering the prior one. * @param - Items, quantities, and prices the buyer is paying for, plus optional pre-fill customer details. * @returns Response after creating a checkout session. */ (cart: NonNullablePaths, options: NonNullablePaths): Promise; } declare const generateCheckoutSession: MaybeContext & typeof generateCheckoutSession$1>; export { Cart, GenerateCheckoutSessionApplicationErrors, GenerateCheckoutSessionOptions, GenerateCheckoutSessionResponse, generateCheckoutSession };