import React from 'react'; import { FormProps, AnyObject } from 'react-final-form'; import { Checkout, Payment } from '@comparaonline/cicl-funnel-schema'; import { RequiredFileHandlers } from '@comparaonline/ui-form-fields-next'; import { IStepChangeListenerProps } from '@comparaonline/ui-wizard-step-manager'; import { PaymentMethod } from '../constants'; import { DeepPartial, FormData, Submitter, TransformOutput } from '../types'; interface FileHandler { fileHandler: RequiredFileHandlers; } interface WizardFormProps extends FormData, FileHandler { applyCoupon: (couponCode: string) => Promise; extended?: boolean; formProps?: Pick, Exclude, 'onSubmit'>>; getPolicyURL: (input: DeepPartial) => Promise; handleSubmit: Submitter; hasModelAccidentRate?: boolean; getPreInspection: (countryCode: string, plate: string) => any; initialStep?: string; onPaymentMethodChange: (paymentMethod: PaymentMethod) => void; onStepChange: (input: IStepChangeListenerProps, transformValues: TransformOutput) => void; removeCoupon: () => void; showDevice: boolean; values: DeepPartial; ignoreTaxExemption?: boolean; } declare const WithApolloWizardFormBase: React.ComponentClass; export { WithApolloWizardFormBase as WizardFormBase, WizardFormProps };