import { List } from "@swishapp/api-client"; import * as v from "valibot"; import { IntentHandler } from "../intent-handler"; import { IntentResponse, SuccessIntentResponse } from "../types"; export declare const EditListAccessIntentDataSchema: v.ObjectSchema<{ readonly listId: v.StringSchema; readonly access: v.PicklistSchema<["public", "private"], undefined>; }, undefined>; export type EditListAccessIntentData = v.InferInput; export type EditListAccessSuccessResponse = SuccessIntentResponse<{ list: List; }>; export declare class EditListAccessHandler extends IntentHandler<"edit:list-access"> { invoke(data: EditListAccessIntentData): Promise>; }