import { FC, ReactType } from 'react'; import { LinkProps } from '../../index'; import 'font-awesome/css/font-awesome.min.css'; import { CoordsProps } from '../../components/AddressMap'; import { FormCustomerDetailsValues } from '../../components/FormCustomerDetails'; import { FormCustomerBillingDetailsValues } from '../../components/FormCustomerBillingDetails'; import { PaymentFormValues } from '../../components/FormPayment'; export interface DraftServiceCall { price: number; currency: string; } export interface BookingFunnelGiftCardSubmitValues { serviceLocationData: FormCustomerDetailsValues; serviceBillingData: FormCustomerBillingDetailsValues; paymentData: PaymentFormValues; additionalData: { position: CoordsProps; receivesNewsletter: boolean; }; physical: boolean; discountAmount: number; } export interface BookingFunnelGiftCardProps { BookingForm?: ReactType; PaymentForm?: ReactType; ServiceDetailsForm?: ReactType; BillingForm?: ReactType; translations: { steps?: { step1: string; step2: string; step3: string; step4: string; }; serviceContactAndLocation: string; alreadyCustomer: string; loginHere: string; differingBillingAddress: string; invoiceAddress: string; payment: string; summary: string; dateTime: string; serviceLocation: string; voucher: string; total: string; summaryInfo: string; newsUpdates: string; accept: string; continueButton: string; bookFor: string; login: string; mapTitle: string; mapText: string; mapMarkerName: string; editAddressButton: string; useAddressButton: string; priceHappiness: string; bookError: string; close: string; resetPassword: string; selectAmount: string; byMail: string; byPdf: string; shipping: string; }; LoginForm?: ReactType; PasswordResetForm?: ReactType; onSubmit: (data: BookingFunnelGiftCardSubmitValues) => void; terms: LinkProps; LinkProps?: LinkProps; locale: string; googleApiKey?: string; deviceType?: string; isAuthenticated?: boolean; currencyCode: string; isPdf: boolean; availableAmounts: Array; } declare global { interface Window { visualViewport: EventTarget; } } declare const BookingFunnelGiftCardTemplate: FC; export default BookingFunnelGiftCardTemplate;