UNPKG

@liquidcommerce/cloud-sdk

Version:

LiquidCommerce Cloud SDK

11 lines (10 loc) 570 B
import type { ILiquidCommercePaymentElement, IPaymentElementConfig } from './interfaces'; /** * Factory function to create a singleton payment element instance. * Ensures consistent state management across the application. * * @param {IPaymentElementConfig} options - Configuration for the payment element. * @returns {ILiquidCommercePaymentElement} Payment element instance. * @throws {Error} If singleton manager is not properly configured. */ export declare function LiquidCommercePaymentElement(options: IPaymentElementConfig): ILiquidCommercePaymentElement;