import { Action } from "../ir.js"; import { GenerativeUIDispatch, GenerativeUIStatus } from "../types.js"; import { z } from "zod"; //#region src/vocabulary/interactive.d.ts type Option = { label: string; value: string; }; type RadioGroupRenderProps = { options: Option[]; name?: string; label?: string; defaultValue?: string; $status: GenerativeUIStatus; $action?: Action; $dispatch?: GenerativeUIDispatch; }; declare function RadioGroupRender({ options, name, label, defaultValue, $action, $dispatch }: RadioGroupRenderProps): import("react").JSX.Element; export declare const interactiveVocabulary: { Button: { description: string; properties: z.ZodObject<{ label: z.ZodString; buttonStyle: z.ZodOptional>; block: z.ZodOptional; submit: z.ZodOptional; }, z.core.$strip>; render: ({ label, buttonStyle, block, submit, $action, $dispatch, children }: any) => import("react").JSX.Element; }; Select: { description: string; properties: z.ZodObject<{ options: z.ZodArray>; placeholder: z.ZodOptional; label: z.ZodOptional; name: z.ZodOptional; }, z.core.$strip>; render: ({ options, placeholder, label, name, $action, $dispatch, children }: any) => import("react").JSX.Element; }; Input: { description: string; properties: z.ZodObject<{ placeholder: z.ZodOptional; multiline: z.ZodOptional; label: z.ZodOptional; name: z.ZodOptional; }, z.core.$strip>; render: ({ placeholder, multiline, label, name, $action, $dispatch }: any) => import("react").JSX.Element; }; DatePicker: { description: string; properties: z.ZodObject<{ value: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; label: z.ZodOptional; name: z.ZodOptional; }, z.core.$strip>; render: ({ value, min, max, label, name, $action, $dispatch }: any) => import("react").JSX.Element; }; Checkbox: { description: string; properties: z.ZodObject<{ label: z.ZodString; name: z.ZodOptional; defaultChecked: z.ZodOptional; }, z.core.$strip>; render: ({ label, name, defaultChecked, $action, $dispatch }: any) => import("react").JSX.Element; }; RadioGroup: { description: string; properties: z.ZodObject<{ options: z.ZodArray>; name: z.ZodOptional; label: z.ZodOptional; defaultValue: z.ZodOptional; }, z.core.$strip>; render: typeof RadioGroupRender; }; }; //#endregion //# sourceMappingURL=interactive.d.ts.map