import type { ReactNode } from 'react'; export type QuestionBoolean = { type: 'boolean'; include: boolean; prompt: string; setValue: (value: boolean) => Promise | void; }; export type QuestionString = { type: 'string'; include: boolean; prompt: string; defaultValue?: string; setValue: (value: string) => Promise | void; render?: (value: string) => ReactNode; }; export type QuestionNumber = { type: 'number'; include: boolean; prompt: string; setValue: (value: number) => Promise | void; }; export type Option = { label: string; value: string; }; export type QuestionSelect = { type: 'select'; include: boolean; prompt: string; options: Option[]; setValue: (value: string) => Promise | void; }; export type QuestionMultiSelect = { type: 'multiselect'; include: boolean; prompt: string; options: Option[]; setValues: (values: string[]) => Promise | void; }; export type Question = QuestionBoolean | QuestionString | QuestionNumber | QuestionSelect | QuestionMultiSelect; //# sourceMappingURL=types.d.ts.map