import { FormConfig, PaymentProvider, IZotloCheckoutParams, IZotloCardParams, PaymentDetail } from '../lib/types'; export declare function registerPaymentUser(subscriberId: string, config: FormConfig, params: IZotloCheckoutParams): Promise; /** * The session Uuid is the request auth header, so it is only dropped once the * flow has no further requests to make. */ export declare function endPaymentSession(payload: { config: FormConfig; params: IZotloCheckoutParams | IZotloCardParams; }): void; /** * Plain payment detail fetch. Unlike handlePaymentSuccess it fires neither the * purchase events nor onSuccess, so the offer flow can refresh the detail * without duplicating them. */ export declare function getPaymentDetail(params: IZotloCheckoutParams | IZotloCardParams): Promise; export declare function handlePaymentSuccess(payload: { config: FormConfig; params: IZotloCheckoutParams | IZotloCardParams; }): Promise; export declare function sendPayment(paymentParams: { providerKey: PaymentProvider; formData: Record; params: IZotloCheckoutParams; config: FormConfig; refreshProviderConfigsFunction: () => Promise; }): Promise;