import { Component, PuptNode, RenderContext } from '../../src/index.ts'; import { z } from 'zod'; export interface SelectOption { value: string; label: string; text?: string; } export declare const selectOptionSchema: z.ZodObject<{ value: z.ZodString; label: z.ZodOptional; }, z.core.$loose>; export declare const askSelectSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodString; description: z.ZodOptional; required: z.ZodOptional; silent: z.ZodOptional; default: z.ZodOptional; options: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>; export type SelectProps = z.infer & { children?: PuptNode; }; export declare class AskSelect 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.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>; resolve(props: SelectProps, context: RenderContext): string; render(props: SelectProps, resolvedValue: string | undefined, context: RenderContext): PuptNode; } //# sourceMappingURL=Select.d.ts.map