import { Static, Type } from "typebox"; //#region src/schemas/questionnaire.d.ts declare const QuestionParamsSchema: Type.TObject<{ questions: Type.TArray; }>>; multiSelect: Type.TOptional; }>>; }>; type QuestionParams = Static; //#endregion //#region src/types/questionnaire.d.ts type AnswerKind = 'option' | 'custom' | 'multi'; interface QuestionAnswer { questionIndex: number; question: string; kind: AnswerKind; answer: string | null; selected?: string[]; notes?: string; preview?: string; } type QuestionnaireError = 'no_ui' | 'no_custom_ui' | 'no_questions' | 'empty_options' | 'too_many_questions' | 'duplicate_question' | 'duplicate_option_label' | 'reserved_label' | 'session_load_failed' | 'stale_module_cache' | /** A client replied with an answer envelope that did not match the questions asked. */ 'malformed_answers'; interface QuestionnaireResult { answers: QuestionAnswer[]; cancelled: boolean; error?: QuestionnaireError; delivery?: 'voice'; awaitingResponse?: boolean; voicePrompt?: string; } interface ToolTextResult { content: Array<{ type: 'text'; text: string; }>; details: QuestionnaireResult; terminate?: boolean; } //#endregion export type { QuestionParams, QuestionnaireResult, ToolTextResult }; //# sourceMappingURL=index.d.mts.map