import * as v from "valibot"; import type { AddToCartResponse } from "../../ajax-api/ajax-api-client"; import { IntentHandler } from "../intent-handler"; import { IntentResponse, SuccessIntentResponse } from "../types"; export declare const CreateCartLineIntentDataSchema: v.UnionSchema<[v.ObjectSchema<{ readonly variantId: v.SchemaWithPipe, v.TransformAction]>, v.NumberSchema], undefined>, v.TransformAction, v.SchemaWithPipe, v.MinValueAction]>]>; readonly quantity: v.OptionalSchema, v.MinValueAction]>, 1>; }, undefined>, v.ObjectSchema<{ readonly items: v.SchemaWithPipe, v.TransformAction]>, v.NumberSchema], undefined>, v.TransformAction, v.SchemaWithPipe, v.MinValueAction]>]>; readonly quantity: v.OptionalSchema, v.MinValueAction]>, 1>; }, undefined>, undefined>, v.MinLengthAction<{ variantId: number; quantity: number; }[], 1, undefined>]>; }, undefined>], undefined>; export type CreateCartLineIntentData = v.InferInput; export type CreateCartLineSuccessResponse = SuccessIntentResponse; export declare class CreateCartLineHandler extends IntentHandler<"create:cart-line"> { invoke(data: CreateCartLineIntentData): Promise>; }