import type { GetPaymentOptionsParams, GetRequiredPaymentActionsParams, ConfirmPaymentParams, PaymentOptionsResponse, ConfirmPaymentResponse, Action } from "../types/index.js";
import { PayError } from "../types/index.js";
export declare function buildPaymentOptionsRequest(params: GetPaymentOptionsParams): string;
export declare function buildRequiredActionsRequest(params: GetRequiredPaymentActionsParams): string;
export declare function buildConfirmPaymentRequest(params: ConfirmPaymentParams): string;
export declare function parsePaymentOptionsResponse(responseJson: string): PaymentOptionsResponse;
export declare function parseRequiredActionsResponse(responseJson: string): Action[];
export declare function parseConfirmPaymentResponse(responseJson: string): ConfirmPaymentResponse;
export declare function wrapProviderError(error: unknown): PayError;
//# sourceMappingURL=utils.d.ts.map