import { Item } from "@swishapp/api-client"; import * as v from "valibot"; import { IntentHandler } from "../intent-handler"; import { IntentResponse, SuccessIntentResponse } from "../types"; export declare const EditItemQuantityIntentDataSchema: v.ObjectSchema<{ readonly itemId: v.StringSchema; readonly quantity: v.SchemaWithPipe, v.MinValueAction]>; }, undefined>; export type EditItemQuantityIntentData = v.InferInput; export type EditItemQuantitySuccessResponse = SuccessIntentResponse<{ item: Item; }, "edit:item-quantity">; export declare class EditItemQuantityHandler extends IntentHandler<"edit:item-quantity"> { invoke(data: EditItemQuantityIntentData): Promise>; }