import { Environment } from '../../types/checkout/CheckoutConfig.type'; import { ApplePayData, FormData } from '../../types/common/FormData.type'; import { Payment } from '../../types/payment/Payment.type'; /** * Resolved per call, not at module load, so it follows the locale the merchant * set rather than whichever one was active when this module was imported. */ export declare const cardNotTokenizedMessage: () => string; export declare class CheckoutAPIService { private apiKey; private baseUrl; private browserInfo; constructor(apiKey: string, environment: Environment, browserInfo?: { colorDepth: number; javaEnabled: boolean; screenHeight: number; screenWidth: number; timeZoneOffset: string; language: string; }); private mapAddressToApiFormat; private hasAddressData; private buildAddressData; private getAttributionParams; fetchApi({ endpoint, method, body, customHeaders, }: { endpoint: string; method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; body?: Record; customHeaders?: Record; }): Promise; authorizePayment({ paymentId, checkoutKey, formData, returnUrl, applePayData, customCustomerData, }: { paymentId: string; checkoutKey: string; formData: FormData | null; returnUrl: string; applePayData?: ApplePayData; customCustomerData?: Record; }): Promise; } //# sourceMappingURL=CheckoutAPI.service.d.ts.map