import { FC } from 'react'; export interface FormServiceDetailsValues { date: Date; description: string; isFlexibleCheckbox: boolean; voucher: string; } export interface FormServiceDetailsLabels { chooseDateTime: string; date: string; isFlexibleCheckbox: string; voucher: string; time: string; additionalInfo: string; problem: string; voucherVerify: string; voucherVerified: string; } export interface FormServiceDetailsErrors { date: string; description: string; isFlexibleCheckbox: string; voucher: string; } export interface FormServiceDetailsTouched { [key: string]: unknown; } export interface FormServiceDetailsProps { values: FormServiceDetailsValues; touched: FormServiceDetailsTouched; errors: FormServiceDetailsErrors; labels: FormServiceDetailsLabels; handleChange: (e: any) => void; handleBlur: (e: any) => void; handleSubmit: (e: any) => void; verifyVoucher: (code: string) => Promise; removeVoucher: (code: string) => void; setFieldError: (field: string, errorMsg: string) => void; setFieldTouched: (field: string, isTouched?: boolean, shouldValidate?: boolean) => void; setFieldValue: (field: string, value: string, shouldValidate?: boolean) => void; isSubmitting?: boolean; wrapperClass?: string; status?: { msg: string; }; isVerifying: boolean; locale: string; initialVouchers?: string[]; checkIfKeyBoardOpen?: (e: any) => void; campaign?: string; } export declare function roundMinutes(minutes: number): number; export declare function keep2020great(date: Date | number): boolean; declare const FormServiceDetails: FC; export default FormServiceDetails;