/** * Decides whether a shopper's country satisfies a per-payment-method * `countries` allow-list. * * Shared by every gate that reads one, because the two original call sites * disagreed: the Apple Pay element upper-cased both sides while the drop-in * payment method filter compared raw strings, so `countries: ['us']` rendered * Apple Pay and hid PayPal from the same configuration (#4187). The list is * merchant-supplied and documented only as "ISO country codes", so the case is * not ours to dictate — normalise instead of trusting it. * * An absent or empty list means "no restriction". A list that is present but * matches nothing is a restriction the merchant asked for, so an unknown * `countryCode` fails it rather than being waved through. */ export declare const isCountryAllowed: (allowedCountries: string[] | undefined, countryCode: string | undefined) => boolean; //# sourceMappingURL=isCountryAllowed.util.d.ts.map