UNPKG

@automattic/wpcom-checkout

Version:
16 lines 643 B
import type { CountryListItem } from './types'; export interface CountryTaxRequirements { city?: true; subdivision?: true; organization?: true; address?: true; } /** * Returns tax requirements for the specified country code. * * NOTE: Will return an empty object if the countries list is empty or if the country * code is not in the list! Always check that the countries list has loaded * before calling this. */ export declare function getCountryTaxRequirements(countries: CountryListItem[] | undefined, countryCode: string | undefined): CountryTaxRequirements; //# sourceMappingURL=get-country-tax-requirements.d.ts.map