import { Component, PuptNode, RenderContext } from '../../src/index.ts'; import { z } from 'zod'; export interface ChoiceOption { value: string; label: string; } export declare const choiceOptionSchema: z.ZodObject<{ value: z.ZodString; label: z.ZodString; description: z.ZodOptional; }, z.core.$loose>; export declare const askChoiceSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodString; description: z.ZodOptional; required: z.ZodOptional; silent: z.ZodOptional; default: z.ZodOptional; options: z.ZodArray; }, z.core.$loose>>; }, z.core.$loose>; export type ChoiceProps = z.infer & { children?: PuptNode; }; export declare class AskChoice extends Component { static schema: z.ZodObject<{ name: z.ZodString; label: z.ZodString; description: z.ZodOptional; required: z.ZodOptional; silent: z.ZodOptional; default: z.ZodOptional; options: z.ZodArray; }, z.core.$loose>>; }, z.core.$loose>; resolve(props: ChoiceProps, context: RenderContext): string; render(props: ChoiceProps, resolvedValue: string | undefined, context: RenderContext): PuptNode; } //# sourceMappingURL=Choice.d.ts.map