import { Environment } from '../../../types/checkout/CheckoutConfig.type'; import { CheckoutProfile } from '../../../types/checkout/CheckoutProfile.type'; import { ApplePayData, FormData } from '../../../types/common/FormData.type'; import { Component } from '../../Component'; interface PaymentMethodsOptions { checkoutProfile: CheckoutProfile; formData?: FormData; onPaypalSubmit?: (data: { formData?: FormData; }) => Promise; /** * Resolves to `true` when the SDK reported a success or a required action to * the merchant. A decline or an error resolves to `false`. */ onApplePaySubmit?: (data: { formData?: FormData; applePayData?: ApplePayData; }) => Promise; supportedPaymentMethods?: { card?: boolean; paypal?: boolean; applePay?: boolean; [key: string]: boolean | undefined; }; translationFunc: (key: string) => string; paymentId?: string; checkoutKey?: string; checkoutDetails?: { amount: number; currency: string; countryCode: string; }; environment: Environment; countryCode?: string; } export declare class PaymentMethods extends Component { private paymentMethods; private paymentSeparator?; private skeleton?; constructor(options: PaymentMethodsOptions); private renderSkeleton; updateFormData(formData: FormData): this; hasVisiblePaymentMethods(): boolean; } export {}; //# sourceMappingURL=PaymentMethods.d.ts.map