import type { Address, Country, FieldName } from '@shopify/address-consts'; /** * When it's time to render any address, use this function so that it's properly * formatted for the country's locale. * * ```typescript * ['Shopify', 'Lindenstraße 9-14', '10969 Berlin', 'Germany']; * ``` * @returns all lines of a formatted address as an array of strings. */ export declare function formatAddress(address: Address, country: Country): string[]; /** * In an edit form, this function can be used to properly order all the input * fields. * * ```typescript * [ * ['firstName', 'lastName'], * ['company'], * ['address1'], * ['address2'], * ['city'], * ['country', 'province', 'zip'], * ['phone'], * ]; * ``` */ export declare function buildOrderedFields(country: Country): FieldName[][]; //# sourceMappingURL=format.d.ts.map