@thanh01.pmt/interactive-quiz-kit 1.0.25 → 1.0.28

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