/** * Address Formatting Constants * * Constants for address validation and formatting across different countries. * * @module locale/address */ /** * Address formatting and validation constants */ export declare const ADDRESS_FORMATS: { /** * US ZIP code length */ readonly US_ZIP_LENGTH: 5; /** * US ZIP+4 code length */ readonly US_ZIP_PLUS4_LENGTH: 9; /** * US ZIP+4 separator */ readonly US_ZIP_SEPARATOR: "-"; /** * Canadian postal code length */ readonly CA_POSTAL_CODE_LENGTH: 6; /** * UK postcode minimum length */ readonly UK_POSTCODE_MIN_LENGTH: 5; /** * UK postcode maximum length */ readonly UK_POSTCODE_MAX_LENGTH: 8; /** * German postal code length */ readonly DE_POSTAL_CODE_LENGTH: 5; /** * French postal code length */ readonly FR_POSTAL_CODE_LENGTH: 5; /** * Japanese postal code length */ readonly JP_POSTAL_CODE_LENGTH: 7; /** * Australian postal code length */ readonly AU_POSTAL_CODE_LENGTH: 4; /** * Brazilian CEP code length */ readonly BR_CEP_LENGTH: 8; /** * State/Province code length */ readonly STATE_CODE_LENGTH: 2; /** * State/Province full name maximum length */ readonly STATE_NAME_MAX_LENGTH: 50; /** * Maximum address line length */ readonly MAX_ADDRESS_LINE_LENGTH: 100; /** * Minimum address line length */ readonly MIN_ADDRESS_LINE_LENGTH: 3; /** * Maximum city name length */ readonly MAX_CITY_LENGTH: 50; /** * Minimum city name length */ readonly MIN_CITY_LENGTH: 2; /** * Maximum country name length */ readonly MAX_COUNTRY_LENGTH: 56; /** * Maximum building number length */ readonly MAX_BUILDING_NUMBER_LENGTH: 10; /** * Maximum apartment/suite number length */ readonly MAX_UNIT_NUMBER_LENGTH: 10; /** * PO Box number maximum length */ readonly MAX_PO_BOX_LENGTH: 10; /** * Maximum number of address lines */ readonly MAX_ADDRESS_LINES: 3; }; /** * Address field types */ export declare const ADDRESS_FIELDS: { /** * Street address line 1 */ readonly ADDRESS_LINE_1: "addressLine1"; /** * Street address line 2 */ readonly ADDRESS_LINE_2: "addressLine2"; /** * City or locality */ readonly CITY: "city"; /** * State or province */ readonly STATE: "state"; /** * Postal or ZIP code */ readonly POSTAL_CODE: "postalCode"; /** * Country */ readonly COUNTRY: "country"; /** * Building number */ readonly BUILDING_NUMBER: "buildingNumber"; /** * Unit/Apartment number */ readonly UNIT_NUMBER: "unitNumber"; /** * PO Box */ readonly PO_BOX: "poBox"; /** * District or neighborhood */ readonly DISTRICT: "district"; /** * County */ readonly COUNTY: "county"; }; /** * Type exports */ export type AddressFormat = (typeof ADDRESS_FORMATS)[keyof typeof ADDRESS_FORMATS]; export type AddressField = (typeof ADDRESS_FIELDS)[keyof typeof ADDRESS_FIELDS]; //# sourceMappingURL=address.d.ts.map