@thanh01.pmt/interactive-quiz-kit 1.0.30 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. package/dist/ai-ecosystem-D6vuLxnS.d.ts +228 -0
  2. package/dist/ai-ecosystem-DCPvHU4-.d.cts +228 -0
  3. package/dist/ai.d.cts +2017 -0
  4. package/dist/ai.d.ts +2017 -40
  5. package/dist/authoring.d.cts +11 -0
  6. package/dist/authoring.d.ts +11 -6
  7. package/dist/index.d.cts +444 -0
  8. package/dist/index.d.ts +444 -31
  9. package/dist/player.d.cts +13 -0
  10. package/dist/player.d.ts +3 -2
  11. package/dist/quiz-config-Df_89hFx.d.cts +198 -0
  12. package/dist/quiz-config-Df_89hFx.d.ts +198 -0
  13. package/dist/react-ui.d.cts +206 -0
  14. package/dist/react-ui.d.ts +206 -58
  15. package/dist/toaster-Blf5k3DP.d.cts +132 -0
  16. package/dist/toaster-BrChkQ23.d.ts +132 -0
  17. package/package.json +1 -1
  18. package/dist/ai/dev.d.ts +0 -16
  19. package/dist/ai/dev.d.ts.map +0 -1
  20. package/dist/ai/flows/ask-tutor-chat-types.d.ts +0 -67
  21. package/dist/ai/flows/ask-tutor-chat-types.d.ts.map +0 -1
  22. package/dist/ai/flows/ask-tutor-chat.d.ts +0 -3
  23. package/dist/ai/flows/ask-tutor-chat.d.ts.map +0 -1
  24. package/dist/ai/flows/assess-and-map-document-types.d.ts +0 -80
  25. package/dist/ai/flows/assess-and-map-document-types.d.ts.map +0 -1
  26. package/dist/ai/flows/assess-and-map-document.d.ts +0 -3
  27. package/dist/ai/flows/assess-and-map-document.d.ts.map +0 -1
  28. package/dist/ai/flows/evaluate-user-code-types.d.ts +0 -49
  29. package/dist/ai/flows/evaluate-user-code-types.d.ts.map +0 -1
  30. package/dist/ai/flows/evaluate-user-code.d.ts +0 -3
  31. package/dist/ai/flows/evaluate-user-code.d.ts.map +0 -1
  32. package/dist/ai/flows/generate-learning-analysis-types.d.ts +0 -200
  33. package/dist/ai/flows/generate-learning-analysis-types.d.ts.map +0 -1
  34. package/dist/ai/flows/generate-learning-analysis.d.ts +0 -4
  35. package/dist/ai/flows/generate-learning-analysis.d.ts.map +0 -1
  36. package/dist/ai/flows/generate-motivational-quote.d.ts +0 -3
  37. package/dist/ai/flows/generate-motivational-quote.d.ts.map +0 -1
  38. package/dist/ai/flows/generate-practice-quiz.d.ts +0 -76
  39. package/dist/ai/flows/generate-practice-quiz.d.ts.map +0 -1
  40. package/dist/ai/flows/generate-practice-suggestion.d.ts +0 -149
  41. package/dist/ai/flows/generate-practice-suggestion.d.ts.map +0 -1
  42. package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts +0 -122
  43. package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts.map +0 -1
  44. package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts +0 -3
  45. package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts.map +0 -1
  46. package/dist/ai/flows/generate-quiz-from-text-types.d.ts +0 -358
  47. package/dist/ai/flows/generate-quiz-from-text-types.d.ts.map +0 -1
  48. package/dist/ai/flows/generate-quiz-from-text.d.ts +0 -3
  49. package/dist/ai/flows/generate-quiz-from-text.d.ts.map +0 -1
  50. package/dist/ai/flows/generate-quiz-plan-types.d.ts +0 -272
  51. package/dist/ai/flows/generate-quiz-plan-types.d.ts.map +0 -1
  52. package/dist/ai/flows/generate-quiz-plan.d.ts +0 -12
  53. package/dist/ai/flows/generate-quiz-plan.d.ts.map +0 -1
  54. package/dist/ai/flows/generate-quiz-review.d.ts +0 -3
  55. package/dist/ai/flows/generate-quiz-review.d.ts.map +0 -1
  56. package/dist/ai/flows/generate-single-knowledge-card-types.d.ts +0 -34
  57. package/dist/ai/flows/generate-single-knowledge-card-types.d.ts.map +0 -1
  58. package/dist/ai/flows/generate-single-knowledge-card.d.ts +0 -3
  59. package/dist/ai/flows/generate-single-knowledge-card.d.ts.map +0 -1
  60. package/dist/ai/flows/motivational-quote-types.d.ts +0 -30
  61. package/dist/ai/flows/motivational-quote-types.d.ts.map +0 -1
  62. package/dist/ai/flows/plan-knowledge-cards-types.d.ts +0 -24
  63. package/dist/ai/flows/plan-knowledge-cards-types.d.ts.map +0 -1
  64. package/dist/ai/flows/plan-knowledge-cards.d.ts +0 -3
  65. package/dist/ai/flows/plan-knowledge-cards.d.ts.map +0 -1
  66. package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts +0 -133
  67. package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts.map +0 -1
  68. package/dist/ai/flows/question-gen/generate-coding-question.d.ts +0 -3
  69. package/dist/ai/flows/question-gen/generate-coding-question.d.ts.map +0 -1
  70. package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts +0 -142
  71. package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts.map +0 -1
  72. package/dist/ai/flows/question-gen/generate-fitb-question.d.ts +0 -3
  73. package/dist/ai/flows/question-gen/generate-fitb-question.d.ts.map +0 -1
  74. package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts +0 -137
  75. package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts.map +0 -1
  76. package/dist/ai/flows/question-gen/generate-matching-question.d.ts +0 -3
  77. package/dist/ai/flows/question-gen/generate-matching-question.d.ts.map +0 -1
  78. package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts +0 -137
  79. package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts.map +0 -1
  80. package/dist/ai/flows/question-gen/generate-mcq-question.d.ts +0 -3
  81. package/dist/ai/flows/question-gen/generate-mcq-question.d.ts.map +0 -1
  82. package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts +0 -143
  83. package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts.map +0 -1
  84. package/dist/ai/flows/question-gen/generate-mrq-question.d.ts +0 -3
  85. package/dist/ai/flows/question-gen/generate-mrq-question.d.ts.map +0 -1
  86. package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts +0 -131
  87. package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts.map +0 -1
  88. package/dist/ai/flows/question-gen/generate-numeric-question.d.ts +0 -3
  89. package/dist/ai/flows/question-gen/generate-numeric-question.d.ts.map +0 -1
  90. package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts +0 -119
  91. package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts.map +0 -1
  92. package/dist/ai/flows/question-gen/generate-sequence-question.d.ts +0 -3
  93. package/dist/ai/flows/question-gen/generate-sequence-question.d.ts.map +0 -1
  94. package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts +0 -119
  95. package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts.map +0 -1
  96. package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts +0 -3
  97. package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts.map +0 -1
  98. package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts +0 -115
  99. package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts.map +0 -1
  100. package/dist/ai/flows/question-gen/generate-true-false-question.d.ts +0 -3
  101. package/dist/ai/flows/question-gen/generate-true-false-question.d.ts.map +0 -1
  102. package/dist/ai/flows/question-gen/question-generation-schemas.d.ts +0 -1027
  103. package/dist/ai/flows/question-gen/question-generation-schemas.d.ts.map +0 -1
  104. package/dist/ai/flows/review-types.d.ts +0 -79
  105. package/dist/ai/flows/review-types.d.ts.map +0 -1
  106. package/dist/ai/flows/shared-schemas.d.ts +0 -133
  107. package/dist/ai/flows/shared-schemas.d.ts.map +0 -1
  108. package/dist/ai/genkit.d.ts +0 -2
  109. package/dist/ai/genkit.d.ts.map +0 -1
  110. package/dist/ai.d.ts.map +0 -1
  111. package/dist/authoring.d.ts.map +0 -1
  112. package/dist/i18n.d.ts +0 -3
  113. package/dist/i18n.d.ts.map +0 -1
  114. package/dist/index.d.ts.map +0 -1
  115. package/dist/player.d.ts.map +0 -1
  116. package/dist/react-ui/components/app/APIKeyManagerModal.d.ts +0 -8
  117. package/dist/react-ui/components/app/APIKeyManagerModal.d.ts.map +0 -1
  118. package/dist/react-ui/components/app/AppController.d.ts +0 -3
  119. package/dist/react-ui/components/app/AppController.d.ts.map +0 -1
  120. package/dist/react-ui/components/app/ManageImageContexts.d.ts +0 -3
  121. package/dist/react-ui/components/app/ManageImageContexts.d.ts.map +0 -1
  122. package/dist/react-ui/components/app/ManageTopics.d.ts +0 -3
  123. package/dist/react-ui/components/app/ManageTopics.d.ts.map +0 -1
  124. package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts +0 -3
  125. package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts.map +0 -1
  126. package/dist/react-ui/components/app/SettingsModal.d.ts +0 -10
  127. package/dist/react-ui/components/app/SettingsModal.d.ts.map +0 -1
  128. package/dist/react-ui/components/app/UploadResourceModal.d.ts +0 -8
  129. package/dist/react-ui/components/app/UploadResourceModal.d.ts.map +0 -1
  130. package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts +0 -11
  131. package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts.map +0 -1
  132. package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts +0 -19
  133. package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts.map +0 -1
  134. package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts +0 -9
  135. package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts.map +0 -1
  136. package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts +0 -9
  137. package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts.map +0 -1
  138. package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts +0 -9
  139. package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts.map +0 -1
  140. package/dist/react-ui/components/authoring/EditQuestionModal.d.ts +0 -11
  141. package/dist/react-ui/components/authoring/EditQuestionModal.d.ts.map +0 -1
  142. package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts +0 -9
  143. package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts.map +0 -1
  144. package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts +0 -9
  145. package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts.map +0 -1
  146. package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts +0 -10
  147. package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts.map +0 -1
  148. package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts +0 -9
  149. package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts.map +0 -1
  150. package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts +0 -9
  151. package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts.map +0 -1
  152. package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts +0 -9
  153. package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts.map +0 -1
  154. package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts +0 -9
  155. package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts.map +0 -1
  156. package/dist/react-ui/components/authoring/QuestionFilters.d.ts +0 -9
  157. package/dist/react-ui/components/authoring/QuestionFilters.d.ts.map +0 -1
  158. package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts +0 -11
  159. package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts.map +0 -1
  160. package/dist/react-ui/components/authoring/QuestionList.d.ts +0 -11
  161. package/dist/react-ui/components/authoring/QuestionList.d.ts.map +0 -1
  162. package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts +0 -10
  163. package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts.map +0 -1
  164. package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts +0 -10
  165. package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts.map +0 -1
  166. package/dist/react-ui/components/authoring/SCORMExportModal.d.ts +0 -13
  167. package/dist/react-ui/components/authoring/SCORMExportModal.d.ts.map +0 -1
  168. package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts +0 -9
  169. package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts.map +0 -1
  170. package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts +0 -9
  171. package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts.map +0 -1
  172. package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts +0 -9
  173. package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts.map +0 -1
  174. package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts +0 -9
  175. package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts.map +0 -1
  176. package/dist/react-ui/components/common/ClientTranslation.d.ts +0 -18
  177. package/dist/react-ui/components/common/ClientTranslation.d.ts.map +0 -1
  178. package/dist/react-ui/components/common/EditorToolbar.d.ts +0 -8
  179. package/dist/react-ui/components/common/EditorToolbar.d.ts.map +0 -1
  180. package/dist/react-ui/components/common/MarkdownEditor.d.ts +0 -11
  181. package/dist/react-ui/components/common/MarkdownEditor.d.ts.map +0 -1
  182. package/dist/react-ui/components/common/MarkdownRenderer.d.ts +0 -15
  183. package/dist/react-ui/components/common/MarkdownRenderer.d.ts.map +0 -1
  184. package/dist/react-ui/components/common/RichTextEditor.d.ts +0 -11
  185. package/dist/react-ui/components/common/RichTextEditor.d.ts.map +0 -1
  186. package/dist/react-ui/components/common/RichTextRenderer.d.ts +0 -16
  187. package/dist/react-ui/components/common/RichTextRenderer.d.ts.map +0 -1
  188. package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts +0 -17
  189. package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts.map +0 -1
  190. package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts +0 -11
  191. package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts.map +0 -1
  192. package/dist/react-ui/components/dashboard/Achievements.d.ts +0 -8
  193. package/dist/react-ui/components/dashboard/Achievements.d.ts.map +0 -1
  194. package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts +0 -8
  195. package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts.map +0 -1
  196. package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts +0 -8
  197. package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts.map +0 -1
  198. package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts +0 -8
  199. package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts.map +0 -1
  200. package/dist/react-ui/components/dashboard/Cheatsheet.d.ts +0 -3
  201. package/dist/react-ui/components/dashboard/Cheatsheet.d.ts.map +0 -1
  202. package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts +0 -11
  203. package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts.map +0 -1
  204. package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts +0 -3
  205. package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts.map +0 -1
  206. package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts +0 -3
  207. package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts.map +0 -1
  208. package/dist/react-ui/components/dashboard/GoalsProgress.d.ts +0 -3
  209. package/dist/react-ui/components/dashboard/GoalsProgress.d.ts.map +0 -1
  210. package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts +0 -8
  211. package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts.map +0 -1
  212. package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts +0 -9
  213. package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts.map +0 -1
  214. package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts +0 -9
  215. package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts.map +0 -1
  216. package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts +0 -3
  217. package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts.map +0 -1
  218. package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts +0 -13
  219. package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts.map +0 -1
  220. package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts +0 -10
  221. package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts.map +0 -1
  222. package/dist/react-ui/components/dashboard/StatCard.d.ts +0 -12
  223. package/dist/react-ui/components/dashboard/StatCard.d.ts.map +0 -1
  224. package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts +0 -12
  225. package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts.map +0 -1
  226. package/dist/react-ui/components/elements/accordion.d.ts +0 -8
  227. package/dist/react-ui/components/elements/accordion.d.ts.map +0 -1
  228. package/dist/react-ui/components/elements/alert-dialog.d.ts +0 -21
  229. package/dist/react-ui/components/elements/alert-dialog.d.ts.map +0 -1
  230. package/dist/react-ui/components/elements/alert.d.ts +0 -9
  231. package/dist/react-ui/components/elements/alert.d.ts.map +0 -1
  232. package/dist/react-ui/components/elements/avatar.d.ts +0 -7
  233. package/dist/react-ui/components/elements/avatar.d.ts.map +0 -1
  234. package/dist/react-ui/components/elements/badge.d.ts +0 -10
  235. package/dist/react-ui/components/elements/badge.d.ts.map +0 -1
  236. package/dist/react-ui/components/elements/button.d.ts +0 -12
  237. package/dist/react-ui/components/elements/button.d.ts.map +0 -1
  238. package/dist/react-ui/components/elements/calendar.d.ts +0 -9
  239. package/dist/react-ui/components/elements/calendar.d.ts.map +0 -1
  240. package/dist/react-ui/components/elements/card.d.ts +0 -9
  241. package/dist/react-ui/components/elements/card.d.ts.map +0 -1
  242. package/dist/react-ui/components/elements/chart.d.ts +0 -63
  243. package/dist/react-ui/components/elements/chart.d.ts.map +0 -1
  244. package/dist/react-ui/components/elements/checkbox.d.ts +0 -5
  245. package/dist/react-ui/components/elements/checkbox.d.ts.map +0 -1
  246. package/dist/react-ui/components/elements/dialog.d.ts +0 -20
  247. package/dist/react-ui/components/elements/dialog.d.ts.map +0 -1
  248. package/dist/react-ui/components/elements/dropdown-menu.d.ts +0 -28
  249. package/dist/react-ui/components/elements/dropdown-menu.d.ts.map +0 -1
  250. package/dist/react-ui/components/elements/form.d.ts +0 -24
  251. package/dist/react-ui/components/elements/form.d.ts.map +0 -1
  252. package/dist/react-ui/components/elements/input.d.ts +0 -4
  253. package/dist/react-ui/components/elements/input.d.ts.map +0 -1
  254. package/dist/react-ui/components/elements/label.d.ts +0 -6
  255. package/dist/react-ui/components/elements/label.d.ts.map +0 -1
  256. package/dist/react-ui/components/elements/menubar.d.ts +0 -29
  257. package/dist/react-ui/components/elements/menubar.d.ts.map +0 -1
  258. package/dist/react-ui/components/elements/popover.d.ts +0 -7
  259. package/dist/react-ui/components/elements/popover.d.ts.map +0 -1
  260. package/dist/react-ui/components/elements/progress.d.ts +0 -5
  261. package/dist/react-ui/components/elements/progress.d.ts.map +0 -1
  262. package/dist/react-ui/components/elements/radio-group.d.ts +0 -6
  263. package/dist/react-ui/components/elements/radio-group.d.ts.map +0 -1
  264. package/dist/react-ui/components/elements/scroll-area.d.ts +0 -6
  265. package/dist/react-ui/components/elements/scroll-area.d.ts.map +0 -1
  266. package/dist/react-ui/components/elements/select.d.ts +0 -14
  267. package/dist/react-ui/components/elements/select.d.ts.map +0 -1
  268. package/dist/react-ui/components/elements/separator.d.ts +0 -5
  269. package/dist/react-ui/components/elements/separator.d.ts.map +0 -1
  270. package/dist/react-ui/components/elements/sheet.d.ts +0 -26
  271. package/dist/react-ui/components/elements/sheet.d.ts.map +0 -1
  272. package/dist/react-ui/components/elements/sidebar.d.ts +0 -67
  273. package/dist/react-ui/components/elements/sidebar.d.ts.map +0 -1
  274. package/dist/react-ui/components/elements/skeleton.d.ts +0 -3
  275. package/dist/react-ui/components/elements/skeleton.d.ts.map +0 -1
  276. package/dist/react-ui/components/elements/slider.d.ts +0 -5
  277. package/dist/react-ui/components/elements/slider.d.ts.map +0 -1
  278. package/dist/react-ui/components/elements/switch.d.ts +0 -5
  279. package/dist/react-ui/components/elements/switch.d.ts.map +0 -1
  280. package/dist/react-ui/components/elements/table.d.ts +0 -11
  281. package/dist/react-ui/components/elements/table.d.ts.map +0 -1
  282. package/dist/react-ui/components/elements/tabs.d.ts +0 -8
  283. package/dist/react-ui/components/elements/tabs.d.ts.map +0 -1
  284. package/dist/react-ui/components/elements/textarea.d.ts +0 -4
  285. package/dist/react-ui/components/elements/textarea.d.ts.map +0 -1
  286. package/dist/react-ui/components/elements/toast.d.ts +0 -16
  287. package/dist/react-ui/components/elements/toast.d.ts.map +0 -1
  288. package/dist/react-ui/components/elements/toaster.d.ts +0 -2
  289. package/dist/react-ui/components/elements/toaster.d.ts.map +0 -1
  290. package/dist/react-ui/components/elements/tooltip.d.ts +0 -8
  291. package/dist/react-ui/components/elements/tooltip.d.ts.map +0 -1
  292. package/dist/react-ui/components/metadata/ApproachManager.d.ts +0 -3
  293. package/dist/react-ui/components/metadata/ApproachManager.d.ts.map +0 -1
  294. package/dist/react-ui/components/metadata/BloomLevelManager.d.ts +0 -3
  295. package/dist/react-ui/components/metadata/BloomLevelManager.d.ts.map +0 -1
  296. package/dist/react-ui/components/metadata/CategoryManager.d.ts +0 -3
  297. package/dist/react-ui/components/metadata/CategoryManager.d.ts.map +0 -1
  298. package/dist/react-ui/components/metadata/ContextManager.d.ts +0 -3
  299. package/dist/react-ui/components/metadata/ContextManager.d.ts.map +0 -1
  300. package/dist/react-ui/components/metadata/GradeLevelManager.d.ts +0 -3
  301. package/dist/react-ui/components/metadata/GradeLevelManager.d.ts.map +0 -1
  302. package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts +0 -3
  303. package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts.map +0 -1
  304. package/dist/react-ui/components/metadata/MetadataTabs.d.ts +0 -3
  305. package/dist/react-ui/components/metadata/MetadataTabs.d.ts.map +0 -1
  306. package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts +0 -3
  307. package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts.map +0 -1
  308. package/dist/react-ui/components/metadata/SubjectManager.d.ts +0 -3
  309. package/dist/react-ui/components/metadata/SubjectManager.d.ts.map +0 -1
  310. package/dist/react-ui/components/metadata/TopicManager.d.ts +0 -3
  311. package/dist/react-ui/components/metadata/TopicManager.d.ts.map +0 -1
  312. package/dist/react-ui/components/practice/PracticeModeController.d.ts +0 -3
  313. package/dist/react-ui/components/practice/PracticeModeController.d.ts.map +0 -1
  314. package/dist/react-ui/components/practice/PracticeSetup.d.ts +0 -12
  315. package/dist/react-ui/components/practice/PracticeSetup.d.ts.map +0 -1
  316. package/dist/react-ui/components/practice/QuizReview.d.ts +0 -12
  317. package/dist/react-ui/components/practice/QuizReview.d.ts.map +0 -1
  318. package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts +0 -14
  319. package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts.map +0 -1
  320. package/dist/react-ui/components/ui/CodingQuestionUI.d.ts +0 -11
  321. package/dist/react-ui/components/ui/CodingQuestionUI.d.ts.map +0 -1
  322. package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts +0 -11
  323. package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts.map +0 -1
  324. package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts +0 -11
  325. package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts.map +0 -1
  326. package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts +0 -11
  327. package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts.map +0 -1
  328. package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts +0 -11
  329. package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts.map +0 -1
  330. package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts +0 -11
  331. package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts.map +0 -1
  332. package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts +0 -11
  333. package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts.map +0 -1
  334. package/dist/react-ui/components/ui/NumericQuestionUI.d.ts +0 -11
  335. package/dist/react-ui/components/ui/NumericQuestionUI.d.ts.map +0 -1
  336. package/dist/react-ui/components/ui/QuestionRenderer.d.ts +0 -14
  337. package/dist/react-ui/components/ui/QuestionRenderer.d.ts.map +0 -1
  338. package/dist/react-ui/components/ui/QuizDataManagement.d.ts +0 -9
  339. package/dist/react-ui/components/ui/QuizDataManagement.d.ts.map +0 -1
  340. package/dist/react-ui/components/ui/QuizPlayer.d.ts +0 -10
  341. package/dist/react-ui/components/ui/QuizPlayer.d.ts.map +0 -1
  342. package/dist/react-ui/components/ui/QuizResult.d.ts +0 -13
  343. package/dist/react-ui/components/ui/QuizResult.d.ts.map +0 -1
  344. package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts +0 -13
  345. package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts.map +0 -1
  346. package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts +0 -11
  347. package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts.map +0 -1
  348. package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts +0 -11
  349. package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts.map +0 -1
  350. package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts +0 -11
  351. package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts.map +0 -1
  352. package/dist/react-ui/context/LanguageContext.d.ts +0 -21
  353. package/dist/react-ui/context/LanguageContext.d.ts.map +0 -1
  354. package/dist/react-ui/hooks/use-mobile.d.ts +0 -9
  355. package/dist/react-ui/hooks/use-mobile.d.ts.map +0 -1
  356. package/dist/react-ui/hooks/use-toast.d.ts +0 -45
  357. package/dist/react-ui/hooks/use-toast.d.ts.map +0 -1
  358. package/dist/react-ui/index.d.ts +0 -39
  359. package/dist/react-ui/index.d.ts.map +0 -1
  360. package/dist/react-ui.d.ts.map +0 -1
  361. package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts +0 -61
  362. package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts.map +0 -1
  363. package/dist/schemas/zod/codingQuestionSchema.d.ts +0 -111
  364. package/dist/schemas/zod/codingQuestionSchema.d.ts.map +0 -1
  365. package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts +0 -109
  366. package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts.map +0 -1
  367. package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts +0 -103
  368. package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts.map +0 -1
  369. package/dist/schemas/zod/hotspotQuestionSchema.d.ts +0 -111
  370. package/dist/schemas/zod/hotspotQuestionSchema.d.ts.map +0 -1
  371. package/dist/schemas/zod/matchingQuestionSchema.d.ts +0 -106
  372. package/dist/schemas/zod/matchingQuestionSchema.d.ts.map +0 -1
  373. package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts +0 -70
  374. package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts.map +0 -1
  375. package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts +0 -70
  376. package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts.map +0 -1
  377. package/dist/schemas/zod/numericQuestionSchema.d.ts +0 -55
  378. package/dist/schemas/zod/numericQuestionSchema.d.ts.map +0 -1
  379. package/dist/schemas/zod/quizConfigSchema.d.ts +0 -634
  380. package/dist/schemas/zod/quizConfigSchema.d.ts.map +0 -1
  381. package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts +0 -61
  382. package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts.map +0 -1
  383. package/dist/schemas/zod/sequenceQuestionSchema.d.ts +0 -70
  384. package/dist/schemas/zod/sequenceQuestionSchema.d.ts.map +0 -1
  385. package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts +0 -55
  386. package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts.map +0 -1
  387. package/dist/schemas/zod/trueFalseQuestionSchema.d.ts +0 -52
  388. package/dist/schemas/zod/trueFalseQuestionSchema.d.ts.map +0 -1
  389. package/dist/services/APIKeyService.d.ts +0 -28
  390. package/dist/services/APIKeyService.d.ts.map +0 -1
  391. package/dist/services/AchievementService.d.ts +0 -10
  392. package/dist/services/AchievementService.d.ts.map +0 -1
  393. package/dist/services/AnalysisReportService.d.ts +0 -11
  394. package/dist/services/AnalysisReportService.d.ts.map +0 -1
  395. package/dist/services/CardGenerationProcessor.d.ts +0 -7
  396. package/dist/services/CardGenerationProcessor.d.ts.map +0 -1
  397. package/dist/services/CodeEvaluationService.d.ts +0 -15
  398. package/dist/services/CodeEvaluationService.d.ts.map +0 -1
  399. package/dist/services/DashboardLayoutService.d.ts +0 -28
  400. package/dist/services/DashboardLayoutService.d.ts.map +0 -1
  401. package/dist/services/FreestyleQuizService.d.ts +0 -51
  402. package/dist/services/FreestyleQuizService.d.ts.map +0 -1
  403. package/dist/services/HTMLLauncherGenerator.d.ts +0 -3
  404. package/dist/services/HTMLLauncherGenerator.d.ts.map +0 -1
  405. package/dist/services/ImageContextService.d.ts +0 -55
  406. package/dist/services/ImageContextService.d.ts.map +0 -1
  407. package/dist/services/KnowledgeCardService.d.ts +0 -57
  408. package/dist/services/KnowledgeCardService.d.ts.map +0 -1
  409. package/dist/services/MotivationalQuotes.d.ts +0 -16
  410. package/dist/services/MotivationalQuotes.d.ts.map +0 -1
  411. package/dist/services/PracticeHistoryService.d.ts +0 -15
  412. package/dist/services/PracticeHistoryService.d.ts.map +0 -1
  413. package/dist/services/QuestionImportService.d.ts +0 -19
  414. package/dist/services/QuestionImportService.d.ts.map +0 -1
  415. package/dist/services/QuizEditorService.d.ts +0 -16
  416. package/dist/services/QuizEditorService.d.ts.map +0 -1
  417. package/dist/services/QuizEngine.d.ts +0 -40
  418. package/dist/services/QuizEngine.d.ts.map +0 -1
  419. package/dist/services/RoadmapService.d.ts +0 -9
  420. package/dist/services/RoadmapService.d.ts.map +0 -1
  421. package/dist/services/SCORMManifestGenerator.d.ts +0 -4
  422. package/dist/services/SCORMManifestGenerator.d.ts.map +0 -1
  423. package/dist/services/SCORMService.d.ts +0 -41
  424. package/dist/services/SCORMService.d.ts.map +0 -1
  425. package/dist/services/TopicDataService.d.ts +0 -62
  426. package/dist/services/TopicDataService.d.ts.map +0 -1
  427. package/dist/services/UserConfigService.d.ts +0 -27
  428. package/dist/services/UserConfigService.d.ts.map +0 -1
  429. package/dist/services/evaluators/base-evaluator.d.ts +0 -11
  430. package/dist/services/evaluators/base-evaluator.d.ts.map +0 -1
  431. package/dist/services/evaluators/coding-evaluator.d.ts +0 -6
  432. package/dist/services/evaluators/coding-evaluator.d.ts.map +0 -1
  433. package/dist/services/evaluators/drag-and-drop-evaluator.d.ts +0 -6
  434. package/dist/services/evaluators/drag-and-drop-evaluator.d.ts.map +0 -1
  435. package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts +0 -6
  436. package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts.map +0 -1
  437. package/dist/services/evaluators/hotspot-evaluator.d.ts +0 -6
  438. package/dist/services/evaluators/hotspot-evaluator.d.ts.map +0 -1
  439. package/dist/services/evaluators/matching-evaluator.d.ts +0 -6
  440. package/dist/services/evaluators/matching-evaluator.d.ts.map +0 -1
  441. package/dist/services/evaluators/multiple-choice-evaluator.d.ts +0 -6
  442. package/dist/services/evaluators/multiple-choice-evaluator.d.ts.map +0 -1
  443. package/dist/services/evaluators/multiple-response-evaluator.d.ts +0 -6
  444. package/dist/services/evaluators/multiple-response-evaluator.d.ts.map +0 -1
  445. package/dist/services/evaluators/numeric-evaluator.d.ts +0 -6
  446. package/dist/services/evaluators/numeric-evaluator.d.ts.map +0 -1
  447. package/dist/services/evaluators/programming-evaluator.d.ts +0 -6
  448. package/dist/services/evaluators/programming-evaluator.d.ts.map +0 -1
  449. package/dist/services/evaluators/sequence-evaluator.d.ts +0 -6
  450. package/dist/services/evaluators/sequence-evaluator.d.ts.map +0 -1
  451. package/dist/services/evaluators/short-answer-evaluator.d.ts +0 -6
  452. package/dist/services/evaluators/short-answer-evaluator.d.ts.map +0 -1
  453. package/dist/services/evaluators/true-false-evaluator.d.ts +0 -6
  454. package/dist/services/evaluators/true-false-evaluator.d.ts.map +0 -1
  455. package/dist/services/metadataService.d.ts +0 -40
  456. package/dist/services/metadataService.d.ts.map +0 -1
  457. package/dist/services/questionBankService.d.ts +0 -19
  458. package/dist/services/questionBankService.d.ts.map +0 -1
  459. package/dist/services/sampleQuiz.d.ts +0 -4
  460. package/dist/services/sampleQuiz.d.ts.map +0 -1
  461. package/dist/services/scormPackaging.d.ts +0 -11
  462. package/dist/services/scormPackaging.d.ts.map +0 -1
  463. package/dist/types/ai-ecosystem.d.ts +0 -57
  464. package/dist/types/ai-ecosystem.d.ts.map +0 -1
  465. package/dist/types/common.d.ts +0 -3
  466. package/dist/types/common.d.ts.map +0 -1
  467. package/dist/types/learning-objectives.d.ts +0 -12
  468. package/dist/types/learning-objectives.d.ts.map +0 -1
  469. package/dist/types/metadata.d.ts +0 -45
  470. package/dist/types/metadata.d.ts.map +0 -1
  471. package/dist/types/misc.d.ts +0 -102
  472. package/dist/types/misc.d.ts.map +0 -1
  473. package/dist/types/question-bank.d.ts +0 -28
  474. package/dist/types/question-bank.d.ts.map +0 -1
  475. package/dist/types/questions.d.ts +0 -151
  476. package/dist/types/questions.d.ts.map +0 -1
  477. package/dist/types/quiz-config.d.ts +0 -12
  478. package/dist/types/quiz-config.d.ts.map +0 -1
  479. package/dist/types/quiz-engine.d.ts +0 -23
  480. package/dist/types/quiz-engine.d.ts.map +0 -1
  481. package/dist/types/quiz-settings.d.ts +0 -35
  482. package/dist/types/quiz-settings.d.ts.map +0 -1
  483. package/dist/types/results.d.ts +0 -72
  484. package/dist/types/results.d.ts.map +0 -1
  485. package/dist/types.d.ts +0 -12
  486. package/dist/types.d.ts.map +0 -1
  487. package/dist/utils/aiUtils.d.ts +0 -11
  488. package/dist/utils/aiUtils.d.ts.map +0 -1
  489. package/dist/utils/asyncUtils.d.ts +0 -22
  490. package/dist/utils/asyncUtils.d.ts.map +0 -1
  491. package/dist/utils/debug-logger.d.ts +0 -24
  492. package/dist/utils/debug-logger.d.ts.map +0 -1
  493. package/dist/utils/formattedDate.d.ts +0 -2
  494. package/dist/utils/formattedDate.d.ts.map +0 -1
  495. package/dist/utils/idGenerators.d.ts +0 -7
  496. package/dist/utils/idGenerators.d.ts.map +0 -1
  497. package/dist/utils/jsonUtils.d.ts +0 -18
  498. package/dist/utils/jsonUtils.d.ts.map +0 -1
  499. package/dist/utils/use-mobile.d.ts +0 -2
  500. package/dist/utils/use-mobile.d.ts.map +0 -1
  501. package/dist/utils/utils.d.ts +0 -3
  502. package/dist/utils/utils.d.ts.map +0 -1
package/dist/ai.d.cts ADDED
@@ -0,0 +1,2017 @@
1
+ import { T as TrueFalseQuestion, a as MultipleChoiceQuestion, b as MultipleResponseQuestion, S as ShortAnswerQuestion, N as NumericQuestion, F as FillInTheBlanksQuestion, c as SequenceQuestion, d as MatchingQuestion, C as CodingQuestion, Q as QuestionTypeStrings } from './quiz-config-Df_89hFx.cjs';
2
+ export { g as QuizQuestion } from './quiz-config-Df_89hFx.cjs';
3
+ import { t as ImageContextItem, T as TestCaseResult, h as QuizReviewContent, m as PracticeSuggestion, L as LearningAnalysis, K as KnowledgeCard } from './ai-ecosystem-DCPvHU4-.cjs';
4
+ export { u as AnalysisReport, l as PracticeSuggestionTopic, g as QuestionReview, R as RoadmapItem, W as WeeklyRoadmap } from './ai-ecosystem-DCPvHU4-.cjs';
5
+ import { z } from 'zod';
6
+
7
+ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
8
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
10
+ quizContext: z.ZodOptional<z.ZodObject<{
11
+ plannedTopic: z.ZodOptional<z.ZodString>;
12
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
13
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
14
+ plannedContextId: z.ZodOptional<z.ZodString>;
15
+ targetMisconception: z.ZodOptional<z.ZodString>;
16
+ difficultyReason: z.ZodOptional<z.ZodString>;
17
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
18
+ originalLoId: z.ZodOptional<z.ZodString>;
19
+ originalSubject: z.ZodOptional<z.ZodString>;
20
+ originalCategory: z.ZodOptional<z.ZodString>;
21
+ originalTopic: z.ZodOptional<z.ZodString>;
22
+ loDescription: z.ZodOptional<z.ZodString>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ plannedTopic?: string | undefined;
25
+ plannedQuestionType?: string | undefined;
26
+ plannedBloomLevel?: string | undefined;
27
+ plannedContextId?: string | undefined;
28
+ targetMisconception?: string | undefined;
29
+ difficultyReason?: string | undefined;
30
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
31
+ originalLoId?: string | undefined;
32
+ originalSubject?: string | undefined;
33
+ originalCategory?: string | undefined;
34
+ originalTopic?: string | undefined;
35
+ loDescription?: string | undefined;
36
+ }, {
37
+ plannedTopic?: string | undefined;
38
+ plannedQuestionType?: string | undefined;
39
+ plannedBloomLevel?: string | undefined;
40
+ plannedContextId?: string | undefined;
41
+ targetMisconception?: string | undefined;
42
+ difficultyReason?: string | undefined;
43
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
44
+ originalLoId?: string | undefined;
45
+ originalSubject?: string | undefined;
46
+ originalCategory?: string | undefined;
47
+ originalTopic?: string | undefined;
48
+ loDescription?: string | undefined;
49
+ }>>;
50
+ imageUrl: z.ZodOptional<z.ZodString>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ language: string;
53
+ difficulty: "easy" | "medium" | "hard";
54
+ imageUrl?: string | undefined;
55
+ quizContext?: {
56
+ plannedTopic?: string | undefined;
57
+ plannedQuestionType?: string | undefined;
58
+ plannedBloomLevel?: string | undefined;
59
+ plannedContextId?: string | undefined;
60
+ targetMisconception?: string | undefined;
61
+ difficultyReason?: string | undefined;
62
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
63
+ originalLoId?: string | undefined;
64
+ originalSubject?: string | undefined;
65
+ originalCategory?: string | undefined;
66
+ originalTopic?: string | undefined;
67
+ loDescription?: string | undefined;
68
+ } | undefined;
69
+ }, {
70
+ difficulty: "easy" | "medium" | "hard";
71
+ language?: string | undefined;
72
+ imageUrl?: string | undefined;
73
+ quizContext?: {
74
+ plannedTopic?: string | undefined;
75
+ plannedQuestionType?: string | undefined;
76
+ plannedBloomLevel?: string | undefined;
77
+ plannedContextId?: string | undefined;
78
+ targetMisconception?: string | undefined;
79
+ difficultyReason?: string | undefined;
80
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
81
+ originalLoId?: string | undefined;
82
+ originalSubject?: string | undefined;
83
+ originalCategory?: string | undefined;
84
+ originalTopic?: string | undefined;
85
+ loDescription?: string | undefined;
86
+ } | undefined;
87
+ }>;
88
+ type GenerateTrueFalseQuestionClientInput = z.infer<typeof GenerateTrueFalseQuestionClientInputSchema>;
89
+ type GenerateTrueFalseQuestionOutput = {
90
+ question?: TrueFalseQuestion;
91
+ error?: string;
92
+ };
93
+
94
+ declare function generateTrueFalseQuestion(clientInput: GenerateTrueFalseQuestionClientInput, apiKey: string): Promise<GenerateTrueFalseQuestionOutput>;
95
+
96
+ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
97
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
98
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
99
+ quizContext: z.ZodOptional<z.ZodObject<{
100
+ plannedTopic: z.ZodOptional<z.ZodString>;
101
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
102
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
103
+ plannedContextId: z.ZodOptional<z.ZodString>;
104
+ targetMisconception: z.ZodOptional<z.ZodString>;
105
+ difficultyReason: z.ZodOptional<z.ZodString>;
106
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
107
+ originalLoId: z.ZodOptional<z.ZodString>;
108
+ originalSubject: z.ZodOptional<z.ZodString>;
109
+ originalCategory: z.ZodOptional<z.ZodString>;
110
+ originalTopic: z.ZodOptional<z.ZodString>;
111
+ loDescription: z.ZodOptional<z.ZodString>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ plannedTopic?: string | undefined;
114
+ plannedQuestionType?: string | undefined;
115
+ plannedBloomLevel?: string | undefined;
116
+ plannedContextId?: string | undefined;
117
+ targetMisconception?: string | undefined;
118
+ difficultyReason?: string | undefined;
119
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
120
+ originalLoId?: string | undefined;
121
+ originalSubject?: string | undefined;
122
+ originalCategory?: string | undefined;
123
+ originalTopic?: string | undefined;
124
+ loDescription?: string | undefined;
125
+ }, {
126
+ plannedTopic?: string | undefined;
127
+ plannedQuestionType?: string | undefined;
128
+ plannedBloomLevel?: string | undefined;
129
+ plannedContextId?: string | undefined;
130
+ targetMisconception?: string | undefined;
131
+ difficultyReason?: string | undefined;
132
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
133
+ originalLoId?: string | undefined;
134
+ originalSubject?: string | undefined;
135
+ originalCategory?: string | undefined;
136
+ originalTopic?: string | undefined;
137
+ loDescription?: string | undefined;
138
+ }>>;
139
+ imageUrl: z.ZodOptional<z.ZodString>;
140
+ } & {
141
+ numberOfOptions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ language: string;
144
+ difficulty: "easy" | "medium" | "hard";
145
+ numberOfOptions: number;
146
+ imageUrl?: string | undefined;
147
+ quizContext?: {
148
+ plannedTopic?: string | undefined;
149
+ plannedQuestionType?: string | undefined;
150
+ plannedBloomLevel?: string | undefined;
151
+ plannedContextId?: string | undefined;
152
+ targetMisconception?: string | undefined;
153
+ difficultyReason?: string | undefined;
154
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
155
+ originalLoId?: string | undefined;
156
+ originalSubject?: string | undefined;
157
+ originalCategory?: string | undefined;
158
+ originalTopic?: string | undefined;
159
+ loDescription?: string | undefined;
160
+ } | undefined;
161
+ }, {
162
+ difficulty: "easy" | "medium" | "hard";
163
+ language?: string | undefined;
164
+ imageUrl?: string | undefined;
165
+ quizContext?: {
166
+ plannedTopic?: string | undefined;
167
+ plannedQuestionType?: string | undefined;
168
+ plannedBloomLevel?: string | undefined;
169
+ plannedContextId?: string | undefined;
170
+ targetMisconception?: string | undefined;
171
+ difficultyReason?: string | undefined;
172
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
173
+ originalLoId?: string | undefined;
174
+ originalSubject?: string | undefined;
175
+ originalCategory?: string | undefined;
176
+ originalTopic?: string | undefined;
177
+ loDescription?: string | undefined;
178
+ } | undefined;
179
+ numberOfOptions?: number | undefined;
180
+ }>;
181
+ type GenerateMCQQuestionClientInput = z.infer<typeof GenerateMCQQuestionClientInputSchema>;
182
+ type GenerateMCQQuestionOutput = {
183
+ question?: MultipleChoiceQuestion;
184
+ error?: string;
185
+ };
186
+
187
+ declare function generateMCQQuestion(clientInput: GenerateMCQQuestionClientInput, apiKey: string): Promise<GenerateMCQQuestionOutput>;
188
+
189
+ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
190
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
191
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
192
+ quizContext: z.ZodOptional<z.ZodObject<{
193
+ plannedTopic: z.ZodOptional<z.ZodString>;
194
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
195
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
196
+ plannedContextId: z.ZodOptional<z.ZodString>;
197
+ targetMisconception: z.ZodOptional<z.ZodString>;
198
+ difficultyReason: z.ZodOptional<z.ZodString>;
199
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
200
+ originalLoId: z.ZodOptional<z.ZodString>;
201
+ originalSubject: z.ZodOptional<z.ZodString>;
202
+ originalCategory: z.ZodOptional<z.ZodString>;
203
+ originalTopic: z.ZodOptional<z.ZodString>;
204
+ loDescription: z.ZodOptional<z.ZodString>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ plannedTopic?: string | undefined;
207
+ plannedQuestionType?: string | undefined;
208
+ plannedBloomLevel?: string | undefined;
209
+ plannedContextId?: string | undefined;
210
+ targetMisconception?: string | undefined;
211
+ difficultyReason?: string | undefined;
212
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
213
+ originalLoId?: string | undefined;
214
+ originalSubject?: string | undefined;
215
+ originalCategory?: string | undefined;
216
+ originalTopic?: string | undefined;
217
+ loDescription?: string | undefined;
218
+ }, {
219
+ plannedTopic?: string | undefined;
220
+ plannedQuestionType?: string | undefined;
221
+ plannedBloomLevel?: string | undefined;
222
+ plannedContextId?: string | undefined;
223
+ targetMisconception?: string | undefined;
224
+ difficultyReason?: string | undefined;
225
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
226
+ originalLoId?: string | undefined;
227
+ originalSubject?: string | undefined;
228
+ originalCategory?: string | undefined;
229
+ originalTopic?: string | undefined;
230
+ loDescription?: string | undefined;
231
+ }>>;
232
+ imageUrl: z.ZodOptional<z.ZodString>;
233
+ } & {
234
+ numberOfOptions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
235
+ minCorrectAnswers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
236
+ maxCorrectAnswers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ language: string;
239
+ difficulty: "easy" | "medium" | "hard";
240
+ numberOfOptions: number;
241
+ minCorrectAnswers: number;
242
+ maxCorrectAnswers: number;
243
+ imageUrl?: string | undefined;
244
+ quizContext?: {
245
+ plannedTopic?: string | undefined;
246
+ plannedQuestionType?: string | undefined;
247
+ plannedBloomLevel?: string | undefined;
248
+ plannedContextId?: string | undefined;
249
+ targetMisconception?: string | undefined;
250
+ difficultyReason?: string | undefined;
251
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
252
+ originalLoId?: string | undefined;
253
+ originalSubject?: string | undefined;
254
+ originalCategory?: string | undefined;
255
+ originalTopic?: string | undefined;
256
+ loDescription?: string | undefined;
257
+ } | undefined;
258
+ }, {
259
+ difficulty: "easy" | "medium" | "hard";
260
+ language?: string | undefined;
261
+ imageUrl?: string | undefined;
262
+ quizContext?: {
263
+ plannedTopic?: string | undefined;
264
+ plannedQuestionType?: string | undefined;
265
+ plannedBloomLevel?: string | undefined;
266
+ plannedContextId?: string | undefined;
267
+ targetMisconception?: string | undefined;
268
+ difficultyReason?: string | undefined;
269
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
270
+ originalLoId?: string | undefined;
271
+ originalSubject?: string | undefined;
272
+ originalCategory?: string | undefined;
273
+ originalTopic?: string | undefined;
274
+ loDescription?: string | undefined;
275
+ } | undefined;
276
+ numberOfOptions?: number | undefined;
277
+ minCorrectAnswers?: number | undefined;
278
+ maxCorrectAnswers?: number | undefined;
279
+ }>;
280
+ type GenerateMRQQuestionClientInput = z.infer<typeof GenerateMRQQuestionClientInputSchema>;
281
+ type GenerateMRQQuestionOutput = {
282
+ question?: MultipleResponseQuestion;
283
+ error?: string;
284
+ };
285
+
286
+ declare function generateMRQQuestion(clientInput: GenerateMRQQuestionClientInput, apiKey: string): Promise<GenerateMRQQuestionOutput>;
287
+
288
+ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
289
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
290
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
291
+ quizContext: z.ZodOptional<z.ZodObject<{
292
+ plannedTopic: z.ZodOptional<z.ZodString>;
293
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
294
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
295
+ plannedContextId: z.ZodOptional<z.ZodString>;
296
+ targetMisconception: z.ZodOptional<z.ZodString>;
297
+ difficultyReason: z.ZodOptional<z.ZodString>;
298
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
299
+ originalLoId: z.ZodOptional<z.ZodString>;
300
+ originalSubject: z.ZodOptional<z.ZodString>;
301
+ originalCategory: z.ZodOptional<z.ZodString>;
302
+ originalTopic: z.ZodOptional<z.ZodString>;
303
+ loDescription: z.ZodOptional<z.ZodString>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ plannedTopic?: string | undefined;
306
+ plannedQuestionType?: string | undefined;
307
+ plannedBloomLevel?: string | undefined;
308
+ plannedContextId?: string | undefined;
309
+ targetMisconception?: string | undefined;
310
+ difficultyReason?: string | undefined;
311
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
312
+ originalLoId?: string | undefined;
313
+ originalSubject?: string | undefined;
314
+ originalCategory?: string | undefined;
315
+ originalTopic?: string | undefined;
316
+ loDescription?: string | undefined;
317
+ }, {
318
+ plannedTopic?: string | undefined;
319
+ plannedQuestionType?: string | undefined;
320
+ plannedBloomLevel?: string | undefined;
321
+ plannedContextId?: string | undefined;
322
+ targetMisconception?: string | undefined;
323
+ difficultyReason?: string | undefined;
324
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
325
+ originalLoId?: string | undefined;
326
+ originalSubject?: string | undefined;
327
+ originalCategory?: string | undefined;
328
+ originalTopic?: string | undefined;
329
+ loDescription?: string | undefined;
330
+ }>>;
331
+ imageUrl: z.ZodOptional<z.ZodString>;
332
+ } & {
333
+ isCaseSensitive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
334
+ }, "strip", z.ZodTypeAny, {
335
+ language: string;
336
+ difficulty: "easy" | "medium" | "hard";
337
+ isCaseSensitive: boolean;
338
+ imageUrl?: string | undefined;
339
+ quizContext?: {
340
+ plannedTopic?: string | undefined;
341
+ plannedQuestionType?: string | undefined;
342
+ plannedBloomLevel?: string | undefined;
343
+ plannedContextId?: string | undefined;
344
+ targetMisconception?: string | undefined;
345
+ difficultyReason?: string | undefined;
346
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
347
+ originalLoId?: string | undefined;
348
+ originalSubject?: string | undefined;
349
+ originalCategory?: string | undefined;
350
+ originalTopic?: string | undefined;
351
+ loDescription?: string | undefined;
352
+ } | undefined;
353
+ }, {
354
+ difficulty: "easy" | "medium" | "hard";
355
+ language?: string | undefined;
356
+ isCaseSensitive?: boolean | undefined;
357
+ imageUrl?: string | undefined;
358
+ quizContext?: {
359
+ plannedTopic?: string | undefined;
360
+ plannedQuestionType?: string | undefined;
361
+ plannedBloomLevel?: string | undefined;
362
+ plannedContextId?: string | undefined;
363
+ targetMisconception?: string | undefined;
364
+ difficultyReason?: string | undefined;
365
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
366
+ originalLoId?: string | undefined;
367
+ originalSubject?: string | undefined;
368
+ originalCategory?: string | undefined;
369
+ originalTopic?: string | undefined;
370
+ loDescription?: string | undefined;
371
+ } | undefined;
372
+ }>;
373
+ type GenerateShortAnswerQuestionClientInput = z.infer<typeof GenerateShortAnswerQuestionClientInputSchema>;
374
+ type GenerateShortAnswerQuestionOutput = {
375
+ question?: ShortAnswerQuestion;
376
+ error?: string;
377
+ };
378
+
379
+ declare function generateShortAnswerQuestion(clientInput: GenerateShortAnswerQuestionClientInput, apiKey: string): Promise<GenerateShortAnswerQuestionOutput>;
380
+
381
+ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
382
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
383
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
384
+ quizContext: z.ZodOptional<z.ZodObject<{
385
+ plannedTopic: z.ZodOptional<z.ZodString>;
386
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
387
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
388
+ plannedContextId: z.ZodOptional<z.ZodString>;
389
+ targetMisconception: z.ZodOptional<z.ZodString>;
390
+ difficultyReason: z.ZodOptional<z.ZodString>;
391
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
392
+ originalLoId: z.ZodOptional<z.ZodString>;
393
+ originalSubject: z.ZodOptional<z.ZodString>;
394
+ originalCategory: z.ZodOptional<z.ZodString>;
395
+ originalTopic: z.ZodOptional<z.ZodString>;
396
+ loDescription: z.ZodOptional<z.ZodString>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ plannedTopic?: string | undefined;
399
+ plannedQuestionType?: string | undefined;
400
+ plannedBloomLevel?: string | undefined;
401
+ plannedContextId?: string | undefined;
402
+ targetMisconception?: string | undefined;
403
+ difficultyReason?: string | undefined;
404
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
405
+ originalLoId?: string | undefined;
406
+ originalSubject?: string | undefined;
407
+ originalCategory?: string | undefined;
408
+ originalTopic?: string | undefined;
409
+ loDescription?: string | undefined;
410
+ }, {
411
+ plannedTopic?: string | undefined;
412
+ plannedQuestionType?: string | undefined;
413
+ plannedBloomLevel?: string | undefined;
414
+ plannedContextId?: string | undefined;
415
+ targetMisconception?: string | undefined;
416
+ difficultyReason?: string | undefined;
417
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
418
+ originalLoId?: string | undefined;
419
+ originalSubject?: string | undefined;
420
+ originalCategory?: string | undefined;
421
+ originalTopic?: string | undefined;
422
+ loDescription?: string | undefined;
423
+ }>>;
424
+ imageUrl: z.ZodOptional<z.ZodString>;
425
+ } & {
426
+ allowDecimals: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
427
+ minRange: z.ZodOptional<z.ZodNumber>;
428
+ maxRange: z.ZodOptional<z.ZodNumber>;
429
+ tolerance: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
430
+ }, "strip", z.ZodTypeAny, {
431
+ language: string;
432
+ difficulty: "easy" | "medium" | "hard";
433
+ tolerance: number;
434
+ allowDecimals: boolean;
435
+ imageUrl?: string | undefined;
436
+ quizContext?: {
437
+ plannedTopic?: string | undefined;
438
+ plannedQuestionType?: string | undefined;
439
+ plannedBloomLevel?: string | undefined;
440
+ plannedContextId?: string | undefined;
441
+ targetMisconception?: string | undefined;
442
+ difficultyReason?: string | undefined;
443
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
444
+ originalLoId?: string | undefined;
445
+ originalSubject?: string | undefined;
446
+ originalCategory?: string | undefined;
447
+ originalTopic?: string | undefined;
448
+ loDescription?: string | undefined;
449
+ } | undefined;
450
+ minRange?: number | undefined;
451
+ maxRange?: number | undefined;
452
+ }, {
453
+ difficulty: "easy" | "medium" | "hard";
454
+ language?: string | undefined;
455
+ tolerance?: number | undefined;
456
+ imageUrl?: string | undefined;
457
+ quizContext?: {
458
+ plannedTopic?: string | undefined;
459
+ plannedQuestionType?: string | undefined;
460
+ plannedBloomLevel?: string | undefined;
461
+ plannedContextId?: string | undefined;
462
+ targetMisconception?: string | undefined;
463
+ difficultyReason?: string | undefined;
464
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
465
+ originalLoId?: string | undefined;
466
+ originalSubject?: string | undefined;
467
+ originalCategory?: string | undefined;
468
+ originalTopic?: string | undefined;
469
+ loDescription?: string | undefined;
470
+ } | undefined;
471
+ allowDecimals?: boolean | undefined;
472
+ minRange?: number | undefined;
473
+ maxRange?: number | undefined;
474
+ }>;
475
+ type GenerateNumericQuestionClientInput = z.infer<typeof GenerateNumericQuestionClientInputSchema>;
476
+ type GenerateNumericQuestionOutput = {
477
+ question?: NumericQuestion;
478
+ error?: string;
479
+ };
480
+
481
+ declare function generateNumericQuestion(clientInput: GenerateNumericQuestionClientInput, apiKey: string): Promise<GenerateNumericQuestionOutput>;
482
+
483
+ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
484
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
485
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
486
+ quizContext: z.ZodOptional<z.ZodObject<{
487
+ plannedTopic: z.ZodOptional<z.ZodString>;
488
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
489
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
490
+ plannedContextId: z.ZodOptional<z.ZodString>;
491
+ targetMisconception: z.ZodOptional<z.ZodString>;
492
+ difficultyReason: z.ZodOptional<z.ZodString>;
493
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
494
+ originalLoId: z.ZodOptional<z.ZodString>;
495
+ originalSubject: z.ZodOptional<z.ZodString>;
496
+ originalCategory: z.ZodOptional<z.ZodString>;
497
+ originalTopic: z.ZodOptional<z.ZodString>;
498
+ loDescription: z.ZodOptional<z.ZodString>;
499
+ }, "strip", z.ZodTypeAny, {
500
+ plannedTopic?: string | undefined;
501
+ plannedQuestionType?: string | undefined;
502
+ plannedBloomLevel?: string | undefined;
503
+ plannedContextId?: string | undefined;
504
+ targetMisconception?: string | undefined;
505
+ difficultyReason?: string | undefined;
506
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
507
+ originalLoId?: string | undefined;
508
+ originalSubject?: string | undefined;
509
+ originalCategory?: string | undefined;
510
+ originalTopic?: string | undefined;
511
+ loDescription?: string | undefined;
512
+ }, {
513
+ plannedTopic?: string | undefined;
514
+ plannedQuestionType?: string | undefined;
515
+ plannedBloomLevel?: string | undefined;
516
+ plannedContextId?: string | undefined;
517
+ targetMisconception?: string | undefined;
518
+ difficultyReason?: string | undefined;
519
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
520
+ originalLoId?: string | undefined;
521
+ originalSubject?: string | undefined;
522
+ originalCategory?: string | undefined;
523
+ originalTopic?: string | undefined;
524
+ loDescription?: string | undefined;
525
+ }>>;
526
+ imageUrl: z.ZodOptional<z.ZodString>;
527
+ } & {
528
+ numberOfBlanks: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
529
+ isCaseSensitive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
530
+ }, "strip", z.ZodTypeAny, {
531
+ language: string;
532
+ difficulty: "easy" | "medium" | "hard";
533
+ isCaseSensitive: boolean;
534
+ numberOfBlanks: number;
535
+ imageUrl?: string | undefined;
536
+ quizContext?: {
537
+ plannedTopic?: string | undefined;
538
+ plannedQuestionType?: string | undefined;
539
+ plannedBloomLevel?: string | undefined;
540
+ plannedContextId?: string | undefined;
541
+ targetMisconception?: string | undefined;
542
+ difficultyReason?: string | undefined;
543
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
544
+ originalLoId?: string | undefined;
545
+ originalSubject?: string | undefined;
546
+ originalCategory?: string | undefined;
547
+ originalTopic?: string | undefined;
548
+ loDescription?: string | undefined;
549
+ } | undefined;
550
+ }, {
551
+ difficulty: "easy" | "medium" | "hard";
552
+ language?: string | undefined;
553
+ isCaseSensitive?: boolean | undefined;
554
+ imageUrl?: string | undefined;
555
+ quizContext?: {
556
+ plannedTopic?: string | undefined;
557
+ plannedQuestionType?: string | undefined;
558
+ plannedBloomLevel?: string | undefined;
559
+ plannedContextId?: string | undefined;
560
+ targetMisconception?: string | undefined;
561
+ difficultyReason?: string | undefined;
562
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
563
+ originalLoId?: string | undefined;
564
+ originalSubject?: string | undefined;
565
+ originalCategory?: string | undefined;
566
+ originalTopic?: string | undefined;
567
+ loDescription?: string | undefined;
568
+ } | undefined;
569
+ numberOfBlanks?: number | undefined;
570
+ }>;
571
+ type GenerateFillInTheBlanksQuestionClientInput = z.infer<typeof GenerateFillInTheBlanksQuestionClientInputSchema>;
572
+ type GenerateFillInTheBlanksQuestionOutput = {
573
+ question?: FillInTheBlanksQuestion;
574
+ error?: string;
575
+ };
576
+
577
+ declare function generateFillInTheBlanksQuestion(clientInput: GenerateFillInTheBlanksQuestionClientInput, apiKey: string): Promise<GenerateFillInTheBlanksQuestionOutput>;
578
+
579
+ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
580
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
581
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
582
+ quizContext: z.ZodOptional<z.ZodObject<{
583
+ plannedTopic: z.ZodOptional<z.ZodString>;
584
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
585
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
586
+ plannedContextId: z.ZodOptional<z.ZodString>;
587
+ targetMisconception: z.ZodOptional<z.ZodString>;
588
+ difficultyReason: z.ZodOptional<z.ZodString>;
589
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
590
+ originalLoId: z.ZodOptional<z.ZodString>;
591
+ originalSubject: z.ZodOptional<z.ZodString>;
592
+ originalCategory: z.ZodOptional<z.ZodString>;
593
+ originalTopic: z.ZodOptional<z.ZodString>;
594
+ loDescription: z.ZodOptional<z.ZodString>;
595
+ }, "strip", z.ZodTypeAny, {
596
+ plannedTopic?: string | undefined;
597
+ plannedQuestionType?: string | undefined;
598
+ plannedBloomLevel?: string | undefined;
599
+ plannedContextId?: string | undefined;
600
+ targetMisconception?: string | undefined;
601
+ difficultyReason?: string | undefined;
602
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
603
+ originalLoId?: string | undefined;
604
+ originalSubject?: string | undefined;
605
+ originalCategory?: string | undefined;
606
+ originalTopic?: string | undefined;
607
+ loDescription?: string | undefined;
608
+ }, {
609
+ plannedTopic?: string | undefined;
610
+ plannedQuestionType?: string | undefined;
611
+ plannedBloomLevel?: string | undefined;
612
+ plannedContextId?: string | undefined;
613
+ targetMisconception?: string | undefined;
614
+ difficultyReason?: string | undefined;
615
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
616
+ originalLoId?: string | undefined;
617
+ originalSubject?: string | undefined;
618
+ originalCategory?: string | undefined;
619
+ originalTopic?: string | undefined;
620
+ loDescription?: string | undefined;
621
+ }>>;
622
+ imageUrl: z.ZodOptional<z.ZodString>;
623
+ } & {
624
+ numberOfItems: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ language: string;
627
+ difficulty: "easy" | "medium" | "hard";
628
+ numberOfItems: number;
629
+ imageUrl?: string | undefined;
630
+ quizContext?: {
631
+ plannedTopic?: string | undefined;
632
+ plannedQuestionType?: string | undefined;
633
+ plannedBloomLevel?: string | undefined;
634
+ plannedContextId?: string | undefined;
635
+ targetMisconception?: string | undefined;
636
+ difficultyReason?: string | undefined;
637
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
638
+ originalLoId?: string | undefined;
639
+ originalSubject?: string | undefined;
640
+ originalCategory?: string | undefined;
641
+ originalTopic?: string | undefined;
642
+ loDescription?: string | undefined;
643
+ } | undefined;
644
+ }, {
645
+ difficulty: "easy" | "medium" | "hard";
646
+ language?: string | undefined;
647
+ imageUrl?: string | undefined;
648
+ quizContext?: {
649
+ plannedTopic?: string | undefined;
650
+ plannedQuestionType?: string | undefined;
651
+ plannedBloomLevel?: string | undefined;
652
+ plannedContextId?: string | undefined;
653
+ targetMisconception?: string | undefined;
654
+ difficultyReason?: string | undefined;
655
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
656
+ originalLoId?: string | undefined;
657
+ originalSubject?: string | undefined;
658
+ originalCategory?: string | undefined;
659
+ originalTopic?: string | undefined;
660
+ loDescription?: string | undefined;
661
+ } | undefined;
662
+ numberOfItems?: number | undefined;
663
+ }>;
664
+ type GenerateSequenceQuestionClientInput = z.infer<typeof GenerateSequenceQuestionClientInputSchema>;
665
+ type GenerateSequenceQuestionOutput = {
666
+ question?: SequenceQuestion;
667
+ error?: string;
668
+ };
669
+
670
+ declare function generateSequenceQuestion(clientInput: GenerateSequenceQuestionClientInput, apiKey: string): Promise<GenerateSequenceQuestionOutput>;
671
+
672
+ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
673
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
674
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
675
+ quizContext: z.ZodOptional<z.ZodObject<{
676
+ plannedTopic: z.ZodOptional<z.ZodString>;
677
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
678
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
679
+ plannedContextId: z.ZodOptional<z.ZodString>;
680
+ targetMisconception: z.ZodOptional<z.ZodString>;
681
+ difficultyReason: z.ZodOptional<z.ZodString>;
682
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
683
+ originalLoId: z.ZodOptional<z.ZodString>;
684
+ originalSubject: z.ZodOptional<z.ZodString>;
685
+ originalCategory: z.ZodOptional<z.ZodString>;
686
+ originalTopic: z.ZodOptional<z.ZodString>;
687
+ loDescription: z.ZodOptional<z.ZodString>;
688
+ }, "strip", z.ZodTypeAny, {
689
+ plannedTopic?: string | undefined;
690
+ plannedQuestionType?: string | undefined;
691
+ plannedBloomLevel?: string | undefined;
692
+ plannedContextId?: string | undefined;
693
+ targetMisconception?: string | undefined;
694
+ difficultyReason?: string | undefined;
695
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
696
+ originalLoId?: string | undefined;
697
+ originalSubject?: string | undefined;
698
+ originalCategory?: string | undefined;
699
+ originalTopic?: string | undefined;
700
+ loDescription?: string | undefined;
701
+ }, {
702
+ plannedTopic?: string | undefined;
703
+ plannedQuestionType?: string | undefined;
704
+ plannedBloomLevel?: string | undefined;
705
+ plannedContextId?: string | undefined;
706
+ targetMisconception?: string | undefined;
707
+ difficultyReason?: string | undefined;
708
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
709
+ originalLoId?: string | undefined;
710
+ originalSubject?: string | undefined;
711
+ originalCategory?: string | undefined;
712
+ originalTopic?: string | undefined;
713
+ loDescription?: string | undefined;
714
+ }>>;
715
+ imageUrl: z.ZodOptional<z.ZodString>;
716
+ } & {
717
+ numberOfPairs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
718
+ shuffleOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ language: string;
721
+ difficulty: "easy" | "medium" | "hard";
722
+ shuffleOptions: boolean;
723
+ numberOfPairs: number;
724
+ imageUrl?: string | undefined;
725
+ quizContext?: {
726
+ plannedTopic?: string | undefined;
727
+ plannedQuestionType?: string | undefined;
728
+ plannedBloomLevel?: string | undefined;
729
+ plannedContextId?: string | undefined;
730
+ targetMisconception?: string | undefined;
731
+ difficultyReason?: string | undefined;
732
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
733
+ originalLoId?: string | undefined;
734
+ originalSubject?: string | undefined;
735
+ originalCategory?: string | undefined;
736
+ originalTopic?: string | undefined;
737
+ loDescription?: string | undefined;
738
+ } | undefined;
739
+ }, {
740
+ difficulty: "easy" | "medium" | "hard";
741
+ language?: string | undefined;
742
+ shuffleOptions?: boolean | undefined;
743
+ imageUrl?: string | undefined;
744
+ quizContext?: {
745
+ plannedTopic?: string | undefined;
746
+ plannedQuestionType?: string | undefined;
747
+ plannedBloomLevel?: string | undefined;
748
+ plannedContextId?: string | undefined;
749
+ targetMisconception?: string | undefined;
750
+ difficultyReason?: string | undefined;
751
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
752
+ originalLoId?: string | undefined;
753
+ originalSubject?: string | undefined;
754
+ originalCategory?: string | undefined;
755
+ originalTopic?: string | undefined;
756
+ loDescription?: string | undefined;
757
+ } | undefined;
758
+ numberOfPairs?: number | undefined;
759
+ }>;
760
+ type GenerateMatchingQuestionClientInput = z.infer<typeof GenerateMatchingQuestionClientInputSchema>;
761
+ type GenerateMatchingQuestionOutput = {
762
+ question?: MatchingQuestion;
763
+ error?: string;
764
+ };
765
+
766
+ declare function generateMatchingQuestion(clientInput: GenerateMatchingQuestionClientInput, apiKey: string): Promise<GenerateMatchingQuestionOutput>;
767
+
768
+ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
769
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
770
+ difficulty: z.ZodEnum<["easy", "medium", "hard"]>;
771
+ quizContext: z.ZodOptional<z.ZodObject<{
772
+ plannedTopic: z.ZodOptional<z.ZodString>;
773
+ plannedQuestionType: z.ZodOptional<z.ZodString>;
774
+ plannedBloomLevel: z.ZodOptional<z.ZodString>;
775
+ plannedContextId: z.ZodOptional<z.ZodString>;
776
+ targetMisconception: z.ZodOptional<z.ZodString>;
777
+ difficultyReason: z.ZodOptional<z.ZodString>;
778
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
779
+ originalLoId: z.ZodOptional<z.ZodString>;
780
+ originalSubject: z.ZodOptional<z.ZodString>;
781
+ originalCategory: z.ZodOptional<z.ZodString>;
782
+ originalTopic: z.ZodOptional<z.ZodString>;
783
+ loDescription: z.ZodOptional<z.ZodString>;
784
+ }, "strip", z.ZodTypeAny, {
785
+ plannedTopic?: string | undefined;
786
+ plannedQuestionType?: string | undefined;
787
+ plannedBloomLevel?: string | undefined;
788
+ plannedContextId?: string | undefined;
789
+ targetMisconception?: string | undefined;
790
+ difficultyReason?: string | undefined;
791
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
792
+ originalLoId?: string | undefined;
793
+ originalSubject?: string | undefined;
794
+ originalCategory?: string | undefined;
795
+ originalTopic?: string | undefined;
796
+ loDescription?: string | undefined;
797
+ }, {
798
+ plannedTopic?: string | undefined;
799
+ plannedQuestionType?: string | undefined;
800
+ plannedBloomLevel?: string | undefined;
801
+ plannedContextId?: string | undefined;
802
+ targetMisconception?: string | undefined;
803
+ difficultyReason?: string | undefined;
804
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
805
+ originalLoId?: string | undefined;
806
+ originalSubject?: string | undefined;
807
+ originalCategory?: string | undefined;
808
+ originalTopic?: string | undefined;
809
+ loDescription?: string | undefined;
810
+ }>>;
811
+ imageUrl: z.ZodOptional<z.ZodString>;
812
+ } & {
813
+ codingLanguage: z.ZodEnum<["cpp", "javascript", "python", "swift", "csharp"]>;
814
+ }, "strip", z.ZodTypeAny, {
815
+ language: string;
816
+ difficulty: "easy" | "medium" | "hard";
817
+ codingLanguage: "cpp" | "javascript" | "python" | "swift" | "csharp";
818
+ imageUrl?: string | undefined;
819
+ quizContext?: {
820
+ plannedTopic?: string | undefined;
821
+ plannedQuestionType?: string | undefined;
822
+ plannedBloomLevel?: string | undefined;
823
+ plannedContextId?: string | undefined;
824
+ targetMisconception?: string | undefined;
825
+ difficultyReason?: string | undefined;
826
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
827
+ originalLoId?: string | undefined;
828
+ originalSubject?: string | undefined;
829
+ originalCategory?: string | undefined;
830
+ originalTopic?: string | undefined;
831
+ loDescription?: string | undefined;
832
+ } | undefined;
833
+ }, {
834
+ difficulty: "easy" | "medium" | "hard";
835
+ codingLanguage: "cpp" | "javascript" | "python" | "swift" | "csharp";
836
+ language?: string | undefined;
837
+ imageUrl?: string | undefined;
838
+ quizContext?: {
839
+ plannedTopic?: string | undefined;
840
+ plannedQuestionType?: string | undefined;
841
+ plannedBloomLevel?: string | undefined;
842
+ plannedContextId?: string | undefined;
843
+ targetMisconception?: string | undefined;
844
+ difficultyReason?: string | undefined;
845
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
846
+ originalLoId?: string | undefined;
847
+ originalSubject?: string | undefined;
848
+ originalCategory?: string | undefined;
849
+ originalTopic?: string | undefined;
850
+ loDescription?: string | undefined;
851
+ } | undefined;
852
+ }>;
853
+ type GenerateCodingQuestionClientInput = z.infer<typeof GenerateCodingQuestionClientInputSchema>;
854
+ type GenerateCodingQuestionOutput = {
855
+ question?: CodingQuestion;
856
+ error?: string;
857
+ };
858
+
859
+ declare function generateCodingQuestion(clientInput: GenerateCodingQuestionClientInput, apiKey: string): Promise<GenerateCodingQuestionOutput>;
860
+
861
+ declare const BloomLevelStringsEnum: z.ZodEnum<["remembering", "understanding", "applying", "analyzing", "evaluating", "creating"]>;
862
+ type BloomLevelStringsForAI = z.infer<typeof BloomLevelStringsEnum>;
863
+ declare const GenerateQuizPlanClientInputSchema: z.ZodObject<{
864
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
865
+ totalQuestions: z.ZodNumber;
866
+ numCodingQuestions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
867
+ topics: z.ZodArray<z.ZodObject<{
868
+ topic: z.ZodString;
869
+ ratio: z.ZodNumber;
870
+ originalLoId: z.ZodOptional<z.ZodString>;
871
+ originalSubject: z.ZodOptional<z.ZodString>;
872
+ originalCategory: z.ZodOptional<z.ZodString>;
873
+ originalTopic: z.ZodOptional<z.ZodString>;
874
+ commonMisconceptions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
875
+ }, "strip", z.ZodTypeAny, {
876
+ topic: string;
877
+ ratio: number;
878
+ originalLoId?: string | undefined;
879
+ originalSubject?: string | undefined;
880
+ originalCategory?: string | undefined;
881
+ originalTopic?: string | undefined;
882
+ commonMisconceptions?: string[] | undefined;
883
+ }, {
884
+ topic: string;
885
+ ratio: number;
886
+ originalLoId?: string | undefined;
887
+ originalSubject?: string | undefined;
888
+ originalCategory?: string | undefined;
889
+ originalTopic?: string | undefined;
890
+ commonMisconceptions?: string[] | undefined;
891
+ }>, "many">;
892
+ bloomLevels: z.ZodArray<z.ZodObject<{
893
+ level: z.ZodEnum<["remembering", "understanding", "applying", "analyzing", "evaluating", "creating"]>;
894
+ ratio: z.ZodNumber;
895
+ }, "strip", z.ZodTypeAny, {
896
+ ratio: number;
897
+ level: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
898
+ }, {
899
+ ratio: number;
900
+ level: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
901
+ }>, "many">;
902
+ selectedContextIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
903
+ selectedQuestionTypes: z.ZodArray<z.ZodEnum<[QuestionTypeStrings, ...QuestionTypeStrings[]]>, "many">;
904
+ imageContexts: z.ZodOptional<z.ZodArray<z.ZodType<ImageContextItem, z.ZodTypeDef, ImageContextItem>, "many">>;
905
+ }, "strip", z.ZodTypeAny, {
906
+ language: string;
907
+ totalQuestions: number;
908
+ topics: {
909
+ topic: string;
910
+ ratio: number;
911
+ originalLoId?: string | undefined;
912
+ originalSubject?: string | undefined;
913
+ originalCategory?: string | undefined;
914
+ originalTopic?: string | undefined;
915
+ commonMisconceptions?: string[] | undefined;
916
+ }[];
917
+ numCodingQuestions: number;
918
+ bloomLevels: {
919
+ ratio: number;
920
+ level: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
921
+ }[];
922
+ selectedQuestionTypes: QuestionTypeStrings[];
923
+ selectedContextIds?: string[] | undefined;
924
+ imageContexts?: ImageContextItem[] | undefined;
925
+ }, {
926
+ totalQuestions: number;
927
+ topics: {
928
+ topic: string;
929
+ ratio: number;
930
+ originalLoId?: string | undefined;
931
+ originalSubject?: string | undefined;
932
+ originalCategory?: string | undefined;
933
+ originalTopic?: string | undefined;
934
+ commonMisconceptions?: string[] | undefined;
935
+ }[];
936
+ bloomLevels: {
937
+ ratio: number;
938
+ level: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
939
+ }[];
940
+ selectedQuestionTypes: QuestionTypeStrings[];
941
+ language?: string | undefined;
942
+ numCodingQuestions?: number | undefined;
943
+ selectedContextIds?: string[] | undefined;
944
+ imageContexts?: ImageContextItem[] | undefined;
945
+ }>;
946
+ type GenerateQuizPlanClientInput = z.infer<typeof GenerateQuizPlanClientInputSchema>;
947
+ declare const PlannedQuestionSchema: z.ZodObject<{
948
+ plannedTopic: z.ZodString;
949
+ plannedQuestionType: z.ZodEnum<[QuestionTypeStrings, ...QuestionTypeStrings[]]>;
950
+ plannedBloomLevel: z.ZodEnum<["remembering", "understanding", "applying", "analyzing", "evaluating", "creating"]>;
951
+ plannedContextId: z.ZodOptional<z.ZodString>;
952
+ imageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
953
+ targetMisconception: z.ZodOptional<z.ZodString>;
954
+ difficultyReason: z.ZodOptional<z.ZodString>;
955
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
956
+ originalLoId: z.ZodOptional<z.ZodString>;
957
+ originalSubject: z.ZodOptional<z.ZodString>;
958
+ originalCategory: z.ZodOptional<z.ZodString>;
959
+ originalTopic: z.ZodOptional<z.ZodString>;
960
+ }, "strip", z.ZodTypeAny, {
961
+ plannedTopic: string;
962
+ plannedQuestionType: QuestionTypeStrings;
963
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
964
+ plannedContextId?: string | undefined;
965
+ targetMisconception?: string | undefined;
966
+ difficultyReason?: string | undefined;
967
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
968
+ originalLoId?: string | undefined;
969
+ originalSubject?: string | undefined;
970
+ originalCategory?: string | undefined;
971
+ originalTopic?: string | undefined;
972
+ imageId?: string | null | undefined;
973
+ }, {
974
+ plannedTopic: string;
975
+ plannedQuestionType: QuestionTypeStrings;
976
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
977
+ plannedContextId?: string | undefined;
978
+ targetMisconception?: string | undefined;
979
+ difficultyReason?: string | undefined;
980
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
981
+ originalLoId?: string | undefined;
982
+ originalSubject?: string | undefined;
983
+ originalCategory?: string | undefined;
984
+ originalTopic?: string | undefined;
985
+ imageId?: string | null | undefined;
986
+ }>;
987
+ type PlannedQuestion = z.infer<typeof PlannedQuestionSchema>;
988
+ declare const GenerateQuizPlanOutputSchema: z.ZodObject<{
989
+ quizPlan: z.ZodArray<z.ZodObject<{
990
+ plannedTopic: z.ZodString;
991
+ plannedQuestionType: z.ZodEnum<[QuestionTypeStrings, ...QuestionTypeStrings[]]>;
992
+ plannedBloomLevel: z.ZodEnum<["remembering", "understanding", "applying", "analyzing", "evaluating", "creating"]>;
993
+ plannedContextId: z.ZodOptional<z.ZodString>;
994
+ imageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
995
+ targetMisconception: z.ZodOptional<z.ZodString>;
996
+ difficultyReason: z.ZodOptional<z.ZodString>;
997
+ topicSpecificity: z.ZodOptional<z.ZodEnum<["broad", "focused", "specific"]>>;
998
+ originalLoId: z.ZodOptional<z.ZodString>;
999
+ originalSubject: z.ZodOptional<z.ZodString>;
1000
+ originalCategory: z.ZodOptional<z.ZodString>;
1001
+ originalTopic: z.ZodOptional<z.ZodString>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ plannedTopic: string;
1004
+ plannedQuestionType: QuestionTypeStrings;
1005
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
1006
+ plannedContextId?: string | undefined;
1007
+ targetMisconception?: string | undefined;
1008
+ difficultyReason?: string | undefined;
1009
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
1010
+ originalLoId?: string | undefined;
1011
+ originalSubject?: string | undefined;
1012
+ originalCategory?: string | undefined;
1013
+ originalTopic?: string | undefined;
1014
+ imageId?: string | null | undefined;
1015
+ }, {
1016
+ plannedTopic: string;
1017
+ plannedQuestionType: QuestionTypeStrings;
1018
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
1019
+ plannedContextId?: string | undefined;
1020
+ targetMisconception?: string | undefined;
1021
+ difficultyReason?: string | undefined;
1022
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
1023
+ originalLoId?: string | undefined;
1024
+ originalSubject?: string | undefined;
1025
+ originalCategory?: string | undefined;
1026
+ originalTopic?: string | undefined;
1027
+ imageId?: string | null | undefined;
1028
+ }>, "many">;
1029
+ diversityMetrics: z.ZodOptional<z.ZodObject<{
1030
+ questionTypeDistribution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1031
+ bloomLevelDistribution: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1032
+ maxConsecutiveSameType: z.ZodOptional<z.ZodNumber>;
1033
+ }, "strip", z.ZodTypeAny, {
1034
+ questionTypeDistribution?: Record<string, number> | undefined;
1035
+ bloomLevelDistribution?: Record<string, number> | undefined;
1036
+ maxConsecutiveSameType?: number | undefined;
1037
+ }, {
1038
+ questionTypeDistribution?: Record<string, number> | undefined;
1039
+ bloomLevelDistribution?: Record<string, number> | undefined;
1040
+ maxConsecutiveSameType?: number | undefined;
1041
+ }>>;
1042
+ planningStrategy: z.ZodOptional<z.ZodObject<{
1043
+ overallApproach: z.ZodOptional<z.ZodString>;
1044
+ keyDecisions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1045
+ }, "strip", z.ZodTypeAny, {
1046
+ overallApproach?: string | undefined;
1047
+ keyDecisions?: string[] | undefined;
1048
+ }, {
1049
+ overallApproach?: string | undefined;
1050
+ keyDecisions?: string[] | undefined;
1051
+ }>>;
1052
+ }, "strip", z.ZodTypeAny, {
1053
+ quizPlan: {
1054
+ plannedTopic: string;
1055
+ plannedQuestionType: QuestionTypeStrings;
1056
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
1057
+ plannedContextId?: string | undefined;
1058
+ targetMisconception?: string | undefined;
1059
+ difficultyReason?: string | undefined;
1060
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
1061
+ originalLoId?: string | undefined;
1062
+ originalSubject?: string | undefined;
1063
+ originalCategory?: string | undefined;
1064
+ originalTopic?: string | undefined;
1065
+ imageId?: string | null | undefined;
1066
+ }[];
1067
+ diversityMetrics?: {
1068
+ questionTypeDistribution?: Record<string, number> | undefined;
1069
+ bloomLevelDistribution?: Record<string, number> | undefined;
1070
+ maxConsecutiveSameType?: number | undefined;
1071
+ } | undefined;
1072
+ planningStrategy?: {
1073
+ overallApproach?: string | undefined;
1074
+ keyDecisions?: string[] | undefined;
1075
+ } | undefined;
1076
+ }, {
1077
+ quizPlan: {
1078
+ plannedTopic: string;
1079
+ plannedQuestionType: QuestionTypeStrings;
1080
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
1081
+ plannedContextId?: string | undefined;
1082
+ targetMisconception?: string | undefined;
1083
+ difficultyReason?: string | undefined;
1084
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
1085
+ originalLoId?: string | undefined;
1086
+ originalSubject?: string | undefined;
1087
+ originalCategory?: string | undefined;
1088
+ originalTopic?: string | undefined;
1089
+ imageId?: string | null | undefined;
1090
+ }[];
1091
+ diversityMetrics?: {
1092
+ questionTypeDistribution?: Record<string, number> | undefined;
1093
+ bloomLevelDistribution?: Record<string, number> | undefined;
1094
+ maxConsecutiveSameType?: number | undefined;
1095
+ } | undefined;
1096
+ planningStrategy?: {
1097
+ overallApproach?: string | undefined;
1098
+ keyDecisions?: string[] | undefined;
1099
+ } | undefined;
1100
+ }>;
1101
+ type GenerateQuizPlanOutput = z.infer<typeof GenerateQuizPlanOutputSchema>;
1102
+
1103
+ interface PlanGenerationLog {
1104
+ timestamp: string;
1105
+ phase: string;
1106
+ data: any;
1107
+ duration?: number;
1108
+ }
1109
+ declare function generateQuizPlan(clientInput: GenerateQuizPlanClientInput, apiKey: string, imageContexts?: any[]): Promise<GenerateQuizPlanOutput & {
1110
+ logs: PlanGenerationLog[];
1111
+ }>;
1112
+
1113
+ declare const GenerateQuestionsFromQuizPlanClientInputSchema: z.ZodObject<{
1114
+ quizPlan: z.ZodArray<z.ZodType<{
1115
+ plannedTopic: string;
1116
+ plannedQuestionType: QuestionTypeStrings;
1117
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
1118
+ plannedContextId?: string | undefined;
1119
+ targetMisconception?: string | undefined;
1120
+ difficultyReason?: string | undefined;
1121
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
1122
+ originalLoId?: string | undefined;
1123
+ originalSubject?: string | undefined;
1124
+ originalCategory?: string | undefined;
1125
+ originalTopic?: string | undefined;
1126
+ imageId?: string | null | undefined;
1127
+ }, z.ZodTypeDef, {
1128
+ plannedTopic: string;
1129
+ plannedQuestionType: QuestionTypeStrings;
1130
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
1131
+ plannedContextId?: string | undefined;
1132
+ targetMisconception?: string | undefined;
1133
+ difficultyReason?: string | undefined;
1134
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
1135
+ originalLoId?: string | undefined;
1136
+ originalSubject?: string | undefined;
1137
+ originalCategory?: string | undefined;
1138
+ originalTopic?: string | undefined;
1139
+ imageId?: string | null | undefined;
1140
+ }>, "many">;
1141
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1142
+ imageContexts: z.ZodOptional<z.ZodArray<z.ZodType<ImageContextItem, z.ZodTypeDef, ImageContextItem>, "many">>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ language: string;
1145
+ quizPlan: {
1146
+ plannedTopic: string;
1147
+ plannedQuestionType: QuestionTypeStrings;
1148
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
1149
+ plannedContextId?: string | undefined;
1150
+ targetMisconception?: string | undefined;
1151
+ difficultyReason?: string | undefined;
1152
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
1153
+ originalLoId?: string | undefined;
1154
+ originalSubject?: string | undefined;
1155
+ originalCategory?: string | undefined;
1156
+ originalTopic?: string | undefined;
1157
+ imageId?: string | null | undefined;
1158
+ }[];
1159
+ imageContexts?: ImageContextItem[] | undefined;
1160
+ }, {
1161
+ quizPlan: {
1162
+ plannedTopic: string;
1163
+ plannedQuestionType: QuestionTypeStrings;
1164
+ plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
1165
+ plannedContextId?: string | undefined;
1166
+ targetMisconception?: string | undefined;
1167
+ difficultyReason?: string | undefined;
1168
+ topicSpecificity?: "broad" | "focused" | "specific" | undefined;
1169
+ originalLoId?: string | undefined;
1170
+ originalSubject?: string | undefined;
1171
+ originalCategory?: string | undefined;
1172
+ originalTopic?: string | undefined;
1173
+ imageId?: string | null | undefined;
1174
+ }[];
1175
+ language?: string | undefined;
1176
+ imageContexts?: ImageContextItem[] | undefined;
1177
+ }>;
1178
+ type GenerateQuestionsFromQuizPlanClientInput = z.infer<typeof GenerateQuestionsFromQuizPlanClientInputSchema>;
1179
+ declare const GenerateQuestionsFromQuizPlanOutputSchema: z.ZodObject<{
1180
+ generatedQuestions: z.ZodArray<z.ZodAny, "many">;
1181
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1182
+ plannedQuestionIndex: z.ZodNumber;
1183
+ plannedTopic: z.ZodString;
1184
+ plannedQuestionType: z.ZodString;
1185
+ error: z.ZodString;
1186
+ }, "strip", z.ZodTypeAny, {
1187
+ error: string;
1188
+ plannedTopic: string;
1189
+ plannedQuestionType: string;
1190
+ plannedQuestionIndex: number;
1191
+ }, {
1192
+ error: string;
1193
+ plannedTopic: string;
1194
+ plannedQuestionType: string;
1195
+ plannedQuestionIndex: number;
1196
+ }>, "many">>;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ generatedQuestions: any[];
1199
+ errors?: {
1200
+ error: string;
1201
+ plannedTopic: string;
1202
+ plannedQuestionType: string;
1203
+ plannedQuestionIndex: number;
1204
+ }[] | undefined;
1205
+ }, {
1206
+ generatedQuestions: any[];
1207
+ errors?: {
1208
+ error: string;
1209
+ plannedTopic: string;
1210
+ plannedQuestionType: string;
1211
+ plannedQuestionIndex: number;
1212
+ }[] | undefined;
1213
+ }>;
1214
+ type GenerateQuestionsFromQuizPlanOutput = z.infer<typeof GenerateQuestionsFromQuizPlanOutputSchema>;
1215
+
1216
+ declare function generateQuestionsFromQuizPlan(clientInput: GenerateQuestionsFromQuizPlanClientInput, apiKey: string): Promise<GenerateQuestionsFromQuizPlanOutput>;
1217
+
1218
+ declare const GenerateQuizReviewClientInputSchema: z.ZodObject<{
1219
+ language: z.ZodString;
1220
+ questionResults: z.ZodArray<z.ZodObject<{
1221
+ questionId: z.ZodString;
1222
+ prompt: z.ZodString;
1223
+ isCorrect: z.ZodBoolean;
1224
+ userAnswer: z.ZodOptional<z.ZodAny>;
1225
+ correctAnswer: z.ZodOptional<z.ZodAny>;
1226
+ evaluationDetails: z.ZodOptional<z.ZodArray<z.ZodType<TestCaseResult, z.ZodTypeDef, TestCaseResult>, "many">>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ isCorrect: boolean;
1229
+ prompt: string;
1230
+ questionId: string;
1231
+ correctAnswer?: any;
1232
+ evaluationDetails?: TestCaseResult[] | undefined;
1233
+ userAnswer?: any;
1234
+ }, {
1235
+ isCorrect: boolean;
1236
+ prompt: string;
1237
+ questionId: string;
1238
+ correctAnswer?: any;
1239
+ evaluationDetails?: TestCaseResult[] | undefined;
1240
+ userAnswer?: any;
1241
+ }>, "many">;
1242
+ }, "strip", z.ZodTypeAny, {
1243
+ language: string;
1244
+ questionResults: {
1245
+ isCorrect: boolean;
1246
+ prompt: string;
1247
+ questionId: string;
1248
+ correctAnswer?: any;
1249
+ evaluationDetails?: TestCaseResult[] | undefined;
1250
+ userAnswer?: any;
1251
+ }[];
1252
+ }, {
1253
+ language: string;
1254
+ questionResults: {
1255
+ isCorrect: boolean;
1256
+ prompt: string;
1257
+ questionId: string;
1258
+ correctAnswer?: any;
1259
+ evaluationDetails?: TestCaseResult[] | undefined;
1260
+ userAnswer?: any;
1261
+ }[];
1262
+ }>;
1263
+ type GenerateQuizReviewClientInput = z.infer<typeof GenerateQuizReviewClientInputSchema>;
1264
+ type GenerateQuizReviewOutput = QuizReviewContent;
1265
+
1266
+ declare function generateQuizReview(clientInput: GenerateQuizReviewClientInput, apiKey: string): Promise<GenerateQuizReviewOutput>;
1267
+
1268
+ declare const GeneratePracticeSuggestionInputSchema: z.ZodObject<{
1269
+ language: z.ZodString;
1270
+ userName: z.ZodOptional<z.ZodString>;
1271
+ performanceByTopic: z.ZodOptional<z.ZodArray<z.ZodObject<{
1272
+ name: z.ZodString;
1273
+ averageScore: z.ZodNumber;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ name: string;
1276
+ averageScore: number;
1277
+ }, {
1278
+ name: string;
1279
+ averageScore: number;
1280
+ }>, "many">>;
1281
+ recentHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
1282
+ quizTitle: z.ZodString;
1283
+ percentage: z.ZodNumber;
1284
+ topics: z.ZodArray<z.ZodObject<{
1285
+ subject: z.ZodString;
1286
+ category: z.ZodString;
1287
+ topic: z.ZodString;
1288
+ }, "strip", z.ZodTypeAny, {
1289
+ subject: string;
1290
+ category: string;
1291
+ topic: string;
1292
+ }, {
1293
+ subject: string;
1294
+ category: string;
1295
+ topic: string;
1296
+ }>, "many">;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ quizTitle: string;
1299
+ percentage: number;
1300
+ topics: {
1301
+ subject: string;
1302
+ category: string;
1303
+ topic: string;
1304
+ }[];
1305
+ }, {
1306
+ quizTitle: string;
1307
+ percentage: number;
1308
+ topics: {
1309
+ subject: string;
1310
+ category: string;
1311
+ topic: string;
1312
+ }[];
1313
+ }>, "many">>;
1314
+ allAvailableTopics: z.ZodArray<z.ZodObject<{
1315
+ loId: z.ZodString;
1316
+ subject: z.ZodString;
1317
+ category: z.ZodString;
1318
+ topic: z.ZodString;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ subject: string;
1321
+ category: string;
1322
+ topic: string;
1323
+ loId: string;
1324
+ }, {
1325
+ subject: string;
1326
+ category: string;
1327
+ topic: string;
1328
+ loId: string;
1329
+ }>, "many">;
1330
+ }, "strip", z.ZodTypeAny, {
1331
+ language: string;
1332
+ allAvailableTopics: {
1333
+ subject: string;
1334
+ category: string;
1335
+ topic: string;
1336
+ loId: string;
1337
+ }[];
1338
+ performanceByTopic?: {
1339
+ name: string;
1340
+ averageScore: number;
1341
+ }[] | undefined;
1342
+ userName?: string | undefined;
1343
+ recentHistory?: {
1344
+ quizTitle: string;
1345
+ percentage: number;
1346
+ topics: {
1347
+ subject: string;
1348
+ category: string;
1349
+ topic: string;
1350
+ }[];
1351
+ }[] | undefined;
1352
+ }, {
1353
+ language: string;
1354
+ allAvailableTopics: {
1355
+ subject: string;
1356
+ category: string;
1357
+ topic: string;
1358
+ loId: string;
1359
+ }[];
1360
+ performanceByTopic?: {
1361
+ name: string;
1362
+ averageScore: number;
1363
+ }[] | undefined;
1364
+ userName?: string | undefined;
1365
+ recentHistory?: {
1366
+ quizTitle: string;
1367
+ percentage: number;
1368
+ topics: {
1369
+ subject: string;
1370
+ category: string;
1371
+ topic: string;
1372
+ }[];
1373
+ }[] | undefined;
1374
+ }>;
1375
+ type GeneratePracticeSuggestionClientInput = z.infer<typeof GeneratePracticeSuggestionInputSchema>;
1376
+ declare const PracticeSuggestionOutputSchema: z.ZodObject<{
1377
+ suggestionText: z.ZodString;
1378
+ suggestedTopics: z.ZodArray<z.ZodObject<{
1379
+ loId: z.ZodString;
1380
+ topicName: z.ZodString;
1381
+ reason: z.ZodEnum<["review", "explore"]>;
1382
+ suggestedDifficulty: z.ZodEnum<["Very Easy", "Easy", "Medium", "Hard", "Expert"]>;
1383
+ }, "strip", z.ZodTypeAny, {
1384
+ loId: string;
1385
+ topicName: string;
1386
+ reason: "review" | "explore";
1387
+ suggestedDifficulty: "Very Easy" | "Easy" | "Medium" | "Hard" | "Expert";
1388
+ }, {
1389
+ loId: string;
1390
+ topicName: string;
1391
+ reason: "review" | "explore";
1392
+ suggestedDifficulty: "Very Easy" | "Easy" | "Medium" | "Hard" | "Expert";
1393
+ }>, "many">;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ suggestionText: string;
1396
+ suggestedTopics: {
1397
+ loId: string;
1398
+ topicName: string;
1399
+ reason: "review" | "explore";
1400
+ suggestedDifficulty: "Very Easy" | "Easy" | "Medium" | "Hard" | "Expert";
1401
+ }[];
1402
+ }, {
1403
+ suggestionText: string;
1404
+ suggestedTopics: {
1405
+ loId: string;
1406
+ topicName: string;
1407
+ reason: "review" | "explore";
1408
+ suggestedDifficulty: "Very Easy" | "Easy" | "Medium" | "Hard" | "Expert";
1409
+ }[];
1410
+ }>;
1411
+ type GeneratePracticeSuggestionOutput = z.infer<typeof PracticeSuggestionOutputSchema>;
1412
+ declare function generatePracticeSuggestion(clientInput: GeneratePracticeSuggestionClientInput, apiKey: string): Promise<PracticeSuggestion>;
1413
+
1414
+ declare const GenerateLearningAnalysisInputSchema: z.ZodObject<{
1415
+ language: z.ZodDefault<z.ZodString>;
1416
+ userName: z.ZodOptional<z.ZodString>;
1417
+ weeklyGoal: z.ZodOptional<z.ZodNumber>;
1418
+ unlockedAchievements: z.ZodArray<z.ZodObject<{
1419
+ id: z.ZodString;
1420
+ name: z.ZodString;
1421
+ description: z.ZodString;
1422
+ icon: z.ZodString;
1423
+ }, "strip", z.ZodTypeAny, {
1424
+ id: string;
1425
+ name: string;
1426
+ description: string;
1427
+ icon: string;
1428
+ }, {
1429
+ id: string;
1430
+ name: string;
1431
+ description: string;
1432
+ icon: string;
1433
+ }>, "many">;
1434
+ stats: z.ZodAny;
1435
+ history: z.ZodArray<z.ZodAny, "many">;
1436
+ startDate: z.ZodString;
1437
+ endDate: z.ZodString;
1438
+ allAvailableTopics: z.ZodArray<z.ZodObject<{
1439
+ loId: z.ZodString;
1440
+ subject: z.ZodString;
1441
+ category: z.ZodString;
1442
+ topic: z.ZodString;
1443
+ }, "strip", z.ZodTypeAny, {
1444
+ subject: string;
1445
+ category: string;
1446
+ topic: string;
1447
+ loId: string;
1448
+ }, {
1449
+ subject: string;
1450
+ category: string;
1451
+ topic: string;
1452
+ loId: string;
1453
+ }>, "many">;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ history: any[];
1456
+ language: string;
1457
+ allAvailableTopics: {
1458
+ subject: string;
1459
+ category: string;
1460
+ topic: string;
1461
+ loId: string;
1462
+ }[];
1463
+ unlockedAchievements: {
1464
+ id: string;
1465
+ name: string;
1466
+ description: string;
1467
+ icon: string;
1468
+ }[];
1469
+ startDate: string;
1470
+ endDate: string;
1471
+ weeklyGoal?: number | undefined;
1472
+ userName?: string | undefined;
1473
+ stats?: any;
1474
+ }, {
1475
+ history: any[];
1476
+ allAvailableTopics: {
1477
+ subject: string;
1478
+ category: string;
1479
+ topic: string;
1480
+ loId: string;
1481
+ }[];
1482
+ unlockedAchievements: {
1483
+ id: string;
1484
+ name: string;
1485
+ description: string;
1486
+ icon: string;
1487
+ }[];
1488
+ startDate: string;
1489
+ endDate: string;
1490
+ language?: string | undefined;
1491
+ weeklyGoal?: number | undefined;
1492
+ userName?: string | undefined;
1493
+ stats?: any;
1494
+ }>;
1495
+ type GenerateLearningAnalysisClientInput = z.infer<typeof GenerateLearningAnalysisInputSchema>;
1496
+ type GenerateLearningAnalysisOutput = LearningAnalysis;
1497
+
1498
+ declare function generateLearningAnalysis(clientInput: GenerateLearningAnalysisClientInput, apiKey: string): Promise<LearningAnalysis>;
1499
+
1500
+ declare const GenerateMotivationalQuoteInputSchema: z.ZodObject<{
1501
+ language: z.ZodString;
1502
+ userName: z.ZodOptional<z.ZodString>;
1503
+ currentStreak: z.ZodOptional<z.ZodNumber>;
1504
+ weakestTopic: z.ZodOptional<z.ZodString>;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ language: string;
1507
+ userName?: string | undefined;
1508
+ currentStreak?: number | undefined;
1509
+ weakestTopic?: string | undefined;
1510
+ }, {
1511
+ language: string;
1512
+ userName?: string | undefined;
1513
+ currentStreak?: number | undefined;
1514
+ weakestTopic?: string | undefined;
1515
+ }>;
1516
+ type GenerateMotivationalQuoteClientInput = z.infer<typeof GenerateMotivationalQuoteInputSchema>;
1517
+ declare const GenerateMotivationalQuoteOutputSchema: z.ZodObject<{
1518
+ text: z.ZodString;
1519
+ author: z.ZodString;
1520
+ }, "strip", z.ZodTypeAny, {
1521
+ text: string;
1522
+ author: string;
1523
+ }, {
1524
+ text: string;
1525
+ author: string;
1526
+ }>;
1527
+ type GenerateMotivationalQuoteOutput = z.infer<typeof GenerateMotivationalQuoteOutputSchema>;
1528
+
1529
+ declare function generateMotivationalQuote(clientInput: GenerateMotivationalQuoteClientInput, apiKey: string): Promise<GenerateMotivationalQuoteOutput | null>;
1530
+
1531
+ declare const PlanKnowledgeCardsInputSchema: z.ZodObject<{
1532
+ language: z.ZodString;
1533
+ learningObjectivesContent: z.ZodString;
1534
+ overallSubject: z.ZodString;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ language: string;
1537
+ learningObjectivesContent: string;
1538
+ overallSubject: string;
1539
+ }, {
1540
+ language: string;
1541
+ learningObjectivesContent: string;
1542
+ overallSubject: string;
1543
+ }>;
1544
+ type PlanKnowledgeCardsClientInput = z.infer<typeof PlanKnowledgeCardsInputSchema>;
1545
+ declare const PlanKnowledgeCardsOutputSchema: z.ZodObject<{
1546
+ concepts: z.ZodArray<z.ZodString, "many">;
1547
+ }, "strip", z.ZodTypeAny, {
1548
+ concepts: string[];
1549
+ }, {
1550
+ concepts: string[];
1551
+ }>;
1552
+ type PlanKnowledgeCardsOutput = z.infer<typeof PlanKnowledgeCardsOutputSchema>;
1553
+
1554
+ declare function planKnowledgeCards(clientInput: PlanKnowledgeCardsClientInput, apiKey: string): Promise<PlanKnowledgeCardsOutput>;
1555
+
1556
+ declare const GenerateSingleKnowledgeCardInputSchema: z.ZodObject<{
1557
+ language: z.ZodString;
1558
+ concept: z.ZodString;
1559
+ overallSubject: z.ZodString;
1560
+ fullContext: z.ZodOptional<z.ZodString>;
1561
+ }, "strip", z.ZodTypeAny, {
1562
+ concept: string;
1563
+ language: string;
1564
+ overallSubject: string;
1565
+ fullContext?: string | undefined;
1566
+ }, {
1567
+ concept: string;
1568
+ language: string;
1569
+ overallSubject: string;
1570
+ fullContext?: string | undefined;
1571
+ }>;
1572
+ type GenerateSingleKnowledgeCardClientInput = z.infer<typeof GenerateSingleKnowledgeCardInputSchema>;
1573
+ type GenerateSingleKnowledgeCardOutput = Omit<KnowledgeCard, 'id'>;
1574
+
1575
+ declare function generateSingleKnowledgeCard(clientInput: GenerateSingleKnowledgeCardClientInput, apiKey: string): Promise<GenerateSingleKnowledgeCardOutput>;
1576
+
1577
+ declare const AssessAndMapDocumentInputSchema: z.ZodObject<{
1578
+ language: z.ZodDefault<z.ZodString>;
1579
+ documentContent: z.ZodString;
1580
+ learningObjectives: z.ZodArray<z.ZodObject<{
1581
+ loId: z.ZodString;
1582
+ subject: z.ZodString;
1583
+ category: z.ZodString;
1584
+ topic: z.ZodString;
1585
+ loDescription: z.ZodString;
1586
+ }, "strip", z.ZodTypeAny, {
1587
+ subject: string;
1588
+ category: string;
1589
+ topic: string;
1590
+ loDescription: string;
1591
+ loId: string;
1592
+ }, {
1593
+ subject: string;
1594
+ category: string;
1595
+ topic: string;
1596
+ loDescription: string;
1597
+ loId: string;
1598
+ }>, "many">;
1599
+ }, "strip", z.ZodTypeAny, {
1600
+ language: string;
1601
+ documentContent: string;
1602
+ learningObjectives: {
1603
+ subject: string;
1604
+ category: string;
1605
+ topic: string;
1606
+ loDescription: string;
1607
+ loId: string;
1608
+ }[];
1609
+ }, {
1610
+ documentContent: string;
1611
+ learningObjectives: {
1612
+ subject: string;
1613
+ category: string;
1614
+ topic: string;
1615
+ loDescription: string;
1616
+ loId: string;
1617
+ }[];
1618
+ language?: string | undefined;
1619
+ }>;
1620
+ type AssessAndMapDocumentClientInput = z.infer<typeof AssessAndMapDocumentInputSchema>;
1621
+ declare const AssessAndMapDocumentOutputSchema: z.ZodObject<{
1622
+ relevanceScore: z.ZodNumber;
1623
+ isFreestyleRecommended: z.ZodBoolean;
1624
+ mappedLOs: z.ZodArray<z.ZodObject<{
1625
+ loId: z.ZodString;
1626
+ confidence: z.ZodNumber;
1627
+ reasoning: z.ZodString;
1628
+ }, "strip", z.ZodTypeAny, {
1629
+ reasoning: string;
1630
+ loId: string;
1631
+ confidence: number;
1632
+ }, {
1633
+ reasoning: string;
1634
+ loId: string;
1635
+ confidence: number;
1636
+ }>, "many">;
1637
+ }, "strip", z.ZodTypeAny, {
1638
+ relevanceScore: number;
1639
+ isFreestyleRecommended: boolean;
1640
+ mappedLOs: {
1641
+ reasoning: string;
1642
+ loId: string;
1643
+ confidence: number;
1644
+ }[];
1645
+ }, {
1646
+ relevanceScore: number;
1647
+ isFreestyleRecommended: boolean;
1648
+ mappedLOs: {
1649
+ reasoning: string;
1650
+ loId: string;
1651
+ confidence: number;
1652
+ }[];
1653
+ }>;
1654
+ type AssessAndMapDocumentOutput = z.infer<typeof AssessAndMapDocumentOutputSchema>;
1655
+
1656
+ declare function assessAndMapDocument(clientInput: AssessAndMapDocumentClientInput, apiKey: string): Promise<AssessAndMapDocumentOutput>;
1657
+
1658
+ declare const GenerateQuizFromTextInputSchema: z.ZodObject<{
1659
+ language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1660
+ documentContent: z.ZodString;
1661
+ numQuestions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1662
+ questionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["multiple_choice", "true_false", "short_answer"]>, "many">>;
1663
+ }, "strip", z.ZodTypeAny, {
1664
+ language: string;
1665
+ documentContent: string;
1666
+ numQuestions: number;
1667
+ questionTypes?: ("multiple_choice" | "true_false" | "short_answer")[] | undefined;
1668
+ }, {
1669
+ documentContent: string;
1670
+ language?: string | undefined;
1671
+ questionTypes?: ("multiple_choice" | "true_false" | "short_answer")[] | undefined;
1672
+ numQuestions?: number | undefined;
1673
+ }>;
1674
+ type GenerateQuizFromTextClientInput = z.infer<typeof GenerateQuizFromTextInputSchema>;
1675
+ declare const GenerateQuizFromTextOutputSchema: z.ZodObject<{
1676
+ generatedQuestions: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1677
+ id: z.ZodString;
1678
+ prompt: z.ZodString;
1679
+ points: z.ZodOptional<z.ZodNumber>;
1680
+ explanation: z.ZodOptional<z.ZodString>;
1681
+ difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
1682
+ topic: z.ZodOptional<z.ZodString>;
1683
+ category: z.ZodOptional<z.ZodString>;
1684
+ subject: z.ZodOptional<z.ZodString>;
1685
+ learningObjective: z.ZodOptional<z.ZodString>;
1686
+ bloomLevel: z.ZodOptional<z.ZodString>;
1687
+ contextCode: z.ZodOptional<z.ZodString>;
1688
+ gradeBand: z.ZodOptional<z.ZodString>;
1689
+ course: z.ZodOptional<z.ZodString>;
1690
+ glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1691
+ } & {
1692
+ questionType: z.ZodLiteral<"multiple_choice">;
1693
+ options: z.ZodArray<z.ZodObject<{
1694
+ id: z.ZodString;
1695
+ text: z.ZodString;
1696
+ }, "strip", z.ZodTypeAny, {
1697
+ text: string;
1698
+ id: string;
1699
+ }, {
1700
+ text: string;
1701
+ id: string;
1702
+ }>, "many">;
1703
+ correctAnswerId: z.ZodString;
1704
+ }, "strip", z.ZodTypeAny, {
1705
+ id: string;
1706
+ options: {
1707
+ text: string;
1708
+ id: string;
1709
+ }[];
1710
+ correctAnswerId: string;
1711
+ questionType: "multiple_choice";
1712
+ prompt: string;
1713
+ subject?: string | undefined;
1714
+ learningObjective?: string | undefined;
1715
+ category?: string | undefined;
1716
+ topic?: string | undefined;
1717
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1718
+ bloomLevel?: string | undefined;
1719
+ points?: number | undefined;
1720
+ explanation?: string | undefined;
1721
+ contextCode?: string | undefined;
1722
+ gradeBand?: string | undefined;
1723
+ course?: string | undefined;
1724
+ glossary?: string[] | undefined;
1725
+ }, {
1726
+ id: string;
1727
+ options: {
1728
+ text: string;
1729
+ id: string;
1730
+ }[];
1731
+ correctAnswerId: string;
1732
+ questionType: "multiple_choice";
1733
+ prompt: string;
1734
+ subject?: string | undefined;
1735
+ learningObjective?: string | undefined;
1736
+ category?: string | undefined;
1737
+ topic?: string | undefined;
1738
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1739
+ bloomLevel?: string | undefined;
1740
+ points?: number | undefined;
1741
+ explanation?: string | undefined;
1742
+ contextCode?: string | undefined;
1743
+ gradeBand?: string | undefined;
1744
+ course?: string | undefined;
1745
+ glossary?: string[] | undefined;
1746
+ }>, {
1747
+ id: string;
1748
+ options: {
1749
+ text: string;
1750
+ id: string;
1751
+ }[];
1752
+ correctAnswerId: string;
1753
+ questionType: "multiple_choice";
1754
+ prompt: string;
1755
+ subject?: string | undefined;
1756
+ learningObjective?: string | undefined;
1757
+ category?: string | undefined;
1758
+ topic?: string | undefined;
1759
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1760
+ bloomLevel?: string | undefined;
1761
+ points?: number | undefined;
1762
+ explanation?: string | undefined;
1763
+ contextCode?: string | undefined;
1764
+ gradeBand?: string | undefined;
1765
+ course?: string | undefined;
1766
+ glossary?: string[] | undefined;
1767
+ }, {
1768
+ id: string;
1769
+ options: {
1770
+ text: string;
1771
+ id: string;
1772
+ }[];
1773
+ correctAnswerId: string;
1774
+ questionType: "multiple_choice";
1775
+ prompt: string;
1776
+ subject?: string | undefined;
1777
+ learningObjective?: string | undefined;
1778
+ category?: string | undefined;
1779
+ topic?: string | undefined;
1780
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1781
+ bloomLevel?: string | undefined;
1782
+ points?: number | undefined;
1783
+ explanation?: string | undefined;
1784
+ contextCode?: string | undefined;
1785
+ gradeBand?: string | undefined;
1786
+ course?: string | undefined;
1787
+ glossary?: string[] | undefined;
1788
+ }>, z.ZodObject<{
1789
+ id: z.ZodString;
1790
+ prompt: z.ZodString;
1791
+ points: z.ZodOptional<z.ZodNumber>;
1792
+ explanation: z.ZodOptional<z.ZodString>;
1793
+ difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
1794
+ topic: z.ZodOptional<z.ZodString>;
1795
+ category: z.ZodOptional<z.ZodString>;
1796
+ subject: z.ZodOptional<z.ZodString>;
1797
+ learningObjective: z.ZodOptional<z.ZodString>;
1798
+ bloomLevel: z.ZodOptional<z.ZodString>;
1799
+ contextCode: z.ZodOptional<z.ZodString>;
1800
+ gradeBand: z.ZodOptional<z.ZodString>;
1801
+ course: z.ZodOptional<z.ZodString>;
1802
+ glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1803
+ } & {
1804
+ questionType: z.ZodLiteral<"true_false">;
1805
+ correctAnswer: z.ZodBoolean;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ id: string;
1808
+ correctAnswer: boolean;
1809
+ questionType: "true_false";
1810
+ prompt: string;
1811
+ subject?: string | undefined;
1812
+ learningObjective?: string | undefined;
1813
+ category?: string | undefined;
1814
+ topic?: string | undefined;
1815
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1816
+ bloomLevel?: string | undefined;
1817
+ points?: number | undefined;
1818
+ explanation?: string | undefined;
1819
+ contextCode?: string | undefined;
1820
+ gradeBand?: string | undefined;
1821
+ course?: string | undefined;
1822
+ glossary?: string[] | undefined;
1823
+ }, {
1824
+ id: string;
1825
+ correctAnswer: boolean;
1826
+ questionType: "true_false";
1827
+ prompt: string;
1828
+ subject?: string | undefined;
1829
+ learningObjective?: string | undefined;
1830
+ category?: string | undefined;
1831
+ topic?: string | undefined;
1832
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1833
+ bloomLevel?: string | undefined;
1834
+ points?: number | undefined;
1835
+ explanation?: string | undefined;
1836
+ contextCode?: string | undefined;
1837
+ gradeBand?: string | undefined;
1838
+ course?: string | undefined;
1839
+ glossary?: string[] | undefined;
1840
+ }>, z.ZodObject<{
1841
+ id: z.ZodString;
1842
+ prompt: z.ZodString;
1843
+ points: z.ZodOptional<z.ZodNumber>;
1844
+ explanation: z.ZodOptional<z.ZodString>;
1845
+ difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
1846
+ topic: z.ZodOptional<z.ZodString>;
1847
+ category: z.ZodOptional<z.ZodString>;
1848
+ subject: z.ZodOptional<z.ZodString>;
1849
+ learningObjective: z.ZodOptional<z.ZodString>;
1850
+ bloomLevel: z.ZodOptional<z.ZodString>;
1851
+ contextCode: z.ZodOptional<z.ZodString>;
1852
+ gradeBand: z.ZodOptional<z.ZodString>;
1853
+ course: z.ZodOptional<z.ZodString>;
1854
+ glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1855
+ } & {
1856
+ questionType: z.ZodLiteral<"short_answer">;
1857
+ acceptedAnswers: z.ZodArray<z.ZodString, "many">;
1858
+ isCaseSensitive: z.ZodOptional<z.ZodBoolean>;
1859
+ }, "strip", z.ZodTypeAny, {
1860
+ id: string;
1861
+ questionType: "short_answer";
1862
+ prompt: string;
1863
+ acceptedAnswers: string[];
1864
+ subject?: string | undefined;
1865
+ learningObjective?: string | undefined;
1866
+ category?: string | undefined;
1867
+ topic?: string | undefined;
1868
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1869
+ bloomLevel?: string | undefined;
1870
+ points?: number | undefined;
1871
+ explanation?: string | undefined;
1872
+ contextCode?: string | undefined;
1873
+ gradeBand?: string | undefined;
1874
+ course?: string | undefined;
1875
+ isCaseSensitive?: boolean | undefined;
1876
+ glossary?: string[] | undefined;
1877
+ }, {
1878
+ id: string;
1879
+ questionType: "short_answer";
1880
+ prompt: string;
1881
+ acceptedAnswers: string[];
1882
+ subject?: string | undefined;
1883
+ learningObjective?: string | undefined;
1884
+ category?: string | undefined;
1885
+ topic?: string | undefined;
1886
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1887
+ bloomLevel?: string | undefined;
1888
+ points?: number | undefined;
1889
+ explanation?: string | undefined;
1890
+ contextCode?: string | undefined;
1891
+ gradeBand?: string | undefined;
1892
+ course?: string | undefined;
1893
+ isCaseSensitive?: boolean | undefined;
1894
+ glossary?: string[] | undefined;
1895
+ }>]>, "many">;
1896
+ }, "strip", z.ZodTypeAny, {
1897
+ generatedQuestions: ({
1898
+ id: string;
1899
+ correctAnswer: boolean;
1900
+ questionType: "true_false";
1901
+ prompt: string;
1902
+ subject?: string | undefined;
1903
+ learningObjective?: string | undefined;
1904
+ category?: string | undefined;
1905
+ topic?: string | undefined;
1906
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1907
+ bloomLevel?: string | undefined;
1908
+ points?: number | undefined;
1909
+ explanation?: string | undefined;
1910
+ contextCode?: string | undefined;
1911
+ gradeBand?: string | undefined;
1912
+ course?: string | undefined;
1913
+ glossary?: string[] | undefined;
1914
+ } | {
1915
+ id: string;
1916
+ options: {
1917
+ text: string;
1918
+ id: string;
1919
+ }[];
1920
+ correctAnswerId: string;
1921
+ questionType: "multiple_choice";
1922
+ prompt: string;
1923
+ subject?: string | undefined;
1924
+ learningObjective?: string | undefined;
1925
+ category?: string | undefined;
1926
+ topic?: string | undefined;
1927
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1928
+ bloomLevel?: string | undefined;
1929
+ points?: number | undefined;
1930
+ explanation?: string | undefined;
1931
+ contextCode?: string | undefined;
1932
+ gradeBand?: string | undefined;
1933
+ course?: string | undefined;
1934
+ glossary?: string[] | undefined;
1935
+ } | {
1936
+ id: string;
1937
+ questionType: "short_answer";
1938
+ prompt: string;
1939
+ acceptedAnswers: string[];
1940
+ subject?: string | undefined;
1941
+ learningObjective?: string | undefined;
1942
+ category?: string | undefined;
1943
+ topic?: string | undefined;
1944
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1945
+ bloomLevel?: string | undefined;
1946
+ points?: number | undefined;
1947
+ explanation?: string | undefined;
1948
+ contextCode?: string | undefined;
1949
+ gradeBand?: string | undefined;
1950
+ course?: string | undefined;
1951
+ isCaseSensitive?: boolean | undefined;
1952
+ glossary?: string[] | undefined;
1953
+ })[];
1954
+ }, {
1955
+ generatedQuestions: ({
1956
+ id: string;
1957
+ correctAnswer: boolean;
1958
+ questionType: "true_false";
1959
+ prompt: string;
1960
+ subject?: string | undefined;
1961
+ learningObjective?: string | undefined;
1962
+ category?: string | undefined;
1963
+ topic?: string | undefined;
1964
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1965
+ bloomLevel?: string | undefined;
1966
+ points?: number | undefined;
1967
+ explanation?: string | undefined;
1968
+ contextCode?: string | undefined;
1969
+ gradeBand?: string | undefined;
1970
+ course?: string | undefined;
1971
+ glossary?: string[] | undefined;
1972
+ } | {
1973
+ id: string;
1974
+ options: {
1975
+ text: string;
1976
+ id: string;
1977
+ }[];
1978
+ correctAnswerId: string;
1979
+ questionType: "multiple_choice";
1980
+ prompt: string;
1981
+ subject?: string | undefined;
1982
+ learningObjective?: string | undefined;
1983
+ category?: string | undefined;
1984
+ topic?: string | undefined;
1985
+ difficulty?: "easy" | "medium" | "hard" | undefined;
1986
+ bloomLevel?: string | undefined;
1987
+ points?: number | undefined;
1988
+ explanation?: string | undefined;
1989
+ contextCode?: string | undefined;
1990
+ gradeBand?: string | undefined;
1991
+ course?: string | undefined;
1992
+ glossary?: string[] | undefined;
1993
+ } | {
1994
+ id: string;
1995
+ questionType: "short_answer";
1996
+ prompt: string;
1997
+ acceptedAnswers: string[];
1998
+ subject?: string | undefined;
1999
+ learningObjective?: string | undefined;
2000
+ category?: string | undefined;
2001
+ topic?: string | undefined;
2002
+ difficulty?: "easy" | "medium" | "hard" | undefined;
2003
+ bloomLevel?: string | undefined;
2004
+ points?: number | undefined;
2005
+ explanation?: string | undefined;
2006
+ contextCode?: string | undefined;
2007
+ gradeBand?: string | undefined;
2008
+ course?: string | undefined;
2009
+ isCaseSensitive?: boolean | undefined;
2010
+ glossary?: string[] | undefined;
2011
+ })[];
2012
+ }>;
2013
+ type GenerateQuizFromTextOutput = z.infer<typeof GenerateQuizFromTextOutputSchema>;
2014
+
2015
+ declare function generateQuizFromText(clientInput: GenerateQuizFromTextClientInput, apiKey: string): Promise<GenerateQuizFromTextOutput>;
2016
+
2017
+ export { type AssessAndMapDocumentClientInput, type AssessAndMapDocumentOutput, type BloomLevelStringsForAI, CodingQuestion, FillInTheBlanksQuestion, type GenerateCodingQuestionClientInput, type GenerateCodingQuestionOutput, type GenerateFillInTheBlanksQuestionClientInput, type GenerateFillInTheBlanksQuestionOutput, type GenerateLearningAnalysisClientInput, type GenerateLearningAnalysisOutput, type GenerateMCQQuestionClientInput, type GenerateMCQQuestionOutput, type GenerateMRQQuestionClientInput, type GenerateMRQQuestionOutput, type GenerateMatchingQuestionClientInput, type GenerateMatchingQuestionOutput, type GenerateMotivationalQuoteClientInput, type GenerateMotivationalQuoteOutput, type GenerateNumericQuestionClientInput, type GenerateNumericQuestionOutput, type GeneratePracticeSuggestionClientInput, type GeneratePracticeSuggestionOutput, type GenerateQuestionsFromQuizPlanClientInput, type GenerateQuestionsFromQuizPlanOutput, type GenerateQuizFromTextClientInput, type GenerateQuizFromTextOutput, type GenerateQuizPlanClientInput, type GenerateQuizPlanOutput, type GenerateQuizReviewClientInput, type GenerateQuizReviewOutput, type GenerateSequenceQuestionClientInput, type GenerateSequenceQuestionOutput, type GenerateShortAnswerQuestionClientInput, type GenerateShortAnswerQuestionOutput, type GenerateSingleKnowledgeCardClientInput, type GenerateSingleKnowledgeCardOutput, type GenerateTrueFalseQuestionClientInput, type GenerateTrueFalseQuestionOutput, KnowledgeCard, LearningAnalysis, MatchingQuestion, MultipleChoiceQuestion, MultipleResponseQuestion, NumericQuestion, type PlanKnowledgeCardsClientInput, type PlanKnowledgeCardsOutput, type PlannedQuestion, PracticeSuggestion, QuestionTypeStrings, QuizReviewContent, SequenceQuestion, ShortAnswerQuestion, TrueFalseQuestion, assessAndMapDocument, generateCodingQuestion, generateFillInTheBlanksQuestion, generateLearningAnalysis, generateMCQQuestion, generateMRQQuestion, generateMatchingQuestion, generateMotivationalQuote, generateNumericQuestion, generatePracticeSuggestion, generateQuestionsFromQuizPlan, generateQuizFromText, generateQuizPlan, generateQuizReview, generateSequenceQuestion, generateShortAnswerQuestion, generateSingleKnowledgeCard, generateTrueFalseQuestion, planKnowledgeCards };