import ILang from '../../../utils/string'; export interface IGrassProduct { slug: string; sku: string; qte: number; price: number; } export interface IConcreteOrder { type: 'green' | 'yellow' | 'red'; inStock: boolean; } export interface IVracType { readonly vrac_type: VracTypeEnum; readonly vrac_store_ids: string[]; } export declare enum VracTypeEnum { NOBEL_SAC = "nobel_sac", NOBEL_TONNE = "nobel_tonne", AUTRE_SAC = "autre_sac", AUTRE_TONNE = "autre_tonne" } export interface IGrassSubQuestion { readonly label: ILang; readonly description?: ILang; readonly type: 'radio' | 'checkbox' | 'checkbox-multiple' | 'text'; readonly required?: boolean; readonly options: { readonly value?: any; readonly label: ILang; readonly isDefault?: boolean; readonly associatedSku?: string; readonly saveInProp?: string; }[]; readonly associatedProductSlug?: string; readonly associatedSku?: string; readonly saveInCartProps?: string; readonly saveInFormProps: string; readonly group?: ILang; readonly proOnly?: boolean; readonly installOnly?: boolean; } export interface IFormGazon { readonly qte?: number; readonly installation?: boolean; readonly engrais?: boolean; readonly roulage?: boolean; readonly pro?: { readonly terrain_pret?: boolean; readonly type_terrain?: string; readonly specs: { readonly bord_rue?: boolean; readonly piste_cyclable?: boolean; readonly petit_espace?: boolean; readonly pentes?: boolean; readonly nivellement_necessaire?: boolean; }; readonly commande_egale_superficie?: boolean; readonly un_seule_adresse?: boolean; readonly details: string; }; }