import ICart, { ICartItem, IIndexedDeclination } from '../../../Interfaces/Cart'; export type TExpeditionMethod = 'pickup' | 'delivery' | undefined; export interface IFormProduct { readonly qte?: number; readonly qte2?: number; readonly color?: string; readonly dimensions?: string; readonly format?: string; readonly declination?: IIndexedDeclination; readonly sample?: IIndexedDeclination; } export interface IFormValues extends IFormProduct { reserved?: boolean; installation?: boolean; engrais?: boolean; roulage?: boolean; pro?: { terrain_pret?: boolean; type_terrain?: string; specs: { bord_rue: boolean; piste_cyclable: boolean; petit_espace: boolean; pentes: boolean; nivellement_necessaire: boolean; }; commande_egale_superficie?: boolean; un_seule_adresse?: boolean; details: string; }; } export declare const getDefaultCartForm: (grassForm?: boolean, isPro?: boolean) => { qte2: undefined; color: string; dimensions: string; format: string; qte: undefined; declination: undefined; sample: undefined; } | { pro?: { terrain_pret: boolean; type_terrain: string; specs: { bord_rue: boolean; piste_cyclable: boolean; petit_espace: boolean; pentes: boolean; nivellement_necessaire: boolean; }; commande_egale_superficie: boolean; un_seule_adresse: boolean; details: boolean; } | undefined; installation: boolean; engrais: boolean; roulage: boolean; qte: undefined; declination: undefined; sample: undefined; }; export declare enum CartGeneralTypeEnum { VRAC = "vrac", INSTALLATION = "installation", SAMPLE = "sample", ONLY_ACCESSORIES = "only_accessories", GRASS = "gazon", BETON = "beton", BOOKING = "booking", BOOKING_BETON = "booking_beton", RETURN_PALLETS = "return_pallets" } export type TFeesAppliedResponse = { newCart: ICart; itemsToDelete: string[]; itemsToUpdate: { sku: string; qte: number; }[]; itemsToAdd: ICartItem[]; totalPallet: number; isOutOfArea: boolean; saveToShippingPayload?: any; };