// Generated by dts-bundle-generator v9.5.1 declare namespace createAjaxCartClient { type Options = { debug?: boolean; }; type RequestOptions = { signal?: AbortSignal; headers?: Record; }; } declare const API: { add: (input: { readonly items: readonly { readonly id: string | number; readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | number | boolean | null; } | undefined; readonly selling_plan?: string | number | undefined; }[]; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }, options?: createAjaxCartClient.RequestOptions) => Promise<{ readonly data?: undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; } | { readonly data?: { readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; } | undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; }>; change: (input: ({ readonly id: string; } & { readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | null; } | undefined; readonly selling_plan?: string | number | null | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }) | ({ readonly line: number; } & { readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | null; } | undefined; readonly selling_plan?: string | number | null | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }), options?: createAjaxCartClient.RequestOptions) => Promise<{ readonly data?: undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; } | { readonly data?: ({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; }>; clear: (input: { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }, options?: createAjaxCartClient.RequestOptions) => Promise<{ readonly data?: undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; } | { readonly data?: ({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; }>; get: (input: { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }, options?: createAjaxCartClient.RequestOptions) => Promise<{ readonly data?: undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; } | { readonly data?: ({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; }>; update: (input: { readonly updates?: { readonly [x: string]: number; } | readonly number[] | undefined; readonly note?: string | null | undefined; readonly attributes?: { readonly [x: string]: string | number | boolean | null; } | undefined; readonly discount?: readonly string[] | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }, options?: createAjaxCartClient.RequestOptions) => Promise<{ readonly data?: undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; } | { readonly data?: ({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined; readonly error?: { status: number; message: string; description?: string; } | undefined; }>; }; export type CartData = NonNullable>["data"]>; export type Input = Parameters[0]["items"][number]; declare const mutation: import("@tanstack/solid-query").UseMutationResult<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }, Error, { readonly id: string | number; readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | number | boolean | null; } | undefined; readonly selling_plan?: string | number | undefined; }[], unknown>; type Input$1 = string; declare const mutation$1: import("@tanstack/solid-query").UseMutationResult<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }, Error, string[], { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; type Input$2 = NonNullable[0]["attributes"]>; declare const mutation$2: import("@tanstack/solid-query").UseMutationResult<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined, Error, { readonly [x: string]: string | number | boolean | null; }, { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; type Input$3 = string; declare const mutation$3: import("@tanstack/solid-query").UseMutationResult<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined, Error, string[], unknown>; type Input$4 = Parameters[0]; declare const mutation$4: import("@tanstack/solid-query").UseMutationResult<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }, Error, ({ readonly id: string; } & { readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | null; } | undefined; readonly selling_plan?: string | number | null | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }) | ({ readonly line: number; } & { readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | null; } | undefined; readonly selling_plan?: string | number | null | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }), { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; type Input$5 = { key: string; id: string | number; }; declare const mutation$5: import("@tanstack/solid-query").UseMutationResult<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }, Error, Input$5, unknown>; declare function subscribe(unwrapValue: ((cart?: CartData) => T) | undefined, cb: (data: T) => void): () => void; declare const AjaxCart: { data: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; error: Error; isError: true; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: true; isSuccess: false; isPlaceholderData: false; status: "error"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; isEnabled: boolean; refetch: (options?: import("@tanstack/solid-query").RefetchOptions) => Promise>; fetchStatus: import("@tanstack/solid-query").FetchStatus; promise: Promise<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }>; addItems: import("@tanstack/solid-query").UseMutateAsyncFunction<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }, Error, { readonly id: string | number; readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | number | boolean | null; } | undefined; readonly selling_plan?: string | number | undefined; }[], unknown>; addItem: (input: Input) => Promise<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }>; removeItems: import("@tanstack/solid-query").UseMutateAsyncFunction<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }, Error, string[], { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; removeItem: (input: Input$1) => Promise<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }>; addAttributes: (input: Input$2) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; addAttribute: (input: { key: string; value: Input$2[string]; }) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; updateAttributes: import("@tanstack/solid-query").UseMutateAsyncFunction<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined, Error, { readonly [x: string]: string | number | boolean | null; }, { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; removeAttributes: (input: string[]) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; removeAttribute: (key: string) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; updateNote: import("@tanstack/solid-query").UseMutateAsyncFunction<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined, Error, string | null, { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; clear: import("@tanstack/solid-query").UseMutateAsyncFunction<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined, Error, void, { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; updateItem: import("@tanstack/solid-query").UseMutateAsyncFunction<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }, Error, ({ readonly id: string; } & { readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | null; } | undefined; readonly selling_plan?: string | number | null | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }) | ({ readonly line: number; } & { readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | null; } | undefined; readonly selling_plan?: string | number | null | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }), { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; updateItems: (input: Input$4[]) => Promise<{ rejected: PromiseRejectedResult[]; resolved: PromiseFulfilledResult<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }>[]; }>; addDiscounts: (input: Input$3[]) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; addDiscount: (input: Input$3) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; removeDiscounts: (input: Input$3[]) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; removeDiscount: (input: Input$3) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; replaceItem: (input: ReplaceItem.Input) => Promise<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }>; replaceItems: (input: ReplaceItem.Input[]) => Promise<{ rejected: PromiseRejectedResult[]; resolved: PromiseFulfilledResult<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }>[]; }>; subscribe: typeof subscribe; } | { data: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; error: null; isError: false; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: false; isSuccess: true; isPlaceholderData: false; status: "success"; dataUpdatedAt: number; errorUpdatedAt: number; failureCount: number; failureReason: Error | null; errorUpdateCount: number; isFetched: boolean; isFetchedAfterMount: boolean; isFetching: boolean; isInitialLoading: boolean; isPaused: boolean; isRefetching: boolean; isStale: boolean; isEnabled: boolean; refetch: (options?: import("@tanstack/solid-query").RefetchOptions) => Promise>; fetchStatus: import("@tanstack/solid-query").FetchStatus; promise: Promise<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }>; addItems: import("@tanstack/solid-query").UseMutateAsyncFunction<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }, Error, { readonly id: string | number; readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | number | boolean | null; } | undefined; readonly selling_plan?: string | number | undefined; }[], unknown>; addItem: (input: Input) => Promise<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }>; removeItems: import("@tanstack/solid-query").UseMutateAsyncFunction<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }, Error, string[], { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; removeItem: (input: Input$1) => Promise<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }>; addAttributes: (input: Input$2) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; addAttribute: (input: { key: string; value: Input$2[string]; }) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; updateAttributes: import("@tanstack/solid-query").UseMutateAsyncFunction<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined, Error, { readonly [x: string]: string | number | boolean | null; }, { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; removeAttributes: (input: string[]) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; removeAttribute: (key: string) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; updateNote: import("@tanstack/solid-query").UseMutateAsyncFunction<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined, Error, string | null, { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; clear: import("@tanstack/solid-query").UseMutateAsyncFunction<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined, Error, void, { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; updateItem: import("@tanstack/solid-query").UseMutateAsyncFunction<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }, Error, ({ readonly id: string; } & { readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | null; } | undefined; readonly selling_plan?: string | number | null | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }) | ({ readonly line: number; } & { readonly quantity?: number | undefined; readonly properties?: { readonly [x: string]: string | null; } | undefined; readonly selling_plan?: string | number | null | undefined; } & { readonly sections?: readonly string[] | undefined; readonly sections_url?: string | undefined; }), { previousCart: { readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }; }>; updateItems: (input: Input$4[]) => Promise<{ rejected: PromiseRejectedResult[]; resolved: PromiseFulfilledResult<{ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }>[]; }>; addDiscounts: (input: Input$3[]) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; addDiscount: (input: Input$3) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; removeDiscounts: (input: Input$3[]) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; removeDiscount: (input: Input$3) => Promise<({ readonly attributes: { readonly [x: string]: string | number | boolean | null; }; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly requires_shipping: boolean; readonly token: string; readonly note: string | null; readonly discount_codes: readonly { readonly code: string; readonly applicable: boolean; }[]; readonly original_total_price: number; readonly total_price: number; readonly total_weight: number; readonly item_count: number; readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; readonly currency: string; readonly items_subtotal_price: number; readonly cart_level_discount_applications: readonly { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }[]; } & { readonly attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly private_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_attributes: { readonly [x: string]: string | number | boolean | null; }; readonly public_attributes_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; }) | undefined>; replaceItem: (input: ReplaceItem.Input) => Promise<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }>; replaceItems: (input: ReplaceItem.Input[]) => Promise<{ rejected: PromiseRejectedResult[]; resolved: PromiseFulfilledResult<{ readonly items: readonly ({ readonly title: string; readonly key: string; readonly url: string; readonly image: string | null; readonly quantity_rule?: { readonly min: number; readonly max: number | null; readonly increment: number; } | undefined; readonly price: number; readonly id: string | number; readonly selling_plan_allocation: { readonly price: number; readonly price_adjustments: readonly { readonly position: number; readonly price: number; }[]; readonly selling_plan: { readonly description: string | null; readonly name: string; readonly id: string | number; readonly options: readonly { readonly value: string; readonly name: string; readonly position: number; }[]; readonly recurring_deliveries: boolean; readonly fixed_selling_plan: boolean; readonly price_adjustments: readonly { readonly value: string | number; readonly value_type: "fixed_amount" | "percentage" | "price"; readonly position: number; readonly order_count: number | null; }[]; }; readonly compare_at_price: number; readonly per_delivery_price: number; } | null; readonly unit_price_measurement?: { readonly measured_type: "volume" | "weight" | "dimension"; readonly quantity_unit: string; readonly quantity_value: number; readonly reference_unit: string; readonly reference_value: number; } | undefined; readonly variant_options: readonly string[]; readonly properties: { readonly [x: string]: string | number | boolean | null; }; readonly quantity: number; readonly variant_id: string | number; readonly original_price: number; readonly discounted_price: number; readonly line_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounts: readonly { readonly title: string; readonly amount: number; }[]; readonly sku: string | null; readonly grams: number; readonly vendor: string; readonly taxable: boolean; readonly product_id: string | number; readonly product_has_only_default_variant: boolean; readonly gift_card: boolean; readonly final_line_price: number; readonly final_price: number; readonly featured_image: { readonly aspect_ratio: number | null; readonly alt: string | null; readonly height: number | null; readonly url: string | null; readonly width: number | null; }; readonly handle: string; readonly requires_shipping: boolean; readonly product_type: string | null; readonly product_title: string; readonly product_description: string | null; readonly variant_title: string | null; readonly options_with_values: readonly { readonly value: string; readonly name: string; }[]; readonly line_level_discount_allocations: readonly { readonly discount_application: { readonly title: string; readonly description: string | null; readonly value: number; readonly target_selection: "all" | "entitled" | "explicit"; readonly target_type: "line_item" | "shipping_line"; readonly total_allocated_amount: number; readonly type: "" | "automatic" | "discount_code" | "manual" | "script"; readonly value_type: "fixed_amount" | "percentage"; }; readonly amount: number; }[]; readonly line_level_total_discount: number; readonly has_components: boolean; readonly unit_price?: number | undefined; } & { readonly properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly private_properties: { readonly [x: string]: string | number | boolean | null; }; readonly private_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; readonly public_properties: { readonly [x: string]: string | number | boolean | null; }; readonly public_properties_array: readonly { readonly key: string; readonly value: string | number | boolean | null; }[]; })[]; }>[]; }>; subscribe: typeof subscribe; }; declare namespace ReplaceItem { export { Input$5 as Input, mutation$5 as mutation }; } export { AjaxCart as default, }; export {};