export interface QuestionOption { readonly label: string; readonly description?: string; } export interface QuestionItem { readonly question: string; readonly header?: string; readonly body?: string; readonly options: readonly QuestionOption[]; readonly multiSelect?: boolean; readonly otherLabel?: string; readonly otherDescription?: string; } export type QuestionAnswerMethod = 'enter' | 'space' | 'number_key'; export type QuestionAnswers = Record; export interface QuestionResponse { readonly answers: QuestionAnswers; readonly method?: QuestionAnswerMethod; } export type QuestionResult = null | QuestionAnswers | QuestionResponse; export interface QuestionRequest { readonly id?: string; readonly turnId?: number; readonly toolCallId?: string; readonly questions: readonly QuestionItem[]; }