import { FormConfig, IZotloCheckoutParams, IZotloCardParams, PaymentDetail } from '../lib/types'; export declare enum UrlQuery { STATUS = "zc_status", CARD_STATUS = "zc_card_status", ERROR_MESSAGE = "zc_error_message" } export declare function getPaymentCallback(payload: { config: FormConfig; }): { status: string; errorMessage: string; success: boolean; fail: boolean; }; /** Renders the payment success page and runs the redirect / session reload tail. */ export declare function completePaymentSuccess(payload: { config: FormConfig; paymentDetail: PaymentDetail | null; reloadSession?: () => Promise; }): Promise; export declare function handleUrlQuery(payload: { params: IZotloCheckoutParams | IZotloCardParams; config: FormConfig; reloadSession?: () => Promise; }): Promise;