import type { Address } from '../../../types/address.js'; /** * PayPal Orders API `purchase_units[].shipping` from an order address, mapped * by token (spec § 3.10): `address_line_1` ← the first address line, * `address_line_2` ← the remaining lines plus the dependent locality, * `admin_area_2` ← the locality, `admin_area_1` ← the administrative area's * ISO suffix (`CA` for `US-CA`) or its key where no ISO code exists (Hong Kong * areas), `postal_code`, `country_code`, `name.full_name` ← `recipient`. * Field lengths follow PayPal's limits. */ export interface PaypalShippingAddress { address_line_1: string; address_line_2?: string; admin_area_1?: string; admin_area_2?: string; postal_code: string; country_code: string; } export interface PaypalShipping { name: { full_name: string; }; type: 'SHIPPING'; address: PaypalShippingAddress; } export declare function buildPaypalShipping(row: Address, locale?: string): Promise;