///
import { NextRouter } from 'next/router';
import { ContactInfoPropsType } from './types';
import { CustomerDetailType, OptionsSelectType } from '../Common/types';
import { latLngType } from '../Map/types';
declare type PlaceOrderHelperType = {
onErrorMsg: (msg: string) => void;
withButton?: () => void;
i18n: any;
Router: NextRouter;
auth?: string;
};
declare const placeOrderHelper: ({ i18n, Router, auth, withButton, onErrorMsg, }: PlaceOrderHelperType) => {
data: any;
memberCart: any;
loading: boolean;
displayError: boolean;
differentAddress: boolean;
setDifferentAddress: import("react").Dispatch>;
billingAddress: ContactInfoPropsType;
setBillingAddress: import("react").Dispatch>;
shippingAddress: CustomerDetailType;
setShippingAddress: import("react").Dispatch>;
registerCheckBoxValue: boolean;
setRegisterCheckboxValue: import("react").Dispatch>;
setToBillingAddress: (name: string, value: string | Date | Date[]) => void;
setToShippingAddress: (name: string, value: string) => void;
handleLogistixShippingChange: (data: OptionsSelectType) => void;
handleLogistixBillingChange: (data: OptionsSelectType) => void;
handleLatLngShippingChange: (data: latLngType) => void;
handleLatLngBillingChange: (data: latLngType) => void;
handleSubmit: () => void;
};
export default placeOrderHelper;