// Generated by dts-bundle-generator v9.5.1 import { ICustomElement, provide, provide as _provide } from 'component-register'; export type CorrectComponentOptions = { element: HTMLElement & ICustomElement; }; export type CorrectComponentType = (props: T, options: CorrectComponentOptions) => unknown; export type Props = { debug?: boolean; }; declare const Name = "cart-context"; declare const Component: CorrectComponentType; export type Format = "currency" | "number" | "boolean" | "invert_boolean" | string; 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]; export type Input$1 = string; export type Input$2 = NonNullable[0]["attributes"]>; export type Input$3 = string; export type Input$4 = Parameters[0]; export 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$5, mutation$5 as mutation$5 }; } type Format$1 = "currency" | "number" | "boolean" | "invert_boolean" | string; export type Path = T extends readonly (infer U)[] ? `${number}` | `${number}.${Path}` : T extends object ? { [K in keyof T & (string | number)]: T[K] extends object | any[] ? `${K}` | `${K}.${Path}` : `${K}`; }[keyof T & (string | number)] : never; export type PathValue = P extends `${infer Key}.${infer Rest}` ? Key extends keyof T ? PathValue : Key extends `${number}` ? T extends readonly (infer U)[] ? PathValue : undefined : undefined : P extends keyof T ? T[P] : P extends `${number}` ? T extends readonly (infer U)[] ? U : undefined : undefined; export type WalkableNode = Parameters[2]; type WalkableNode$1 = Parameters[2]; export type AjaxCartContextType = () => PathValue; export declare const provideAjaxCartContext: (element: WalkableNode$1) => AjaxCartContextType; export declare const useAjaxCartContext: (context: AjaxCartContextType) => AjaxCartContextType; export declare const useAjaxCart: (element: HTMLElement & ICustomElement) => AjaxCartContextType; type WalkableNode$2 = Parameters[2]; export type Status = "default" | "loading" | "success" | "error"; export type ListenerStatusContextType = ReturnType; export type Options = { element: HTMLElement & ICustomElement; status: Status; }; declare function createListenerStatusContext(options: Options): readonly [ () => Status, (status: Status) => Status | undefined ]; export declare const provideListenerStatusContext: (options: { element: WalkableNode$2; status: Status; }) => ListenerStatusContextType; export declare const useListenerStatusContext: (context: ListenerStatusContextType) => readonly [ () => Status, (status: Status) => Status | undefined ]; export declare const useListenerStatus: (element: HTMLElement & ICustomElement) => readonly [ () => Status, (status: Status) => Status | undefined ]; export declare const withListenerElementStatus: (target: string | import("solid-js").Accessor | import("solid-js").Accessor<() => Element>, dependencies: import("solid-js").Accessor | undefined, cb: (context: readonly [ () => Status, (status: Status) => Status | undefined ], dependencies: D) => void | (() => void)) => void; declare const hooks: { provide: ({ element, path, }: { element: WalkableNode; path: import("solid-js").Accessor<"attributes" | "total_discount" | "discounts" | "requires_shipping" | "token" | "note" | "discount_codes" | "original_total_price" | "total_price" | "total_weight" | "item_count" | "items" | "currency" | "items_subtotal_price" | "cart_level_discount_applications" | "attributes_array" | "private_attributes" | "private_attributes_array" | "public_attributes" | "public_attributes_array" | `attributes.${string}` | `discounts.${number}` | `discounts.${number}.title` | `discounts.${number}.amount` | `discount_codes.${number}` | `discount_codes.${number}.code` | `discount_codes.${number}.applicable` | `items.${number}` | `items.${number}.title` | `items.${number}.key` | `items.${number}.price` | `items.${number}.total_discount` | `items.${number}.discounts` | `items.${number}.requires_shipping` | `items.${number}.image` | `items.${number}.id` | `items.${number}.discounts.${number}` | `items.${number}.discounts.${number}.title` | `items.${number}.discounts.${number}.amount` | `items.${number}.url` | `items.${number}.quantity_rule` | `items.${number}.selling_plan_allocation` | `items.${number}.unit_price_measurement` | `items.${number}.variant_options` | `items.${number}.properties` | `items.${number}.quantity` | `items.${number}.variant_id` | `items.${number}.original_price` | `items.${number}.discounted_price` | `items.${number}.line_price` | `items.${number}.original_line_price` | `items.${number}.sku` | `items.${number}.grams` | `items.${number}.vendor` | `items.${number}.taxable` | `items.${number}.product_id` | `items.${number}.product_has_only_default_variant` | `items.${number}.gift_card` | `items.${number}.final_line_price` | `items.${number}.final_price` | `items.${number}.featured_image` | `items.${number}.handle` | `items.${number}.product_type` | `items.${number}.product_title` | `items.${number}.product_description` | `items.${number}.variant_title` | `items.${number}.options_with_values` | `items.${number}.line_level_discount_allocations` | `items.${number}.line_level_total_discount` | `items.${number}.has_components` | `items.${number}.unit_price` | `items.${number}.properties_array` | `items.${number}.private_properties` | `items.${number}.private_properties_array` | `items.${number}.public_properties` | `items.${number}.public_properties_array` | `items.${number}.variant_options.${number}` | `items.${number}.properties.${string}` | `items.${number}.featured_image.url` | `items.${number}.featured_image.aspect_ratio` | `items.${number}.featured_image.alt` | `items.${number}.featured_image.height` | `items.${number}.featured_image.width` | `items.${number}.options_with_values.${number}` | `items.${number}.options_with_values.${number}.value` | `items.${number}.options_with_values.${number}.name` | `items.${number}.line_level_discount_allocations.${number}` | `items.${number}.line_level_discount_allocations.${number}.amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application` | `items.${number}.line_level_discount_allocations.${number}.discount_application.title` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value` | `items.${number}.line_level_discount_allocations.${number}.discount_application.description` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_selection` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.total_allocated_amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application.type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value_type` | `items.${number}.properties_array.${number}` | `items.${number}.properties_array.${number}.value` | `items.${number}.properties_array.${number}.key` | `items.${number}.private_properties.${string}` | `items.${number}.private_properties_array.${number}` | `items.${number}.private_properties_array.${number}.value` | `items.${number}.private_properties_array.${number}.key` | `items.${number}.public_properties.${string}` | `items.${number}.public_properties_array.${number}` | `items.${number}.public_properties_array.${number}.value` | `items.${number}.public_properties_array.${number}.key` | `cart_level_discount_applications.${number}` | `cart_level_discount_applications.${number}.title` | `cart_level_discount_applications.${number}.value` | `cart_level_discount_applications.${number}.description` | `cart_level_discount_applications.${number}.target_selection` | `cart_level_discount_applications.${number}.target_type` | `cart_level_discount_applications.${number}.total_allocated_amount` | `cart_level_discount_applications.${number}.type` | `cart_level_discount_applications.${number}.value_type` | `attributes_array.${number}` | `attributes_array.${number}.value` | `attributes_array.${number}.key` | `private_attributes.${string}` | `private_attributes_array.${number}` | `private_attributes_array.${number}.value` | `private_attributes_array.${number}.key` | `public_attributes.${string}` | `public_attributes_array.${number}` | `public_attributes_array.${number}.value` | `public_attributes_array.${number}.key`>; }) => import("solid-js").Accessor<"attributes" | "total_discount" | "discounts" | "requires_shipping" | "token" | "note" | "discount_codes" | "original_total_price" | "total_price" | "total_weight" | "item_count" | "items" | "currency" | "items_subtotal_price" | "cart_level_discount_applications" | "attributes_array" | "private_attributes" | "private_attributes_array" | "public_attributes" | "public_attributes_array" | `attributes.${string}` | `discounts.${number}` | `discounts.${number}.title` | `discounts.${number}.amount` | `discount_codes.${number}` | `discount_codes.${number}.code` | `discount_codes.${number}.applicable` | `items.${number}` | `items.${number}.title` | `items.${number}.key` | `items.${number}.price` | `items.${number}.total_discount` | `items.${number}.discounts` | `items.${number}.requires_shipping` | `items.${number}.image` | `items.${number}.id` | `items.${number}.discounts.${number}` | `items.${number}.discounts.${number}.title` | `items.${number}.discounts.${number}.amount` | `items.${number}.url` | `items.${number}.quantity_rule` | `items.${number}.selling_plan_allocation` | `items.${number}.unit_price_measurement` | `items.${number}.variant_options` | `items.${number}.properties` | `items.${number}.quantity` | `items.${number}.variant_id` | `items.${number}.original_price` | `items.${number}.discounted_price` | `items.${number}.line_price` | `items.${number}.original_line_price` | `items.${number}.sku` | `items.${number}.grams` | `items.${number}.vendor` | `items.${number}.taxable` | `items.${number}.product_id` | `items.${number}.product_has_only_default_variant` | `items.${number}.gift_card` | `items.${number}.final_line_price` | `items.${number}.final_price` | `items.${number}.featured_image` | `items.${number}.handle` | `items.${number}.product_type` | `items.${number}.product_title` | `items.${number}.product_description` | `items.${number}.variant_title` | `items.${number}.options_with_values` | `items.${number}.line_level_discount_allocations` | `items.${number}.line_level_total_discount` | `items.${number}.has_components` | `items.${number}.unit_price` | `items.${number}.properties_array` | `items.${number}.private_properties` | `items.${number}.private_properties_array` | `items.${number}.public_properties` | `items.${number}.public_properties_array` | `items.${number}.variant_options.${number}` | `items.${number}.properties.${string}` | `items.${number}.featured_image.url` | `items.${number}.featured_image.aspect_ratio` | `items.${number}.featured_image.alt` | `items.${number}.featured_image.height` | `items.${number}.featured_image.width` | `items.${number}.options_with_values.${number}` | `items.${number}.options_with_values.${number}.value` | `items.${number}.options_with_values.${number}.name` | `items.${number}.line_level_discount_allocations.${number}` | `items.${number}.line_level_discount_allocations.${number}.amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application` | `items.${number}.line_level_discount_allocations.${number}.discount_application.title` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value` | `items.${number}.line_level_discount_allocations.${number}.discount_application.description` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_selection` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.total_allocated_amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application.type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value_type` | `items.${number}.properties_array.${number}` | `items.${number}.properties_array.${number}.value` | `items.${number}.properties_array.${number}.key` | `items.${number}.private_properties.${string}` | `items.${number}.private_properties_array.${number}` | `items.${number}.private_properties_array.${number}.value` | `items.${number}.private_properties_array.${number}.key` | `items.${number}.public_properties.${string}` | `items.${number}.public_properties_array.${number}` | `items.${number}.public_properties_array.${number}.value` | `items.${number}.public_properties_array.${number}.key` | `cart_level_discount_applications.${number}` | `cart_level_discount_applications.${number}.title` | `cart_level_discount_applications.${number}.value` | `cart_level_discount_applications.${number}.description` | `cart_level_discount_applications.${number}.target_selection` | `cart_level_discount_applications.${number}.target_type` | `cart_level_discount_applications.${number}.total_allocated_amount` | `cart_level_discount_applications.${number}.type` | `cart_level_discount_applications.${number}.value_type` | `attributes_array.${number}` | `attributes_array.${number}.value` | `attributes_array.${number}.key` | `private_attributes.${string}` | `private_attributes_array.${number}` | `private_attributes_array.${number}.value` | `private_attributes_array.${number}.key` | `public_attributes.${string}` | `public_attributes_array.${number}` | `public_attributes_array.${number}.value` | `public_attributes_array.${number}.key`>; usePath: (props: { element: HTMLElement & ICustomElement; path?: import("solid-js").Accessor<"attributes" | "total_discount" | "discounts" | "requires_shipping" | "token" | "note" | "discount_codes" | "original_total_price" | "total_price" | "total_weight" | "item_count" | "items" | "currency" | "items_subtotal_price" | "cart_level_discount_applications" | "attributes_array" | "private_attributes" | "private_attributes_array" | "public_attributes" | "public_attributes_array" | `attributes.${string}` | `discounts.${number}` | `discounts.${number}.title` | `discounts.${number}.amount` | `discount_codes.${number}` | `discount_codes.${number}.code` | `discount_codes.${number}.applicable` | `items.${number}` | `items.${number}.title` | `items.${number}.key` | `items.${number}.price` | `items.${number}.total_discount` | `items.${number}.discounts` | `items.${number}.requires_shipping` | `items.${number}.image` | `items.${number}.id` | `items.${number}.discounts.${number}` | `items.${number}.discounts.${number}.title` | `items.${number}.discounts.${number}.amount` | `items.${number}.url` | `items.${number}.quantity_rule` | `items.${number}.selling_plan_allocation` | `items.${number}.unit_price_measurement` | `items.${number}.variant_options` | `items.${number}.properties` | `items.${number}.quantity` | `items.${number}.variant_id` | `items.${number}.original_price` | `items.${number}.discounted_price` | `items.${number}.line_price` | `items.${number}.original_line_price` | `items.${number}.sku` | `items.${number}.grams` | `items.${number}.vendor` | `items.${number}.taxable` | `items.${number}.product_id` | `items.${number}.product_has_only_default_variant` | `items.${number}.gift_card` | `items.${number}.final_line_price` | `items.${number}.final_price` | `items.${number}.featured_image` | `items.${number}.handle` | `items.${number}.product_type` | `items.${number}.product_title` | `items.${number}.product_description` | `items.${number}.variant_title` | `items.${number}.options_with_values` | `items.${number}.line_level_discount_allocations` | `items.${number}.line_level_total_discount` | `items.${number}.has_components` | `items.${number}.unit_price` | `items.${number}.properties_array` | `items.${number}.private_properties` | `items.${number}.private_properties_array` | `items.${number}.public_properties` | `items.${number}.public_properties_array` | `items.${number}.variant_options.${number}` | `items.${number}.properties.${string}` | `items.${number}.featured_image.url` | `items.${number}.featured_image.aspect_ratio` | `items.${number}.featured_image.alt` | `items.${number}.featured_image.height` | `items.${number}.featured_image.width` | `items.${number}.options_with_values.${number}` | `items.${number}.options_with_values.${number}.value` | `items.${number}.options_with_values.${number}.name` | `items.${number}.line_level_discount_allocations.${number}` | `items.${number}.line_level_discount_allocations.${number}.amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application` | `items.${number}.line_level_discount_allocations.${number}.discount_application.title` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value` | `items.${number}.line_level_discount_allocations.${number}.discount_application.description` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_selection` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.total_allocated_amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application.type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value_type` | `items.${number}.properties_array.${number}` | `items.${number}.properties_array.${number}.value` | `items.${number}.properties_array.${number}.key` | `items.${number}.private_properties.${string}` | `items.${number}.private_properties_array.${number}` | `items.${number}.private_properties_array.${number}.value` | `items.${number}.private_properties_array.${number}.key` | `items.${number}.public_properties.${string}` | `items.${number}.public_properties_array.${number}` | `items.${number}.public_properties_array.${number}.value` | `items.${number}.public_properties_array.${number}.key` | `cart_level_discount_applications.${number}` | `cart_level_discount_applications.${number}.title` | `cart_level_discount_applications.${number}.value` | `cart_level_discount_applications.${number}.description` | `cart_level_discount_applications.${number}.target_selection` | `cart_level_discount_applications.${number}.target_type` | `cart_level_discount_applications.${number}.total_allocated_amount` | `cart_level_discount_applications.${number}.type` | `cart_level_discount_applications.${number}.value_type` | `attributes_array.${number}` | `attributes_array.${number}.value` | `attributes_array.${number}.key` | `private_attributes.${string}` | `private_attributes_array.${number}` | `private_attributes_array.${number}.value` | `private_attributes_array.${number}.key` | `public_attributes.${string}` | `public_attributes_array.${number}` | `public_attributes_array.${number}.value` | `public_attributes_array.${number}.key`> | undefined; }) => import("solid-js").Accessor<"attributes" | "total_discount" | "discounts" | "requires_shipping" | "token" | "note" | "discount_codes" | "original_total_price" | "total_price" | "total_weight" | "item_count" | "items" | "currency" | "items_subtotal_price" | "cart_level_discount_applications" | "attributes_array" | "private_attributes" | "private_attributes_array" | "public_attributes" | "public_attributes_array" | `attributes.${string}` | `discounts.${number}` | `discounts.${number}.title` | `discounts.${number}.amount` | `discount_codes.${number}` | `discount_codes.${number}.code` | `discount_codes.${number}.applicable` | `items.${number}` | `items.${number}.title` | `items.${number}.key` | `items.${number}.price` | `items.${number}.total_discount` | `items.${number}.discounts` | `items.${number}.requires_shipping` | `items.${number}.image` | `items.${number}.id` | `items.${number}.discounts.${number}` | `items.${number}.discounts.${number}.title` | `items.${number}.discounts.${number}.amount` | `items.${number}.url` | `items.${number}.quantity_rule` | `items.${number}.selling_plan_allocation` | `items.${number}.unit_price_measurement` | `items.${number}.variant_options` | `items.${number}.properties` | `items.${number}.quantity` | `items.${number}.variant_id` | `items.${number}.original_price` | `items.${number}.discounted_price` | `items.${number}.line_price` | `items.${number}.original_line_price` | `items.${number}.sku` | `items.${number}.grams` | `items.${number}.vendor` | `items.${number}.taxable` | `items.${number}.product_id` | `items.${number}.product_has_only_default_variant` | `items.${number}.gift_card` | `items.${number}.final_line_price` | `items.${number}.final_price` | `items.${number}.featured_image` | `items.${number}.handle` | `items.${number}.product_type` | `items.${number}.product_title` | `items.${number}.product_description` | `items.${number}.variant_title` | `items.${number}.options_with_values` | `items.${number}.line_level_discount_allocations` | `items.${number}.line_level_total_discount` | `items.${number}.has_components` | `items.${number}.unit_price` | `items.${number}.properties_array` | `items.${number}.private_properties` | `items.${number}.private_properties_array` | `items.${number}.public_properties` | `items.${number}.public_properties_array` | `items.${number}.variant_options.${number}` | `items.${number}.properties.${string}` | `items.${number}.featured_image.url` | `items.${number}.featured_image.aspect_ratio` | `items.${number}.featured_image.alt` | `items.${number}.featured_image.height` | `items.${number}.featured_image.width` | `items.${number}.options_with_values.${number}` | `items.${number}.options_with_values.${number}.value` | `items.${number}.options_with_values.${number}.name` | `items.${number}.line_level_discount_allocations.${number}` | `items.${number}.line_level_discount_allocations.${number}.amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application` | `items.${number}.line_level_discount_allocations.${number}.discount_application.title` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value` | `items.${number}.line_level_discount_allocations.${number}.discount_application.description` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_selection` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.total_allocated_amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application.type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value_type` | `items.${number}.properties_array.${number}` | `items.${number}.properties_array.${number}.value` | `items.${number}.properties_array.${number}.key` | `items.${number}.private_properties.${string}` | `items.${number}.private_properties_array.${number}` | `items.${number}.private_properties_array.${number}.value` | `items.${number}.private_properties_array.${number}.key` | `items.${number}.public_properties.${string}` | `items.${number}.public_properties_array.${number}` | `items.${number}.public_properties_array.${number}.value` | `items.${number}.public_properties_array.${number}.key` | `cart_level_discount_applications.${number}` | `cart_level_discount_applications.${number}.title` | `cart_level_discount_applications.${number}.value` | `cart_level_discount_applications.${number}.description` | `cart_level_discount_applications.${number}.target_selection` | `cart_level_discount_applications.${number}.target_type` | `cart_level_discount_applications.${number}.total_allocated_amount` | `cart_level_discount_applications.${number}.type` | `cart_level_discount_applications.${number}.value_type` | `attributes_array.${number}` | `attributes_array.${number}.value` | `attributes_array.${number}.key` | `private_attributes.${string}` | `private_attributes_array.${number}` | `private_attributes_array.${number}.value` | `private_attributes_array.${number}.key` | `public_attributes.${string}` | `public_attributes_array.${number}` | `public_attributes_array.${number}.value` | `public_attributes_array.${number}.key`>; usePathValue:

(options: { path: import("solid-js").Accessor

; data: import("solid-js").Accessor>; }) => import("solid-js").Accessor>; useFormattedValue:

(options: { path: import("solid-js").Accessor

; format?: Format$1; data: import("solid-js").Accessor>; }) => import("solid-js").Accessor>; }; export type CartPath = Path; export type CartPathValue = PathValue; export declare const useCartValue: (options: Omit[0], "data"> & { element: HTMLElement & ICustomElement; }) => import("solid-js").Accessor; export declare const useCartPath: (props: { element: HTMLElement & ICustomElement; path?: import("solid-js").Accessor<"attributes" | "total_discount" | "discounts" | "requires_shipping" | "token" | "note" | "discount_codes" | "original_total_price" | "total_price" | "total_weight" | "item_count" | "items" | "currency" | "items_subtotal_price" | "cart_level_discount_applications" | "attributes_array" | "private_attributes" | "private_attributes_array" | "public_attributes" | "public_attributes_array" | `attributes.${string}` | `discounts.${number}` | `discounts.${number}.title` | `discounts.${number}.amount` | `discount_codes.${number}` | `discount_codes.${number}.code` | `discount_codes.${number}.applicable` | `items.${number}` | `items.${number}.title` | `items.${number}.key` | `items.${number}.price` | `items.${number}.total_discount` | `items.${number}.discounts` | `items.${number}.requires_shipping` | `items.${number}.image` | `items.${number}.id` | `items.${number}.discounts.${number}` | `items.${number}.discounts.${number}.title` | `items.${number}.discounts.${number}.amount` | `items.${number}.url` | `items.${number}.quantity_rule` | `items.${number}.selling_plan_allocation` | `items.${number}.unit_price_measurement` | `items.${number}.variant_options` | `items.${number}.properties` | `items.${number}.quantity` | `items.${number}.variant_id` | `items.${number}.original_price` | `items.${number}.discounted_price` | `items.${number}.line_price` | `items.${number}.original_line_price` | `items.${number}.sku` | `items.${number}.grams` | `items.${number}.vendor` | `items.${number}.taxable` | `items.${number}.product_id` | `items.${number}.product_has_only_default_variant` | `items.${number}.gift_card` | `items.${number}.final_line_price` | `items.${number}.final_price` | `items.${number}.featured_image` | `items.${number}.handle` | `items.${number}.product_type` | `items.${number}.product_title` | `items.${number}.product_description` | `items.${number}.variant_title` | `items.${number}.options_with_values` | `items.${number}.line_level_discount_allocations` | `items.${number}.line_level_total_discount` | `items.${number}.has_components` | `items.${number}.unit_price` | `items.${number}.properties_array` | `items.${number}.private_properties` | `items.${number}.private_properties_array` | `items.${number}.public_properties` | `items.${number}.public_properties_array` | `items.${number}.variant_options.${number}` | `items.${number}.properties.${string}` | `items.${number}.featured_image.url` | `items.${number}.featured_image.aspect_ratio` | `items.${number}.featured_image.alt` | `items.${number}.featured_image.height` | `items.${number}.featured_image.width` | `items.${number}.options_with_values.${number}` | `items.${number}.options_with_values.${number}.value` | `items.${number}.options_with_values.${number}.name` | `items.${number}.line_level_discount_allocations.${number}` | `items.${number}.line_level_discount_allocations.${number}.amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application` | `items.${number}.line_level_discount_allocations.${number}.discount_application.title` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value` | `items.${number}.line_level_discount_allocations.${number}.discount_application.description` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_selection` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.total_allocated_amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application.type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value_type` | `items.${number}.properties_array.${number}` | `items.${number}.properties_array.${number}.value` | `items.${number}.properties_array.${number}.key` | `items.${number}.private_properties.${string}` | `items.${number}.private_properties_array.${number}` | `items.${number}.private_properties_array.${number}.value` | `items.${number}.private_properties_array.${number}.key` | `items.${number}.public_properties.${string}` | `items.${number}.public_properties_array.${number}` | `items.${number}.public_properties_array.${number}.value` | `items.${number}.public_properties_array.${number}.key` | `cart_level_discount_applications.${number}` | `cart_level_discount_applications.${number}.title` | `cart_level_discount_applications.${number}.value` | `cart_level_discount_applications.${number}.description` | `cart_level_discount_applications.${number}.target_selection` | `cart_level_discount_applications.${number}.target_type` | `cart_level_discount_applications.${number}.total_allocated_amount` | `cart_level_discount_applications.${number}.type` | `cart_level_discount_applications.${number}.value_type` | `attributes_array.${number}` | `attributes_array.${number}.value` | `attributes_array.${number}.key` | `private_attributes.${string}` | `private_attributes_array.${number}` | `private_attributes_array.${number}.value` | `private_attributes_array.${number}.key` | `public_attributes.${string}` | `public_attributes_array.${number}` | `public_attributes_array.${number}.value` | `public_attributes_array.${number}.key`> | undefined; }) => import("solid-js").Accessor<"attributes" | "total_discount" | "discounts" | "requires_shipping" | "token" | "note" | "discount_codes" | "original_total_price" | "total_price" | "total_weight" | "item_count" | "items" | "currency" | "items_subtotal_price" | "cart_level_discount_applications" | "attributes_array" | "private_attributes" | "private_attributes_array" | "public_attributes" | "public_attributes_array" | `attributes.${string}` | `discounts.${number}` | `discounts.${number}.title` | `discounts.${number}.amount` | `discount_codes.${number}` | `discount_codes.${number}.code` | `discount_codes.${number}.applicable` | `items.${number}` | `items.${number}.title` | `items.${number}.key` | `items.${number}.price` | `items.${number}.total_discount` | `items.${number}.discounts` | `items.${number}.requires_shipping` | `items.${number}.image` | `items.${number}.id` | `items.${number}.discounts.${number}` | `items.${number}.discounts.${number}.title` | `items.${number}.discounts.${number}.amount` | `items.${number}.url` | `items.${number}.quantity_rule` | `items.${number}.selling_plan_allocation` | `items.${number}.unit_price_measurement` | `items.${number}.variant_options` | `items.${number}.properties` | `items.${number}.quantity` | `items.${number}.variant_id` | `items.${number}.original_price` | `items.${number}.discounted_price` | `items.${number}.line_price` | `items.${number}.original_line_price` | `items.${number}.sku` | `items.${number}.grams` | `items.${number}.vendor` | `items.${number}.taxable` | `items.${number}.product_id` | `items.${number}.product_has_only_default_variant` | `items.${number}.gift_card` | `items.${number}.final_line_price` | `items.${number}.final_price` | `items.${number}.featured_image` | `items.${number}.handle` | `items.${number}.product_type` | `items.${number}.product_title` | `items.${number}.product_description` | `items.${number}.variant_title` | `items.${number}.options_with_values` | `items.${number}.line_level_discount_allocations` | `items.${number}.line_level_total_discount` | `items.${number}.has_components` | `items.${number}.unit_price` | `items.${number}.properties_array` | `items.${number}.private_properties` | `items.${number}.private_properties_array` | `items.${number}.public_properties` | `items.${number}.public_properties_array` | `items.${number}.variant_options.${number}` | `items.${number}.properties.${string}` | `items.${number}.featured_image.url` | `items.${number}.featured_image.aspect_ratio` | `items.${number}.featured_image.alt` | `items.${number}.featured_image.height` | `items.${number}.featured_image.width` | `items.${number}.options_with_values.${number}` | `items.${number}.options_with_values.${number}.value` | `items.${number}.options_with_values.${number}.name` | `items.${number}.line_level_discount_allocations.${number}` | `items.${number}.line_level_discount_allocations.${number}.amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application` | `items.${number}.line_level_discount_allocations.${number}.discount_application.title` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value` | `items.${number}.line_level_discount_allocations.${number}.discount_application.description` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_selection` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.total_allocated_amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application.type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value_type` | `items.${number}.properties_array.${number}` | `items.${number}.properties_array.${number}.value` | `items.${number}.properties_array.${number}.key` | `items.${number}.private_properties.${string}` | `items.${number}.private_properties_array.${number}` | `items.${number}.private_properties_array.${number}.value` | `items.${number}.private_properties_array.${number}.key` | `items.${number}.public_properties.${string}` | `items.${number}.public_properties_array.${number}` | `items.${number}.public_properties_array.${number}.value` | `items.${number}.public_properties_array.${number}.key` | `cart_level_discount_applications.${number}` | `cart_level_discount_applications.${number}.title` | `cart_level_discount_applications.${number}.value` | `cart_level_discount_applications.${number}.description` | `cart_level_discount_applications.${number}.target_selection` | `cart_level_discount_applications.${number}.target_type` | `cart_level_discount_applications.${number}.total_allocated_amount` | `cart_level_discount_applications.${number}.type` | `cart_level_discount_applications.${number}.value_type` | `attributes_array.${number}` | `attributes_array.${number}.value` | `attributes_array.${number}.key` | `private_attributes.${string}` | `private_attributes_array.${number}` | `private_attributes_array.${number}.value` | `private_attributes_array.${number}.key` | `public_attributes.${string}` | `public_attributes_array.${number}` | `public_attributes_array.${number}.value` | `public_attributes_array.${number}.key`>; export declare const useCartFormattedValue: (options: Omit[0], "data"> & { element: HTMLElement & ICustomElement; }) => import("solid-js").Accessor; export declare const provideCartPathContext: ({ element, path, }: { element: WalkableNode; path: import("solid-js").Accessor<"attributes" | "total_discount" | "discounts" | "requires_shipping" | "token" | "note" | "discount_codes" | "original_total_price" | "total_price" | "total_weight" | "item_count" | "items" | "currency" | "items_subtotal_price" | "cart_level_discount_applications" | "attributes_array" | "private_attributes" | "private_attributes_array" | "public_attributes" | "public_attributes_array" | `attributes.${string}` | `discounts.${number}` | `discounts.${number}.title` | `discounts.${number}.amount` | `discount_codes.${number}` | `discount_codes.${number}.code` | `discount_codes.${number}.applicable` | `items.${number}` | `items.${number}.title` | `items.${number}.key` | `items.${number}.price` | `items.${number}.total_discount` | `items.${number}.discounts` | `items.${number}.requires_shipping` | `items.${number}.image` | `items.${number}.id` | `items.${number}.discounts.${number}` | `items.${number}.discounts.${number}.title` | `items.${number}.discounts.${number}.amount` | `items.${number}.url` | `items.${number}.quantity_rule` | `items.${number}.selling_plan_allocation` | `items.${number}.unit_price_measurement` | `items.${number}.variant_options` | `items.${number}.properties` | `items.${number}.quantity` | `items.${number}.variant_id` | `items.${number}.original_price` | `items.${number}.discounted_price` | `items.${number}.line_price` | `items.${number}.original_line_price` | `items.${number}.sku` | `items.${number}.grams` | `items.${number}.vendor` | `items.${number}.taxable` | `items.${number}.product_id` | `items.${number}.product_has_only_default_variant` | `items.${number}.gift_card` | `items.${number}.final_line_price` | `items.${number}.final_price` | `items.${number}.featured_image` | `items.${number}.handle` | `items.${number}.product_type` | `items.${number}.product_title` | `items.${number}.product_description` | `items.${number}.variant_title` | `items.${number}.options_with_values` | `items.${number}.line_level_discount_allocations` | `items.${number}.line_level_total_discount` | `items.${number}.has_components` | `items.${number}.unit_price` | `items.${number}.properties_array` | `items.${number}.private_properties` | `items.${number}.private_properties_array` | `items.${number}.public_properties` | `items.${number}.public_properties_array` | `items.${number}.variant_options.${number}` | `items.${number}.properties.${string}` | `items.${number}.featured_image.url` | `items.${number}.featured_image.aspect_ratio` | `items.${number}.featured_image.alt` | `items.${number}.featured_image.height` | `items.${number}.featured_image.width` | `items.${number}.options_with_values.${number}` | `items.${number}.options_with_values.${number}.value` | `items.${number}.options_with_values.${number}.name` | `items.${number}.line_level_discount_allocations.${number}` | `items.${number}.line_level_discount_allocations.${number}.amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application` | `items.${number}.line_level_discount_allocations.${number}.discount_application.title` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value` | `items.${number}.line_level_discount_allocations.${number}.discount_application.description` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_selection` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.total_allocated_amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application.type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value_type` | `items.${number}.properties_array.${number}` | `items.${number}.properties_array.${number}.value` | `items.${number}.properties_array.${number}.key` | `items.${number}.private_properties.${string}` | `items.${number}.private_properties_array.${number}` | `items.${number}.private_properties_array.${number}.value` | `items.${number}.private_properties_array.${number}.key` | `items.${number}.public_properties.${string}` | `items.${number}.public_properties_array.${number}` | `items.${number}.public_properties_array.${number}.value` | `items.${number}.public_properties_array.${number}.key` | `cart_level_discount_applications.${number}` | `cart_level_discount_applications.${number}.title` | `cart_level_discount_applications.${number}.value` | `cart_level_discount_applications.${number}.description` | `cart_level_discount_applications.${number}.target_selection` | `cart_level_discount_applications.${number}.target_type` | `cart_level_discount_applications.${number}.total_allocated_amount` | `cart_level_discount_applications.${number}.type` | `cart_level_discount_applications.${number}.value_type` | `attributes_array.${number}` | `attributes_array.${number}.value` | `attributes_array.${number}.key` | `private_attributes.${string}` | `private_attributes_array.${number}` | `private_attributes_array.${number}.value` | `private_attributes_array.${number}.key` | `public_attributes.${string}` | `public_attributes_array.${number}` | `public_attributes_array.${number}.value` | `public_attributes_array.${number}.key`>; }) => import("solid-js").Accessor<"attributes" | "total_discount" | "discounts" | "requires_shipping" | "token" | "note" | "discount_codes" | "original_total_price" | "total_price" | "total_weight" | "item_count" | "items" | "currency" | "items_subtotal_price" | "cart_level_discount_applications" | "attributes_array" | "private_attributes" | "private_attributes_array" | "public_attributes" | "public_attributes_array" | `attributes.${string}` | `discounts.${number}` | `discounts.${number}.title` | `discounts.${number}.amount` | `discount_codes.${number}` | `discount_codes.${number}.code` | `discount_codes.${number}.applicable` | `items.${number}` | `items.${number}.title` | `items.${number}.key` | `items.${number}.price` | `items.${number}.total_discount` | `items.${number}.discounts` | `items.${number}.requires_shipping` | `items.${number}.image` | `items.${number}.id` | `items.${number}.discounts.${number}` | `items.${number}.discounts.${number}.title` | `items.${number}.discounts.${number}.amount` | `items.${number}.url` | `items.${number}.quantity_rule` | `items.${number}.selling_plan_allocation` | `items.${number}.unit_price_measurement` | `items.${number}.variant_options` | `items.${number}.properties` | `items.${number}.quantity` | `items.${number}.variant_id` | `items.${number}.original_price` | `items.${number}.discounted_price` | `items.${number}.line_price` | `items.${number}.original_line_price` | `items.${number}.sku` | `items.${number}.grams` | `items.${number}.vendor` | `items.${number}.taxable` | `items.${number}.product_id` | `items.${number}.product_has_only_default_variant` | `items.${number}.gift_card` | `items.${number}.final_line_price` | `items.${number}.final_price` | `items.${number}.featured_image` | `items.${number}.handle` | `items.${number}.product_type` | `items.${number}.product_title` | `items.${number}.product_description` | `items.${number}.variant_title` | `items.${number}.options_with_values` | `items.${number}.line_level_discount_allocations` | `items.${number}.line_level_total_discount` | `items.${number}.has_components` | `items.${number}.unit_price` | `items.${number}.properties_array` | `items.${number}.private_properties` | `items.${number}.private_properties_array` | `items.${number}.public_properties` | `items.${number}.public_properties_array` | `items.${number}.variant_options.${number}` | `items.${number}.properties.${string}` | `items.${number}.featured_image.url` | `items.${number}.featured_image.aspect_ratio` | `items.${number}.featured_image.alt` | `items.${number}.featured_image.height` | `items.${number}.featured_image.width` | `items.${number}.options_with_values.${number}` | `items.${number}.options_with_values.${number}.value` | `items.${number}.options_with_values.${number}.name` | `items.${number}.line_level_discount_allocations.${number}` | `items.${number}.line_level_discount_allocations.${number}.amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application` | `items.${number}.line_level_discount_allocations.${number}.discount_application.title` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value` | `items.${number}.line_level_discount_allocations.${number}.discount_application.description` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_selection` | `items.${number}.line_level_discount_allocations.${number}.discount_application.target_type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.total_allocated_amount` | `items.${number}.line_level_discount_allocations.${number}.discount_application.type` | `items.${number}.line_level_discount_allocations.${number}.discount_application.value_type` | `items.${number}.properties_array.${number}` | `items.${number}.properties_array.${number}.value` | `items.${number}.properties_array.${number}.key` | `items.${number}.private_properties.${string}` | `items.${number}.private_properties_array.${number}` | `items.${number}.private_properties_array.${number}.value` | `items.${number}.private_properties_array.${number}.key` | `items.${number}.public_properties.${string}` | `items.${number}.public_properties_array.${number}` | `items.${number}.public_properties_array.${number}.value` | `items.${number}.public_properties_array.${number}.key` | `cart_level_discount_applications.${number}` | `cart_level_discount_applications.${number}.title` | `cart_level_discount_applications.${number}.value` | `cart_level_discount_applications.${number}.description` | `cart_level_discount_applications.${number}.target_selection` | `cart_level_discount_applications.${number}.target_type` | `cart_level_discount_applications.${number}.total_allocated_amount` | `cart_level_discount_applications.${number}.type` | `cart_level_discount_applications.${number}.value_type` | `attributes_array.${number}` | `attributes_array.${number}.value` | `attributes_array.${number}.key` | `private_attributes.${string}` | `private_attributes_array.${number}` | `private_attributes_array.${number}.value` | `private_attributes_array.${number}.key` | `public_attributes.${string}` | `public_attributes_array.${number}` | `public_attributes_array.${number}.value` | `public_attributes_array.${number}.key`>; type Props$1 = { propertyName: CartPath; format?: Format; }; declare const Name$1 = "cart-data"; declare const Component$1: CorrectComponentType; type Props$2 = {}; declare const Name$2 = "cart-data-conditions"; declare const Component$2: CorrectComponentType; type Props$3 = { arrayPath: CartPath; format?: Format; reverse?: boolean; itemClass?: string; }; declare const Name$3 = "cart-data-array"; declare const Component$3: CorrectComponentType; type Props$4 = { arrayPath: CartPath; wrapInnerChild: boolean; target: string; format?: Format; reverse?: boolean; }; declare const Name$4 = "cart-data-array-injection"; declare const Component$4: CorrectComponentType; type Props$5 = { itemIndex: string; }; declare const Name$5 = "cart-data-array-item"; declare const Component$5: CorrectComponentType; type Props$6 = { status: Status; on: string; method: string; debounceDelay: number; resetForm: boolean; resetStatusDelay: number; preventDefault: boolean; }; declare const Name$6 = "cart-data-listener"; declare const Component$6: CorrectComponentType; type Props$7 = { propertyName: CartPath; format?: Format; target: string; attributeName: string; injectionType: "attribute" | "property" | "template"; }; declare const Name$7 = "cart-data-injection"; declare const Component$7: CorrectComponentType; type Status$1 = (typeof AjaxCart)["status"]; type Props$8 = { ignoredStates: Array; }; declare const Name$8 = "cart-loading-state"; declare const Component$8: CorrectComponentType; export type CartContextProps = Props; export type CartDataProps = Props$1; export type CartDataArrayProps = Props$3; export type CartDataArrayInjectionProps = Props$4; export type CartDataArrayItemProps = Props$5; export type CartDataConditionsProps = Props$2; export type CartDataInjectionProps = Props$7; export type CartDataListenerProps = Props$6; export type CartLoadingStateProps = CartLoadingState.Props; declare namespace CartLoadingState { export { Component$8 as Component, Name$8 as Name, Props$8 as Props }; } export {};