import { ItemDetail } from "@swishapp/api-client"; import * as v from "valibot"; import type { Product, ProductVariant } from "../../types"; import { IntentHandler } from "../intent-handler"; import { IntentResponse, SuccessIntentResponse } from "../types"; export declare const EditItemListsIntentDataSchema: v.ObjectSchema<{ readonly itemId: v.StringSchema; }, undefined>; export interface EditItemListsIntentData extends EditItemListsIntentDataValidated { } export type EditItemListsSuccessResponse = SuccessIntentResponse<{ item: ItemDetail; product: Product | null | undefined; variant: ProductVariant | null | undefined; }>; export type EditItemListsIntentDataValidated = v.InferInput; export declare class EditItemListsHandler extends IntentHandler<"edit:item-lists" | "unsave:item"> { invoke(data: EditItemListsIntentData): Promise>; }