export default function useAddressFields(): { fields: { inputProps: { key: string; type: string; name: string; label: string; required: boolean; }; type: string; label: string; placeholder?: string; __typename?: "CustomerField"; id: string; required: boolean; pattern?: string; fields?: import("../../types").CustomerField[]; name: string; }[]; countries: import("../../types").Country[]; setCountryByCode: (countryCode: string) => void; };