import { ApplePayContactField } from './CheckoutConfig.type'; export type CheckoutProfile = { name: string; styles: StyleConfig; layout: LayoutType; additionalPaymentMethods: AdditionalPaymentMethodsType; appearance?: { additionalPaymentMethods?: { applePay?: { displayName?: string; requiredBillingContactFields?: ApplePayContactField[]; requiredShippingContactFields?: ApplePayContactField[]; }; }; }; }; export type StyleConfig = { fontSize: number; textColor: string; buttonColor: string; borderRadius: number; fontFamily: string; buttonTextColor: string; buttonFontSize: number; }; export type LayoutType = { grouped?: boolean; actionButton: ActionButtonType; phoneNumber?: FieldConfig; billingFields: BillingConfig; shippingFields?: AddressFieldsLayoutConfig; }; export type ActionButtonType = { translationKey: string | null; }; export type FieldConfig = { enabled: boolean; label?: string; maxLength?: number; gridWidth?: number; translationKey?: string | null; defaultCountry?: string; allowedCountries?: string[]; }; export type CountryFieldConfig = FieldConfig & { options?: string[]; }; export type StateFieldConfig = FieldConfig & { hiddenForCountries?: string[]; }; export type BillingConfig = { street: FieldConfig; city: FieldConfig; state: StateFieldConfig; zipCode: FieldConfig; firstName: FieldConfig; lastName: FieldConfig; country: CountryFieldConfig; }; export type AddressFieldsLayoutConfig = { street?: FieldConfig; firstName?: FieldConfig; lastName?: FieldConfig; city?: FieldConfig; state?: StateFieldConfig; zipCode?: FieldConfig; country?: CountryFieldConfig; }; export type PaymentMethodConfig = { enabled: boolean; order: number; countries?: string[]; }; export type AdditionalPaymentMethodsType = { [key: string]: PaymentMethodConfig; }; //# sourceMappingURL=CheckoutProfile.type.d.ts.map