@quantiya/codevibe-core 2.0.90 → 2.0.92
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.
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Native async-question closure carriers. These are presentation evidence,
|
|
2
|
+
* never receipts that a particular mobile input executed. */
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
declare const answerSchema: z.ZodObject<{
|
|
5
|
+
answer: z.ZodString;
|
|
6
|
+
question: z.ZodString;
|
|
7
|
+
questionItemId: z.ZodString;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
question: string;
|
|
10
|
+
answer: string;
|
|
11
|
+
questionItemId: string;
|
|
12
|
+
}, {
|
|
13
|
+
question: string;
|
|
14
|
+
answer: string;
|
|
15
|
+
questionItemId: string;
|
|
16
|
+
}>;
|
|
17
|
+
export type CodexNativeQuestionAnswer = z.infer<typeof answerSchema>;
|
|
18
|
+
/** Accept only a complete native carrier. Ordinary, quoted, malformed and
|
|
19
|
+
* mixed-content user messages remain ordinary transcript input. Callers must
|
|
20
|
+
* additionally match thread, exact question identity, title and choices. */
|
|
21
|
+
export declare function parseCodexNativeQuestionAnswers(value: unknown): CodexNativeQuestionAnswer[] | null;
|
|
22
|
+
export {};
|