@murphai/contracts 0.1.1

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 (89) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +24 -0
  3. package/dist/bank-entities.d.ts +35 -0
  4. package/dist/bank-entities.d.ts.map +1 -0
  5. package/dist/bank-entities.js +164 -0
  6. package/dist/bank-entities.js.map +1 -0
  7. package/dist/command-capabilities.d.ts +50 -0
  8. package/dist/command-capabilities.d.ts.map +1 -0
  9. package/dist/command-capabilities.js +149 -0
  10. package/dist/command-capabilities.js.map +1 -0
  11. package/dist/constants.d.ts +149 -0
  12. package/dist/constants.d.ts.map +1 -0
  13. package/dist/constants.js +232 -0
  14. package/dist/constants.js.map +1 -0
  15. package/dist/examples.d.ts +31 -0
  16. package/dist/examples.d.ts.map +1 -0
  17. package/dist/examples.js +943 -0
  18. package/dist/examples.js.map +1 -0
  19. package/dist/frontmatter.d.ts +28 -0
  20. package/dist/frontmatter.d.ts.map +1 -0
  21. package/dist/frontmatter.js +272 -0
  22. package/dist/frontmatter.js.map +1 -0
  23. package/dist/health-entities.d.ts +87 -0
  24. package/dist/health-entities.d.ts.map +1 -0
  25. package/dist/health-entities.js +349 -0
  26. package/dist/health-entities.js.map +1 -0
  27. package/dist/ids.d.ts +10 -0
  28. package/dist/ids.d.ts.map +1 -0
  29. package/dist/ids.js +27 -0
  30. package/dist/ids.js.map +1 -0
  31. package/dist/index.d.ts +16 -0
  32. package/dist/index.d.ts.map +1 -0
  33. package/dist/index.js +16 -0
  34. package/dist/index.js.map +1 -0
  35. package/dist/registry-helpers.d.ts +31 -0
  36. package/dist/registry-helpers.d.ts.map +1 -0
  37. package/dist/registry-helpers.js +53 -0
  38. package/dist/registry-helpers.js.map +1 -0
  39. package/dist/schemas.d.ts +47 -0
  40. package/dist/schemas.d.ts.map +1 -0
  41. package/dist/schemas.js +50 -0
  42. package/dist/schemas.js.map +1 -0
  43. package/dist/scripts/generate-json-schema.js +13 -0
  44. package/dist/scripts/generate-json-schema.js.map +1 -0
  45. package/dist/scripts/verify.js +230 -0
  46. package/dist/scripts/verify.js.map +1 -0
  47. package/dist/shares.d.ts +715 -0
  48. package/dist/shares.d.ts.map +1 -0
  49. package/dist/shares.js +469 -0
  50. package/dist/shares.js.map +1 -0
  51. package/dist/time.d.ts +25 -0
  52. package/dist/time.d.ts.map +1 -0
  53. package/dist/time.js +241 -0
  54. package/dist/time.js.map +1 -0
  55. package/dist/tsconfig.build.tsbuildinfo +1 -0
  56. package/dist/types.d.ts +34 -0
  57. package/dist/types.d.ts.map +1 -0
  58. package/dist/types.js +2 -0
  59. package/dist/types.js.map +1 -0
  60. package/dist/validate.d.ts +18 -0
  61. package/dist/validate.d.ts.map +1 -0
  62. package/dist/validate.js +129 -0
  63. package/dist/validate.js.map +1 -0
  64. package/dist/zod.d.ts +1626 -0
  65. package/dist/zod.d.ts.map +1 -0
  66. package/dist/zod.js +834 -0
  67. package/dist/zod.js.map +1 -0
  68. package/generated/assessment-response.schema.json +101 -0
  69. package/generated/audit-record.schema.json +141 -0
  70. package/generated/event-record.schema.json +2708 -0
  71. package/generated/frontmatter-allergy.schema.json +82 -0
  72. package/generated/frontmatter-condition.schema.json +101 -0
  73. package/generated/frontmatter-core.schema.json +51 -0
  74. package/generated/frontmatter-experiment.schema.json +70 -0
  75. package/generated/frontmatter-family-member.schema.json +68 -0
  76. package/generated/frontmatter-food.schema.json +128 -0
  77. package/generated/frontmatter-genetic-variant.schema.json +81 -0
  78. package/generated/frontmatter-goal.schema.json +116 -0
  79. package/generated/frontmatter-journal-day.schema.json +52 -0
  80. package/generated/frontmatter-profile-current.schema.json +55 -0
  81. package/generated/frontmatter-protocol.schema.json +153 -0
  82. package/generated/frontmatter-provider.schema.json +81 -0
  83. package/generated/frontmatter-recipe.schema.json +124 -0
  84. package/generated/frontmatter-workout-format.schema.json +163 -0
  85. package/generated/inbox-capture-record.schema.json +332 -0
  86. package/generated/profile-snapshot.schema.json +131 -0
  87. package/generated/sample-record.schema.json +726 -0
  88. package/generated/vault-metadata.schema.json +324 -0
  89. package/package.json +69 -0
package/dist/zod.d.ts ADDED
@@ -0,0 +1,1626 @@
1
+ import * as z from "zod";
2
+ import { ADVERSE_EFFECT_SEVERITIES, ALLERGY_CRITICALITIES, ALLERGY_STATUSES, ASSESSMENT_SOURCES, AUDIT_ACTIONS, AUDIT_ACTORS, AUDIT_STATUSES, BLOOD_TEST_FASTING_STATUSES, BLOOD_TEST_RESULT_FLAGS, CONDITION_CLINICAL_STATUSES, CONDITION_SEVERITIES, CONDITION_VERIFICATION_STATUSES, ERROR_CODE_VALUES, EVENT_KINDS, EVENT_SOURCES, EXPERIMENT_PHASES, EXPERIMENT_STATUSES, FILE_CHANGE_OPERATIONS, FOOD_STATUSES, GOAL_HORIZONS, GOAL_STATUSES, PROFILE_SNAPSHOT_SOURCES, RAW_IMPORT_KINDS, RECIPE_STATUSES, PROTOCOL_KINDS, PROTOCOL_STATUSES, SAMPLE_QUALITIES, SAMPLE_SOURCES, SAMPLE_STREAMS, SLEEP_STAGES, TEST_RESULT_STATUSES, VARIANT_SIGNIFICANCES, VARIANT_ZYGOSITIES } from "./constants.ts";
3
+ export type AssessmentSource = (typeof ASSESSMENT_SOURCES)[number];
4
+ export type EventKind = (typeof EVENT_KINDS)[number];
5
+ export type EventSource = (typeof EVENT_SOURCES)[number];
6
+ export type ExperimentPhase = (typeof EXPERIMENT_PHASES)[number];
7
+ export type GoalHorizon = (typeof GOAL_HORIZONS)[number];
8
+ export type GoalStatus = (typeof GOAL_STATUSES)[number];
9
+ export type RawImportKind = (typeof RAW_IMPORT_KINDS)[number];
10
+ export type ConditionClinicalStatus = (typeof CONDITION_CLINICAL_STATUSES)[number];
11
+ export type ConditionVerificationStatus = (typeof CONDITION_VERIFICATION_STATUSES)[number];
12
+ export type ConditionSeverity = (typeof CONDITION_SEVERITIES)[number];
13
+ export type AllergyStatus = (typeof ALLERGY_STATUSES)[number];
14
+ export type AllergyCriticality = (typeof ALLERGY_CRITICALITIES)[number];
15
+ export type ProfileSnapshotSource = (typeof PROFILE_SNAPSHOT_SOURCES)[number];
16
+ export type FoodStatus = (typeof FOOD_STATUSES)[number];
17
+ export type RecipeStatus = (typeof RECIPE_STATUSES)[number];
18
+ export type ProtocolKind = (typeof PROTOCOL_KINDS)[number];
19
+ export type ProtocolStatus = (typeof PROTOCOL_STATUSES)[number];
20
+ export type SampleStream = (typeof SAMPLE_STREAMS)[number];
21
+ export type SampleSource = (typeof SAMPLE_SOURCES)[number];
22
+ export type SampleQuality = (typeof SAMPLE_QUALITIES)[number];
23
+ export type SleepStage = (typeof SLEEP_STAGES)[number];
24
+ export type TestResultStatus = (typeof TEST_RESULT_STATUSES)[number];
25
+ export type BloodTestFastingStatus = (typeof BLOOD_TEST_FASTING_STATUSES)[number];
26
+ export type BloodTestResultFlag = (typeof BLOOD_TEST_RESULT_FLAGS)[number];
27
+ export type AdverseEffectSeverity = (typeof ADVERSE_EFFECT_SEVERITIES)[number];
28
+ export type VariantZygosity = (typeof VARIANT_ZYGOSITIES)[number];
29
+ export type VariantSignificance = (typeof VARIANT_SIGNIFICANCES)[number];
30
+ export type AuditAction = (typeof AUDIT_ACTIONS)[number];
31
+ export type AuditActor = (typeof AUDIT_ACTORS)[number];
32
+ export type AuditStatus = (typeof AUDIT_STATUSES)[number];
33
+ export type FileChangeOperation = (typeof FILE_CHANGE_OPERATIONS)[number];
34
+ export type ExperimentStatus = (typeof EXPERIMENT_STATUSES)[number];
35
+ export type ErrorCodeValue = (typeof ERROR_CODE_VALUES)[number];
36
+ export type JsonPrimitive = string | number | boolean | null;
37
+ export type JsonValue = JsonPrimitive | JsonObject | JsonValue[];
38
+ export interface JsonObject {
39
+ [key: string]: JsonValue;
40
+ }
41
+ export declare const FAMILY_MEMBER_LIMITS: Readonly<{
42
+ readonly title: 160;
43
+ readonly relationship: 120;
44
+ readonly condition: 160;
45
+ readonly note: 4000;
46
+ }>;
47
+ export declare const GENETIC_VARIANT_LIMITS: Readonly<{
48
+ readonly title: 160;
49
+ readonly gene: 40;
50
+ readonly inheritance: 120;
51
+ readonly note: 4000;
52
+ }>;
53
+ export declare const jsonObjectSchema: z.ZodType<JsonObject>;
54
+ export declare const externalRefSchema: z.ZodObject<{
55
+ system: z.ZodString;
56
+ resourceType: z.ZodString;
57
+ resourceId: z.ZodString;
58
+ version: z.ZodOptional<z.ZodString>;
59
+ facet: z.ZodOptional<z.ZodString>;
60
+ }, z.core.$strict>;
61
+ export declare const activityStrengthExerciseSchema: z.ZodUnion<readonly [z.ZodObject<{
62
+ exercise: z.ZodString;
63
+ setCount: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
64
+ repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
65
+ loadDescription: z.ZodOptional<z.ZodString>;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ load: z.ZodNumber;
68
+ loadUnit: z.ZodEnum<{
69
+ lb: "lb";
70
+ kg: "kg";
71
+ }>;
72
+ exercise: z.ZodString;
73
+ setCount: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
74
+ repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
75
+ loadDescription: z.ZodOptional<z.ZodString>;
76
+ }, z.core.$strict>]>;
77
+ export declare const bloodTestReferenceRangeSchema: z.ZodObject<{
78
+ low: z.ZodOptional<z.ZodNumber>;
79
+ high: z.ZodOptional<z.ZodNumber>;
80
+ text: z.ZodOptional<z.ZodString>;
81
+ }, z.core.$strict>;
82
+ export declare const bloodTestResultSchema: z.ZodObject<{
83
+ analyte: z.ZodString;
84
+ slug: z.ZodOptional<z.ZodString>;
85
+ value: z.ZodOptional<z.ZodNumber>;
86
+ textValue: z.ZodOptional<z.ZodString>;
87
+ comparator: z.ZodOptional<z.ZodEnum<{
88
+ "<": "<";
89
+ "<=": "<=";
90
+ ">": ">";
91
+ ">=": ">=";
92
+ }>>;
93
+ unit: z.ZodOptional<z.ZodString>;
94
+ flag: z.ZodOptional<z.ZodEnum<{
95
+ low: "low";
96
+ high: "high";
97
+ normal: "normal";
98
+ abnormal: "abnormal";
99
+ unknown: "unknown";
100
+ critical: "critical";
101
+ }>>;
102
+ biomarkerSlug: z.ZodOptional<z.ZodString>;
103
+ referenceRange: z.ZodOptional<z.ZodObject<{
104
+ low: z.ZodOptional<z.ZodNumber>;
105
+ high: z.ZodOptional<z.ZodNumber>;
106
+ text: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strict>>;
108
+ note: z.ZodOptional<z.ZodString>;
109
+ }, z.core.$strict>;
110
+ export declare const vaultMetadataSchema: z.ZodObject<{
111
+ schemaVersion: z.ZodLiteral<"murph.vault.v1">;
112
+ vaultId: z.ZodString;
113
+ createdAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
114
+ title: z.ZodString;
115
+ timezone: z.ZodString;
116
+ idPolicy: z.ZodObject<{
117
+ format: z.ZodLiteral<"prefix_ulid">;
118
+ prefixes: z.ZodObject<{
119
+ allergy: z.ZodLiteral<"alg">;
120
+ assessment: z.ZodLiteral<"asmt">;
121
+ audit: z.ZodLiteral<"aud">;
122
+ condition: z.ZodLiteral<"cond">;
123
+ document: z.ZodLiteral<"doc">;
124
+ event: z.ZodLiteral<"evt">;
125
+ experiment: z.ZodLiteral<"exp">;
126
+ family: z.ZodLiteral<"fam">;
127
+ food: z.ZodLiteral<"food">;
128
+ goal: z.ZodLiteral<"goal">;
129
+ meal: z.ZodLiteral<"meal">;
130
+ pack: z.ZodLiteral<"pack">;
131
+ profileSnapshot: z.ZodLiteral<"psnap">;
132
+ provider: z.ZodLiteral<"prov">;
133
+ recipe: z.ZodLiteral<"rcp">;
134
+ protocol: z.ZodLiteral<"prot">;
135
+ sample: z.ZodLiteral<"smp">;
136
+ transform: z.ZodLiteral<"xfm">;
137
+ variant: z.ZodLiteral<"var">;
138
+ vault: z.ZodLiteral<"vault">;
139
+ workoutFormat: z.ZodLiteral<"wfmt">;
140
+ }, z.core.$strict>;
141
+ }, z.core.$strict>;
142
+ paths: z.ZodObject<{
143
+ allergiesRoot: z.ZodLiteral<"bank/allergies">;
144
+ assessmentLedgerRoot: z.ZodLiteral<"ledger/assessments">;
145
+ conditionsRoot: z.ZodLiteral<"bank/conditions">;
146
+ coreDocument: z.ZodLiteral<"CORE.md">;
147
+ familyRoot: z.ZodLiteral<"bank/family">;
148
+ foodsRoot: z.ZodLiteral<"bank/foods">;
149
+ geneticsRoot: z.ZodLiteral<"bank/genetics">;
150
+ goalsRoot: z.ZodLiteral<"bank/goals">;
151
+ journalRoot: z.ZodLiteral<"journal">;
152
+ experimentsRoot: z.ZodLiteral<"bank/experiments">;
153
+ profileCurrentDocument: z.ZodLiteral<"bank/profile/current.md">;
154
+ profileRoot: z.ZodLiteral<"bank/profile">;
155
+ profileSnapshotsRoot: z.ZodLiteral<"ledger/profile-snapshots">;
156
+ providersRoot: z.ZodLiteral<"bank/providers">;
157
+ recipesRoot: z.ZodLiteral<"bank/recipes">;
158
+ workoutFormatsRoot: z.ZodLiteral<"bank/workout-formats">;
159
+ rawAssessmentsRoot: z.ZodLiteral<"raw/assessments">;
160
+ rawRoot: z.ZodLiteral<"raw">;
161
+ eventsRoot: z.ZodLiteral<"ledger/events">;
162
+ protocolsRoot: z.ZodLiteral<"bank/protocols">;
163
+ samplesRoot: z.ZodLiteral<"ledger/samples">;
164
+ auditRoot: z.ZodLiteral<"audit">;
165
+ exportsRoot: z.ZodLiteral<"exports">;
166
+ }, z.core.$strict>;
167
+ shards: z.ZodObject<{
168
+ assessments: z.ZodLiteral<"ledger/assessments/YYYY/YYYY-MM.jsonl">;
169
+ events: z.ZodLiteral<"ledger/events/YYYY/YYYY-MM.jsonl">;
170
+ profileSnapshots: z.ZodLiteral<"ledger/profile-snapshots/YYYY/YYYY-MM.jsonl">;
171
+ samples: z.ZodLiteral<"ledger/samples/<stream>/YYYY/YYYY-MM.jsonl">;
172
+ audit: z.ZodLiteral<"audit/YYYY/YYYY-MM.jsonl">;
173
+ }, z.core.$strict>;
174
+ }, z.core.$strict>;
175
+ export declare const eventRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
176
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
177
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
178
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
179
+ externalRef: z.ZodOptional<z.ZodObject<{
180
+ system: z.ZodString;
181
+ resourceType: z.ZodString;
182
+ resourceId: z.ZodString;
183
+ version: z.ZodOptional<z.ZodString>;
184
+ facet: z.ZodOptional<z.ZodString>;
185
+ }, z.core.$strict>>;
186
+ lifecycle: z.ZodOptional<z.ZodObject<{
187
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
188
+ state: z.ZodOptional<z.ZodEnum<{
189
+ deleted: "deleted";
190
+ }>>;
191
+ }, z.core.$strict>>;
192
+ timeZone: z.ZodOptional<z.ZodString>;
193
+ kind: z.ZodLiteral<"document">;
194
+ note: z.ZodOptional<z.ZodString>;
195
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
196
+ id: z.ZodString;
197
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
198
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
199
+ dayKey: z.ZodString;
200
+ source: z.ZodEnum<{
201
+ manual: "manual";
202
+ import: "import";
203
+ device: "device";
204
+ derived: "derived";
205
+ }>;
206
+ title: z.ZodString;
207
+ documentId: z.ZodString;
208
+ documentPath: z.ZodString;
209
+ mimeType: z.ZodString;
210
+ providerId: z.ZodOptional<z.ZodString>;
211
+ }, z.core.$strict>, z.ZodObject<{
212
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
213
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
214
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
215
+ externalRef: z.ZodOptional<z.ZodObject<{
216
+ system: z.ZodString;
217
+ resourceType: z.ZodString;
218
+ resourceId: z.ZodString;
219
+ version: z.ZodOptional<z.ZodString>;
220
+ facet: z.ZodOptional<z.ZodString>;
221
+ }, z.core.$strict>>;
222
+ lifecycle: z.ZodOptional<z.ZodObject<{
223
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
224
+ state: z.ZodOptional<z.ZodEnum<{
225
+ deleted: "deleted";
226
+ }>>;
227
+ }, z.core.$strict>>;
228
+ timeZone: z.ZodOptional<z.ZodString>;
229
+ kind: z.ZodLiteral<"encounter">;
230
+ note: z.ZodOptional<z.ZodString>;
231
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
232
+ id: z.ZodString;
233
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
234
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
235
+ dayKey: z.ZodString;
236
+ source: z.ZodEnum<{
237
+ manual: "manual";
238
+ import: "import";
239
+ device: "device";
240
+ derived: "derived";
241
+ }>;
242
+ title: z.ZodString;
243
+ encounterType: z.ZodString;
244
+ location: z.ZodOptional<z.ZodString>;
245
+ providerId: z.ZodOptional<z.ZodString>;
246
+ }, z.core.$strict>, z.ZodObject<{
247
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
248
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
249
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
250
+ externalRef: z.ZodOptional<z.ZodObject<{
251
+ system: z.ZodString;
252
+ resourceType: z.ZodString;
253
+ resourceId: z.ZodString;
254
+ version: z.ZodOptional<z.ZodString>;
255
+ facet: z.ZodOptional<z.ZodString>;
256
+ }, z.core.$strict>>;
257
+ lifecycle: z.ZodOptional<z.ZodObject<{
258
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
259
+ state: z.ZodOptional<z.ZodEnum<{
260
+ deleted: "deleted";
261
+ }>>;
262
+ }, z.core.$strict>>;
263
+ timeZone: z.ZodOptional<z.ZodString>;
264
+ kind: z.ZodLiteral<"meal">;
265
+ note: z.ZodOptional<z.ZodString>;
266
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
267
+ id: z.ZodString;
268
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
269
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
270
+ dayKey: z.ZodString;
271
+ source: z.ZodEnum<{
272
+ manual: "manual";
273
+ import: "import";
274
+ device: "device";
275
+ derived: "derived";
276
+ }>;
277
+ title: z.ZodString;
278
+ mealId: z.ZodString;
279
+ photoPaths: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
280
+ audioPaths: z.ZodArray<z.ZodString>;
281
+ ingredients: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
282
+ }, z.core.$strict>, z.ZodObject<{
283
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
284
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
285
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
286
+ externalRef: z.ZodOptional<z.ZodObject<{
287
+ system: z.ZodString;
288
+ resourceType: z.ZodString;
289
+ resourceId: z.ZodString;
290
+ version: z.ZodOptional<z.ZodString>;
291
+ facet: z.ZodOptional<z.ZodString>;
292
+ }, z.core.$strict>>;
293
+ lifecycle: z.ZodOptional<z.ZodObject<{
294
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
295
+ state: z.ZodOptional<z.ZodEnum<{
296
+ deleted: "deleted";
297
+ }>>;
298
+ }, z.core.$strict>>;
299
+ timeZone: z.ZodOptional<z.ZodString>;
300
+ kind: z.ZodLiteral<"symptom">;
301
+ note: z.ZodOptional<z.ZodString>;
302
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
303
+ id: z.ZodString;
304
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
305
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
306
+ dayKey: z.ZodString;
307
+ source: z.ZodEnum<{
308
+ manual: "manual";
309
+ import: "import";
310
+ device: "device";
311
+ derived: "derived";
312
+ }>;
313
+ title: z.ZodString;
314
+ symptom: z.ZodString;
315
+ intensity: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
316
+ bodySite: z.ZodOptional<z.ZodString>;
317
+ }, z.core.$strict>, z.ZodObject<{
318
+ note: z.ZodString;
319
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
320
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
321
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
322
+ externalRef: z.ZodOptional<z.ZodObject<{
323
+ system: z.ZodString;
324
+ resourceType: z.ZodString;
325
+ resourceId: z.ZodString;
326
+ version: z.ZodOptional<z.ZodString>;
327
+ facet: z.ZodOptional<z.ZodString>;
328
+ }, z.core.$strict>>;
329
+ lifecycle: z.ZodOptional<z.ZodObject<{
330
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
331
+ state: z.ZodOptional<z.ZodEnum<{
332
+ deleted: "deleted";
333
+ }>>;
334
+ }, z.core.$strict>>;
335
+ timeZone: z.ZodOptional<z.ZodString>;
336
+ kind: z.ZodLiteral<"note">;
337
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
338
+ id: z.ZodString;
339
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
340
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
341
+ dayKey: z.ZodString;
342
+ source: z.ZodEnum<{
343
+ manual: "manual";
344
+ import: "import";
345
+ device: "device";
346
+ derived: "derived";
347
+ }>;
348
+ title: z.ZodString;
349
+ }, z.core.$strict>, z.ZodObject<{
350
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
351
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
352
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
353
+ externalRef: z.ZodOptional<z.ZodObject<{
354
+ system: z.ZodString;
355
+ resourceType: z.ZodString;
356
+ resourceId: z.ZodString;
357
+ version: z.ZodOptional<z.ZodString>;
358
+ facet: z.ZodOptional<z.ZodString>;
359
+ }, z.core.$strict>>;
360
+ lifecycle: z.ZodOptional<z.ZodObject<{
361
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
362
+ state: z.ZodOptional<z.ZodEnum<{
363
+ deleted: "deleted";
364
+ }>>;
365
+ }, z.core.$strict>>;
366
+ timeZone: z.ZodOptional<z.ZodString>;
367
+ kind: z.ZodLiteral<"observation">;
368
+ note: z.ZodOptional<z.ZodString>;
369
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
370
+ id: z.ZodString;
371
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
372
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
373
+ dayKey: z.ZodString;
374
+ source: z.ZodEnum<{
375
+ manual: "manual";
376
+ import: "import";
377
+ device: "device";
378
+ derived: "derived";
379
+ }>;
380
+ title: z.ZodString;
381
+ metric: z.ZodString;
382
+ value: z.ZodNumber;
383
+ unit: z.ZodString;
384
+ }, z.core.$strict>, z.ZodObject<{
385
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
386
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
387
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
388
+ externalRef: z.ZodOptional<z.ZodObject<{
389
+ system: z.ZodString;
390
+ resourceType: z.ZodString;
391
+ resourceId: z.ZodString;
392
+ version: z.ZodOptional<z.ZodString>;
393
+ facet: z.ZodOptional<z.ZodString>;
394
+ }, z.core.$strict>>;
395
+ lifecycle: z.ZodOptional<z.ZodObject<{
396
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
397
+ state: z.ZodOptional<z.ZodEnum<{
398
+ deleted: "deleted";
399
+ }>>;
400
+ }, z.core.$strict>>;
401
+ timeZone: z.ZodOptional<z.ZodString>;
402
+ kind: z.ZodLiteral<"experiment_event">;
403
+ note: z.ZodOptional<z.ZodString>;
404
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
405
+ id: z.ZodString;
406
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
407
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
408
+ dayKey: z.ZodString;
409
+ source: z.ZodEnum<{
410
+ manual: "manual";
411
+ import: "import";
412
+ device: "device";
413
+ derived: "derived";
414
+ }>;
415
+ title: z.ZodString;
416
+ experimentId: z.ZodString;
417
+ experimentSlug: z.ZodString;
418
+ phase: z.ZodEnum<{
419
+ start: "start";
420
+ checkpoint: "checkpoint";
421
+ stop: "stop";
422
+ }>;
423
+ }, z.core.$strict>, z.ZodObject<{
424
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
425
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
426
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
427
+ externalRef: z.ZodOptional<z.ZodObject<{
428
+ system: z.ZodString;
429
+ resourceType: z.ZodString;
430
+ resourceId: z.ZodString;
431
+ version: z.ZodOptional<z.ZodString>;
432
+ facet: z.ZodOptional<z.ZodString>;
433
+ }, z.core.$strict>>;
434
+ lifecycle: z.ZodOptional<z.ZodObject<{
435
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
436
+ state: z.ZodOptional<z.ZodEnum<{
437
+ deleted: "deleted";
438
+ }>>;
439
+ }, z.core.$strict>>;
440
+ timeZone: z.ZodOptional<z.ZodString>;
441
+ kind: z.ZodLiteral<"medication_intake">;
442
+ note: z.ZodOptional<z.ZodString>;
443
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
444
+ id: z.ZodString;
445
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
446
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
447
+ dayKey: z.ZodString;
448
+ source: z.ZodEnum<{
449
+ manual: "manual";
450
+ import: "import";
451
+ device: "device";
452
+ derived: "derived";
453
+ }>;
454
+ title: z.ZodString;
455
+ medicationName: z.ZodString;
456
+ dose: z.ZodNumber;
457
+ unit: z.ZodString;
458
+ }, z.core.$strict>, z.ZodObject<{
459
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
460
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
461
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
462
+ externalRef: z.ZodOptional<z.ZodObject<{
463
+ system: z.ZodString;
464
+ resourceType: z.ZodString;
465
+ resourceId: z.ZodString;
466
+ version: z.ZodOptional<z.ZodString>;
467
+ facet: z.ZodOptional<z.ZodString>;
468
+ }, z.core.$strict>>;
469
+ lifecycle: z.ZodOptional<z.ZodObject<{
470
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
471
+ state: z.ZodOptional<z.ZodEnum<{
472
+ deleted: "deleted";
473
+ }>>;
474
+ }, z.core.$strict>>;
475
+ timeZone: z.ZodOptional<z.ZodString>;
476
+ kind: z.ZodLiteral<"procedure">;
477
+ note: z.ZodOptional<z.ZodString>;
478
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
479
+ id: z.ZodString;
480
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
481
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
482
+ dayKey: z.ZodString;
483
+ source: z.ZodEnum<{
484
+ manual: "manual";
485
+ import: "import";
486
+ device: "device";
487
+ derived: "derived";
488
+ }>;
489
+ title: z.ZodString;
490
+ procedure: z.ZodString;
491
+ status: z.ZodString;
492
+ }, z.core.$strict>, z.ZodObject<{
493
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
494
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
495
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
496
+ externalRef: z.ZodOptional<z.ZodObject<{
497
+ system: z.ZodString;
498
+ resourceType: z.ZodString;
499
+ resourceId: z.ZodString;
500
+ version: z.ZodOptional<z.ZodString>;
501
+ facet: z.ZodOptional<z.ZodString>;
502
+ }, z.core.$strict>>;
503
+ lifecycle: z.ZodOptional<z.ZodObject<{
504
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
505
+ state: z.ZodOptional<z.ZodEnum<{
506
+ deleted: "deleted";
507
+ }>>;
508
+ }, z.core.$strict>>;
509
+ timeZone: z.ZodOptional<z.ZodString>;
510
+ kind: z.ZodLiteral<"supplement_intake">;
511
+ note: z.ZodOptional<z.ZodString>;
512
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
513
+ id: z.ZodString;
514
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
515
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
516
+ dayKey: z.ZodString;
517
+ source: z.ZodEnum<{
518
+ manual: "manual";
519
+ import: "import";
520
+ device: "device";
521
+ derived: "derived";
522
+ }>;
523
+ title: z.ZodString;
524
+ supplementName: z.ZodString;
525
+ dose: z.ZodNumber;
526
+ unit: z.ZodString;
527
+ }, z.core.$strict>, z.ZodObject<{
528
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
529
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
530
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
531
+ externalRef: z.ZodOptional<z.ZodObject<{
532
+ system: z.ZodString;
533
+ resourceType: z.ZodString;
534
+ resourceId: z.ZodString;
535
+ version: z.ZodOptional<z.ZodString>;
536
+ facet: z.ZodOptional<z.ZodString>;
537
+ }, z.core.$strict>>;
538
+ lifecycle: z.ZodOptional<z.ZodObject<{
539
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
540
+ state: z.ZodOptional<z.ZodEnum<{
541
+ deleted: "deleted";
542
+ }>>;
543
+ }, z.core.$strict>>;
544
+ timeZone: z.ZodOptional<z.ZodString>;
545
+ kind: z.ZodLiteral<"test">;
546
+ note: z.ZodOptional<z.ZodString>;
547
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
548
+ id: z.ZodString;
549
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
550
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
551
+ dayKey: z.ZodString;
552
+ source: z.ZodEnum<{
553
+ manual: "manual";
554
+ import: "import";
555
+ device: "device";
556
+ derived: "derived";
557
+ }>;
558
+ title: z.ZodString;
559
+ testName: z.ZodString;
560
+ resultStatus: z.ZodEnum<{
561
+ pending: "pending";
562
+ normal: "normal";
563
+ abnormal: "abnormal";
564
+ mixed: "mixed";
565
+ unknown: "unknown";
566
+ }>;
567
+ summary: z.ZodOptional<z.ZodString>;
568
+ testCategory: z.ZodOptional<z.ZodString>;
569
+ specimenType: z.ZodOptional<z.ZodString>;
570
+ labName: z.ZodOptional<z.ZodString>;
571
+ labPanelId: z.ZodOptional<z.ZodString>;
572
+ collectedAt: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
573
+ reportedAt: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
574
+ fastingStatus: z.ZodOptional<z.ZodEnum<{
575
+ unknown: "unknown";
576
+ fasting: "fasting";
577
+ non_fasting: "non_fasting";
578
+ }>>;
579
+ results: z.ZodOptional<z.ZodArray<z.ZodObject<{
580
+ analyte: z.ZodString;
581
+ slug: z.ZodOptional<z.ZodString>;
582
+ value: z.ZodOptional<z.ZodNumber>;
583
+ textValue: z.ZodOptional<z.ZodString>;
584
+ comparator: z.ZodOptional<z.ZodEnum<{
585
+ "<": "<";
586
+ "<=": "<=";
587
+ ">": ">";
588
+ ">=": ">=";
589
+ }>>;
590
+ unit: z.ZodOptional<z.ZodString>;
591
+ flag: z.ZodOptional<z.ZodEnum<{
592
+ low: "low";
593
+ high: "high";
594
+ normal: "normal";
595
+ abnormal: "abnormal";
596
+ unknown: "unknown";
597
+ critical: "critical";
598
+ }>>;
599
+ biomarkerSlug: z.ZodOptional<z.ZodString>;
600
+ referenceRange: z.ZodOptional<z.ZodObject<{
601
+ low: z.ZodOptional<z.ZodNumber>;
602
+ high: z.ZodOptional<z.ZodNumber>;
603
+ text: z.ZodOptional<z.ZodString>;
604
+ }, z.core.$strict>>;
605
+ note: z.ZodOptional<z.ZodString>;
606
+ }, z.core.$strict>>>;
607
+ }, z.core.$strict>, z.ZodObject<{
608
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
609
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
610
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
611
+ externalRef: z.ZodOptional<z.ZodObject<{
612
+ system: z.ZodString;
613
+ resourceType: z.ZodString;
614
+ resourceId: z.ZodString;
615
+ version: z.ZodOptional<z.ZodString>;
616
+ facet: z.ZodOptional<z.ZodString>;
617
+ }, z.core.$strict>>;
618
+ lifecycle: z.ZodOptional<z.ZodObject<{
619
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
620
+ state: z.ZodOptional<z.ZodEnum<{
621
+ deleted: "deleted";
622
+ }>>;
623
+ }, z.core.$strict>>;
624
+ timeZone: z.ZodOptional<z.ZodString>;
625
+ kind: z.ZodLiteral<"activity_session">;
626
+ note: z.ZodOptional<z.ZodString>;
627
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
628
+ id: z.ZodString;
629
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
630
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
631
+ dayKey: z.ZodString;
632
+ source: z.ZodEnum<{
633
+ manual: "manual";
634
+ import: "import";
635
+ device: "device";
636
+ derived: "derived";
637
+ }>;
638
+ title: z.ZodString;
639
+ activityType: z.ZodString;
640
+ durationMinutes: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
641
+ distanceKm: z.ZodOptional<z.ZodNumber>;
642
+ strengthExercises: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
643
+ exercise: z.ZodString;
644
+ setCount: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
645
+ repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
646
+ loadDescription: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strict>, z.ZodObject<{
648
+ load: z.ZodNumber;
649
+ loadUnit: z.ZodEnum<{
650
+ lb: "lb";
651
+ kg: "kg";
652
+ }>;
653
+ exercise: z.ZodString;
654
+ setCount: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
655
+ repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
656
+ loadDescription: z.ZodOptional<z.ZodString>;
657
+ }, z.core.$strict>]>>>;
658
+ }, z.core.$strict>, z.ZodObject<{
659
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
660
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
661
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
662
+ externalRef: z.ZodOptional<z.ZodObject<{
663
+ system: z.ZodString;
664
+ resourceType: z.ZodString;
665
+ resourceId: z.ZodString;
666
+ version: z.ZodOptional<z.ZodString>;
667
+ facet: z.ZodOptional<z.ZodString>;
668
+ }, z.core.$strict>>;
669
+ lifecycle: z.ZodOptional<z.ZodObject<{
670
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
671
+ state: z.ZodOptional<z.ZodEnum<{
672
+ deleted: "deleted";
673
+ }>>;
674
+ }, z.core.$strict>>;
675
+ timeZone: z.ZodOptional<z.ZodString>;
676
+ kind: z.ZodLiteral<"sleep_session">;
677
+ note: z.ZodOptional<z.ZodString>;
678
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
679
+ id: z.ZodString;
680
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
681
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
682
+ dayKey: z.ZodString;
683
+ source: z.ZodEnum<{
684
+ manual: "manual";
685
+ import: "import";
686
+ device: "device";
687
+ derived: "derived";
688
+ }>;
689
+ title: z.ZodString;
690
+ startAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
691
+ endAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
692
+ durationMinutes: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
693
+ }, z.core.$strict>, z.ZodObject<{
694
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
695
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
696
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
697
+ externalRef: z.ZodOptional<z.ZodObject<{
698
+ system: z.ZodString;
699
+ resourceType: z.ZodString;
700
+ resourceId: z.ZodString;
701
+ version: z.ZodOptional<z.ZodString>;
702
+ facet: z.ZodOptional<z.ZodString>;
703
+ }, z.core.$strict>>;
704
+ lifecycle: z.ZodOptional<z.ZodObject<{
705
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
706
+ state: z.ZodOptional<z.ZodEnum<{
707
+ deleted: "deleted";
708
+ }>>;
709
+ }, z.core.$strict>>;
710
+ timeZone: z.ZodOptional<z.ZodString>;
711
+ kind: z.ZodLiteral<"intervention_session">;
712
+ note: z.ZodOptional<z.ZodString>;
713
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
714
+ id: z.ZodString;
715
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
716
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
717
+ dayKey: z.ZodString;
718
+ source: z.ZodEnum<{
719
+ manual: "manual";
720
+ import: "import";
721
+ device: "device";
722
+ derived: "derived";
723
+ }>;
724
+ title: z.ZodString;
725
+ interventionType: z.ZodString;
726
+ durationMinutes: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
727
+ protocolId: z.ZodOptional<z.ZodString>;
728
+ }, z.core.$strict>, z.ZodObject<{
729
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
730
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
731
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
732
+ externalRef: z.ZodOptional<z.ZodObject<{
733
+ system: z.ZodString;
734
+ resourceType: z.ZodString;
735
+ resourceId: z.ZodString;
736
+ version: z.ZodOptional<z.ZodString>;
737
+ facet: z.ZodOptional<z.ZodString>;
738
+ }, z.core.$strict>>;
739
+ lifecycle: z.ZodOptional<z.ZodObject<{
740
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
741
+ state: z.ZodOptional<z.ZodEnum<{
742
+ deleted: "deleted";
743
+ }>>;
744
+ }, z.core.$strict>>;
745
+ timeZone: z.ZodOptional<z.ZodString>;
746
+ kind: z.ZodLiteral<"adverse_effect">;
747
+ note: z.ZodOptional<z.ZodString>;
748
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
749
+ id: z.ZodString;
750
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
751
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
752
+ dayKey: z.ZodString;
753
+ source: z.ZodEnum<{
754
+ manual: "manual";
755
+ import: "import";
756
+ device: "device";
757
+ derived: "derived";
758
+ }>;
759
+ title: z.ZodString;
760
+ substance: z.ZodString;
761
+ effect: z.ZodString;
762
+ severity: z.ZodEnum<{
763
+ mild: "mild";
764
+ moderate: "moderate";
765
+ severe: "severe";
766
+ }>;
767
+ }, z.core.$strict>, z.ZodObject<{
768
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
769
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
770
+ rawRefs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
771
+ externalRef: z.ZodOptional<z.ZodObject<{
772
+ system: z.ZodString;
773
+ resourceType: z.ZodString;
774
+ resourceId: z.ZodString;
775
+ version: z.ZodOptional<z.ZodString>;
776
+ facet: z.ZodOptional<z.ZodString>;
777
+ }, z.core.$strict>>;
778
+ lifecycle: z.ZodOptional<z.ZodObject<{
779
+ revision: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
780
+ state: z.ZodOptional<z.ZodEnum<{
781
+ deleted: "deleted";
782
+ }>>;
783
+ }, z.core.$strict>>;
784
+ timeZone: z.ZodOptional<z.ZodString>;
785
+ kind: z.ZodLiteral<"exposure">;
786
+ note: z.ZodOptional<z.ZodString>;
787
+ schemaVersion: z.ZodLiteral<"murph.event.v1">;
788
+ id: z.ZodString;
789
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
790
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
791
+ dayKey: z.ZodString;
792
+ source: z.ZodEnum<{
793
+ manual: "manual";
794
+ import: "import";
795
+ device: "device";
796
+ derived: "derived";
797
+ }>;
798
+ title: z.ZodString;
799
+ exposureType: z.ZodString;
800
+ substance: z.ZodString;
801
+ duration: z.ZodOptional<z.ZodString>;
802
+ }, z.core.$strict>], "kind">;
803
+ export declare const sampleRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
804
+ externalRef: z.ZodOptional<z.ZodObject<{
805
+ system: z.ZodString;
806
+ resourceType: z.ZodString;
807
+ resourceId: z.ZodString;
808
+ version: z.ZodOptional<z.ZodString>;
809
+ facet: z.ZodOptional<z.ZodString>;
810
+ }, z.core.$strict>>;
811
+ timeZone: z.ZodOptional<z.ZodString>;
812
+ stream: z.ZodLiteral<"heart_rate">;
813
+ schemaVersion: z.ZodLiteral<"murph.sample.v1">;
814
+ id: z.ZodString;
815
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
816
+ dayKey: z.ZodString;
817
+ source: z.ZodEnum<{
818
+ manual: "manual";
819
+ import: "import";
820
+ device: "device";
821
+ derived: "derived";
822
+ }>;
823
+ quality: z.ZodEnum<{
824
+ derived: "derived";
825
+ raw: "raw";
826
+ normalized: "normalized";
827
+ }>;
828
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
829
+ unit: z.ZodLiteral<"bpm">;
830
+ }, z.core.$strict>, z.ZodObject<{
831
+ externalRef: z.ZodOptional<z.ZodObject<{
832
+ system: z.ZodString;
833
+ resourceType: z.ZodString;
834
+ resourceId: z.ZodString;
835
+ version: z.ZodOptional<z.ZodString>;
836
+ facet: z.ZodOptional<z.ZodString>;
837
+ }, z.core.$strict>>;
838
+ timeZone: z.ZodOptional<z.ZodString>;
839
+ stream: z.ZodLiteral<"hrv">;
840
+ schemaVersion: z.ZodLiteral<"murph.sample.v1">;
841
+ id: z.ZodString;
842
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
843
+ dayKey: z.ZodString;
844
+ source: z.ZodEnum<{
845
+ manual: "manual";
846
+ import: "import";
847
+ device: "device";
848
+ derived: "derived";
849
+ }>;
850
+ quality: z.ZodEnum<{
851
+ derived: "derived";
852
+ raw: "raw";
853
+ normalized: "normalized";
854
+ }>;
855
+ value: z.ZodNumber;
856
+ unit: z.ZodLiteral<"ms">;
857
+ }, z.core.$strict>, z.ZodObject<{
858
+ externalRef: z.ZodOptional<z.ZodObject<{
859
+ system: z.ZodString;
860
+ resourceType: z.ZodString;
861
+ resourceId: z.ZodString;
862
+ version: z.ZodOptional<z.ZodString>;
863
+ facet: z.ZodOptional<z.ZodString>;
864
+ }, z.core.$strict>>;
865
+ timeZone: z.ZodOptional<z.ZodString>;
866
+ stream: z.ZodLiteral<"steps">;
867
+ schemaVersion: z.ZodLiteral<"murph.sample.v1">;
868
+ id: z.ZodString;
869
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
870
+ dayKey: z.ZodString;
871
+ source: z.ZodEnum<{
872
+ manual: "manual";
873
+ import: "import";
874
+ device: "device";
875
+ derived: "derived";
876
+ }>;
877
+ quality: z.ZodEnum<{
878
+ derived: "derived";
879
+ raw: "raw";
880
+ normalized: "normalized";
881
+ }>;
882
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
883
+ unit: z.ZodLiteral<"count">;
884
+ }, z.core.$strict>, z.ZodObject<{
885
+ externalRef: z.ZodOptional<z.ZodObject<{
886
+ system: z.ZodString;
887
+ resourceType: z.ZodString;
888
+ resourceId: z.ZodString;
889
+ version: z.ZodOptional<z.ZodString>;
890
+ facet: z.ZodOptional<z.ZodString>;
891
+ }, z.core.$strict>>;
892
+ timeZone: z.ZodOptional<z.ZodString>;
893
+ stream: z.ZodLiteral<"sleep_stage">;
894
+ schemaVersion: z.ZodLiteral<"murph.sample.v1">;
895
+ id: z.ZodString;
896
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
897
+ dayKey: z.ZodString;
898
+ source: z.ZodEnum<{
899
+ manual: "manual";
900
+ import: "import";
901
+ device: "device";
902
+ derived: "derived";
903
+ }>;
904
+ quality: z.ZodEnum<{
905
+ derived: "derived";
906
+ raw: "raw";
907
+ normalized: "normalized";
908
+ }>;
909
+ stage: z.ZodEnum<{
910
+ awake: "awake";
911
+ light: "light";
912
+ deep: "deep";
913
+ rem: "rem";
914
+ }>;
915
+ startAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
916
+ endAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
917
+ durationMinutes: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
918
+ unit: z.ZodLiteral<"stage">;
919
+ }, z.core.$strict>, z.ZodObject<{
920
+ externalRef: z.ZodOptional<z.ZodObject<{
921
+ system: z.ZodString;
922
+ resourceType: z.ZodString;
923
+ resourceId: z.ZodString;
924
+ version: z.ZodOptional<z.ZodString>;
925
+ facet: z.ZodOptional<z.ZodString>;
926
+ }, z.core.$strict>>;
927
+ timeZone: z.ZodOptional<z.ZodString>;
928
+ stream: z.ZodLiteral<"respiratory_rate">;
929
+ schemaVersion: z.ZodLiteral<"murph.sample.v1">;
930
+ id: z.ZodString;
931
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
932
+ dayKey: z.ZodString;
933
+ source: z.ZodEnum<{
934
+ manual: "manual";
935
+ import: "import";
936
+ device: "device";
937
+ derived: "derived";
938
+ }>;
939
+ quality: z.ZodEnum<{
940
+ derived: "derived";
941
+ raw: "raw";
942
+ normalized: "normalized";
943
+ }>;
944
+ value: z.ZodNumber;
945
+ unit: z.ZodLiteral<"breaths_per_minute">;
946
+ }, z.core.$strict>, z.ZodObject<{
947
+ externalRef: z.ZodOptional<z.ZodObject<{
948
+ system: z.ZodString;
949
+ resourceType: z.ZodString;
950
+ resourceId: z.ZodString;
951
+ version: z.ZodOptional<z.ZodString>;
952
+ facet: z.ZodOptional<z.ZodString>;
953
+ }, z.core.$strict>>;
954
+ timeZone: z.ZodOptional<z.ZodString>;
955
+ stream: z.ZodLiteral<"temperature">;
956
+ schemaVersion: z.ZodLiteral<"murph.sample.v1">;
957
+ id: z.ZodString;
958
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
959
+ dayKey: z.ZodString;
960
+ source: z.ZodEnum<{
961
+ manual: "manual";
962
+ import: "import";
963
+ device: "device";
964
+ derived: "derived";
965
+ }>;
966
+ quality: z.ZodEnum<{
967
+ derived: "derived";
968
+ raw: "raw";
969
+ normalized: "normalized";
970
+ }>;
971
+ value: z.ZodNumber;
972
+ unit: z.ZodLiteral<"celsius">;
973
+ }, z.core.$strict>, z.ZodObject<{
974
+ externalRef: z.ZodOptional<z.ZodObject<{
975
+ system: z.ZodString;
976
+ resourceType: z.ZodString;
977
+ resourceId: z.ZodString;
978
+ version: z.ZodOptional<z.ZodString>;
979
+ facet: z.ZodOptional<z.ZodString>;
980
+ }, z.core.$strict>>;
981
+ timeZone: z.ZodOptional<z.ZodString>;
982
+ stream: z.ZodLiteral<"glucose">;
983
+ schemaVersion: z.ZodLiteral<"murph.sample.v1">;
984
+ id: z.ZodString;
985
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
986
+ dayKey: z.ZodString;
987
+ source: z.ZodEnum<{
988
+ manual: "manual";
989
+ import: "import";
990
+ device: "device";
991
+ derived: "derived";
992
+ }>;
993
+ quality: z.ZodEnum<{
994
+ derived: "derived";
995
+ raw: "raw";
996
+ normalized: "normalized";
997
+ }>;
998
+ value: z.ZodNumber;
999
+ unit: z.ZodLiteral<"mg_dL">;
1000
+ }, z.core.$strict>], "stream">;
1001
+ export declare const auditRecordSchema: z.ZodObject<{
1002
+ schemaVersion: z.ZodLiteral<"murph.audit.v1">;
1003
+ id: z.ZodString;
1004
+ action: z.ZodEnum<{
1005
+ allergy_upsert: "allergy_upsert";
1006
+ condition_upsert: "condition_upsert";
1007
+ family_upsert: "family_upsert";
1008
+ genetics_upsert: "genetics_upsert";
1009
+ goal_upsert: "goal_upsert";
1010
+ history_add: "history_add";
1011
+ intake_import: "intake_import";
1012
+ intake_project: "intake_project";
1013
+ vault_init: "vault_init";
1014
+ vault_repair: "vault_repair";
1015
+ document_import: "document_import";
1016
+ device_import: "device_import";
1017
+ experiment_create: "experiment_create";
1018
+ journal_ensure: "journal_ensure";
1019
+ list: "list";
1020
+ meal_add: "meal_add";
1021
+ export_pack: "export_pack";
1022
+ food_upsert: "food_upsert";
1023
+ provider_upsert: "provider_upsert";
1024
+ profile_current_rebuild: "profile_current_rebuild";
1025
+ profile_snapshot_add: "profile_snapshot_add";
1026
+ recipe_upsert: "recipe_upsert";
1027
+ protocol_stop: "protocol_stop";
1028
+ protocol_upsert: "protocol_upsert";
1029
+ samples_import_csv: "samples_import_csv";
1030
+ show: "show";
1031
+ validate: "validate";
1032
+ workout_format_upsert: "workout_format_upsert";
1033
+ }>;
1034
+ status: z.ZodEnum<{
1035
+ success: "success";
1036
+ failure: "failure";
1037
+ }>;
1038
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1039
+ actor: z.ZodEnum<{
1040
+ cli: "cli";
1041
+ core: "core";
1042
+ importer: "importer";
1043
+ query: "query";
1044
+ }>;
1045
+ commandName: z.ZodString;
1046
+ summary: z.ZodString;
1047
+ targetIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1048
+ errorCode: z.ZodOptional<z.ZodEnum<{
1049
+ CONTRACT_INVALID: "CONTRACT_INVALID";
1050
+ ID_INVALID: "ID_INVALID";
1051
+ PATH_INVALID: "PATH_INVALID";
1052
+ VAULT_INVALID: "VAULT_INVALID";
1053
+ EVENT_INVALID: "EVENT_INVALID";
1054
+ SAMPLE_INVALID: "SAMPLE_INVALID";
1055
+ AUDIT_INVALID: "AUDIT_INVALID";
1056
+ FRONTMATTER_INVALID: "FRONTMATTER_INVALID";
1057
+ ENUM_UNSUPPORTED: "ENUM_UNSUPPORTED";
1058
+ SHARD_KEY_INVALID: "SHARD_KEY_INVALID";
1059
+ SCHEMA_ARTIFACT_STALE: "SCHEMA_ARTIFACT_STALE";
1060
+ }>>;
1061
+ changes: z.ZodArray<z.ZodObject<{
1062
+ path: z.ZodString;
1063
+ op: z.ZodEnum<{
1064
+ create: "create";
1065
+ append: "append";
1066
+ update: "update";
1067
+ copy: "copy";
1068
+ }>;
1069
+ }, z.core.$strict>>;
1070
+ }, z.core.$strict>;
1071
+ declare const inboxCaptureAttachmentSchema: z.ZodObject<{
1072
+ attachmentId: z.ZodString;
1073
+ ordinal: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1074
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
+ kind: z.ZodEnum<{
1076
+ document: "document";
1077
+ image: "image";
1078
+ audio: "audio";
1079
+ video: "video";
1080
+ other: "other";
1081
+ }>;
1082
+ mime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
+ originalPath: z.ZodOptional<z.ZodNull>;
1084
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
+ byteSize: z.ZodOptional<z.ZodNullable<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>>;
1086
+ storedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
+ sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
+ }, z.core.$strict>;
1089
+ export declare const inboxCaptureRecordSchema: z.ZodObject<{
1090
+ schemaVersion: z.ZodLiteral<"murph.inbox-capture.v1">;
1091
+ captureId: z.ZodString;
1092
+ identityKey: z.ZodString;
1093
+ eventId: z.ZodString;
1094
+ auditId: z.ZodString;
1095
+ source: z.ZodString;
1096
+ accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1097
+ externalId: z.ZodString;
1098
+ thread: z.ZodObject<{
1099
+ id: z.ZodString;
1100
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1101
+ isDirect: z.ZodNullable<z.ZodBoolean>;
1102
+ }, z.core.$strict>;
1103
+ actor: z.ZodObject<{
1104
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1105
+ displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1106
+ isSelf: z.ZodBoolean;
1107
+ }, z.core.$strict>;
1108
+ occurredAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1109
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1110
+ receivedAt: z.ZodOptional<z.ZodNullable<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>>;
1111
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1112
+ raw: z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>;
1113
+ sourceDirectory: z.ZodString;
1114
+ envelopePath: z.ZodString;
1115
+ rawRefs: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
1116
+ attachments: z.ZodArray<z.ZodObject<{
1117
+ attachmentId: z.ZodString;
1118
+ ordinal: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1119
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1120
+ kind: z.ZodEnum<{
1121
+ document: "document";
1122
+ image: "image";
1123
+ audio: "audio";
1124
+ video: "video";
1125
+ other: "other";
1126
+ }>;
1127
+ mime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1128
+ originalPath: z.ZodOptional<z.ZodNull>;
1129
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1130
+ byteSize: z.ZodOptional<z.ZodNullable<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>>;
1131
+ storedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1132
+ sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1133
+ }, z.core.$strict>>;
1134
+ }, z.core.$strict>;
1135
+ export declare const coreFrontmatterSchema: z.ZodObject<{
1136
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.core.v1">;
1137
+ docType: z.ZodLiteral<"core">;
1138
+ vaultId: z.ZodString;
1139
+ title: z.ZodString;
1140
+ timezone: z.ZodString;
1141
+ updatedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1142
+ activeExperimentSlugs: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1143
+ }, z.core.$strict>;
1144
+ export declare const journalDayFrontmatterSchema: z.ZodObject<{
1145
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.journal-day.v1">;
1146
+ docType: z.ZodLiteral<"journal_day">;
1147
+ dayKey: z.ZodString;
1148
+ eventIds: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
1149
+ sampleStreams: z.ZodType<("heart_rate" | "hrv" | "steps" | "sleep_stage" | "respiratory_rate" | "temperature" | "glucose")[], unknown, z.core.$ZodTypeInternals<("heart_rate" | "hrv" | "steps" | "sleep_stage" | "respiratory_rate" | "temperature" | "glucose")[], unknown>>;
1150
+ }, z.core.$strict>;
1151
+ export declare const experimentFrontmatterSchema: z.ZodObject<{
1152
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.experiment.v1">;
1153
+ docType: z.ZodLiteral<"experiment">;
1154
+ experimentId: z.ZodString;
1155
+ slug: z.ZodString;
1156
+ status: z.ZodEnum<{
1157
+ active: "active";
1158
+ paused: "paused";
1159
+ completed: "completed";
1160
+ abandoned: "abandoned";
1161
+ planned: "planned";
1162
+ }>;
1163
+ title: z.ZodString;
1164
+ startedOn: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1165
+ endedOn: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
1166
+ hypothesis: z.ZodOptional<z.ZodString>;
1167
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1168
+ }, z.core.$strict>;
1169
+ export declare const providerFrontmatterSchema: z.ZodObject<{
1170
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.provider.v1">;
1171
+ docType: z.ZodLiteral<"provider">;
1172
+ providerId: z.ZodString;
1173
+ slug: z.ZodString;
1174
+ title: z.ZodString;
1175
+ status: z.ZodOptional<z.ZodString>;
1176
+ specialty: z.ZodOptional<z.ZodString>;
1177
+ organization: z.ZodOptional<z.ZodString>;
1178
+ location: z.ZodOptional<z.ZodString>;
1179
+ website: z.ZodOptional<z.ZodString>;
1180
+ phone: z.ZodOptional<z.ZodString>;
1181
+ note: z.ZodOptional<z.ZodString>;
1182
+ aliases: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1183
+ }, z.core.$strict>;
1184
+ export declare const foodFrontmatterSchema: z.ZodObject<{
1185
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.food.v1">;
1186
+ docType: z.ZodLiteral<"food">;
1187
+ foodId: z.ZodString;
1188
+ slug: z.ZodString;
1189
+ title: z.ZodString;
1190
+ status: z.ZodEnum<{
1191
+ active: "active";
1192
+ archived: "archived";
1193
+ }>;
1194
+ summary: z.ZodOptional<z.ZodString>;
1195
+ kind: z.ZodOptional<z.ZodString>;
1196
+ brand: z.ZodOptional<z.ZodString>;
1197
+ vendor: z.ZodOptional<z.ZodString>;
1198
+ location: z.ZodOptional<z.ZodString>;
1199
+ serving: z.ZodOptional<z.ZodString>;
1200
+ aliases: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1201
+ ingredients: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1202
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1203
+ note: z.ZodOptional<z.ZodString>;
1204
+ attachedProtocolIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1205
+ autoLogDaily: z.ZodOptional<z.ZodObject<{
1206
+ time: z.ZodString;
1207
+ }, z.core.$strict>>;
1208
+ }, z.core.$strict>;
1209
+ export declare const recipeFrontmatterSchema: z.ZodObject<{
1210
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.recipe.v1">;
1211
+ docType: z.ZodLiteral<"recipe">;
1212
+ recipeId: z.ZodString;
1213
+ slug: z.ZodString;
1214
+ title: z.ZodString;
1215
+ status: z.ZodEnum<{
1216
+ archived: "archived";
1217
+ draft: "draft";
1218
+ saved: "saved";
1219
+ }>;
1220
+ summary: z.ZodOptional<z.ZodString>;
1221
+ cuisine: z.ZodOptional<z.ZodString>;
1222
+ dishType: z.ZodOptional<z.ZodString>;
1223
+ source: z.ZodOptional<z.ZodString>;
1224
+ servings: z.ZodOptional<z.ZodNumber>;
1225
+ prepTimeMinutes: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
1226
+ cookTimeMinutes: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
1227
+ totalTimeMinutes: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
1228
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1229
+ ingredients: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1230
+ steps: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1231
+ relatedGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1232
+ relatedConditionIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1233
+ }, z.core.$strict>;
1234
+ export declare const workoutFormatFrontmatterSchema: z.ZodObject<{
1235
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.workout-format.v1">;
1236
+ docType: z.ZodLiteral<"workout_format">;
1237
+ workoutFormatId: z.ZodString;
1238
+ slug: z.ZodString;
1239
+ title: z.ZodString;
1240
+ status: z.ZodEnum<{
1241
+ active: "active";
1242
+ archived: "archived";
1243
+ }>;
1244
+ summary: z.ZodOptional<z.ZodString>;
1245
+ activityType: z.ZodString;
1246
+ durationMinutes: z.ZodOptional<z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>>;
1247
+ distanceKm: z.ZodOptional<z.ZodNumber>;
1248
+ strengthExercises: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1249
+ exercise: z.ZodString;
1250
+ setCount: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1251
+ repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1252
+ loadDescription: z.ZodOptional<z.ZodString>;
1253
+ }, z.core.$strict>, z.ZodObject<{
1254
+ load: z.ZodNumber;
1255
+ loadUnit: z.ZodEnum<{
1256
+ lb: "lb";
1257
+ kg: "kg";
1258
+ }>;
1259
+ exercise: z.ZodString;
1260
+ setCount: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1261
+ repsPerSet: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1262
+ loadDescription: z.ZodOptional<z.ZodString>;
1263
+ }, z.core.$strict>]>>>;
1264
+ tags: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1265
+ note: z.ZodOptional<z.ZodString>;
1266
+ templateText: z.ZodOptional<z.ZodString>;
1267
+ }, z.core.$strict>;
1268
+ export declare const assessmentResponseSchema: z.ZodObject<{
1269
+ schemaVersion: z.ZodLiteral<"murph.assessment-response.v1">;
1270
+ id: z.ZodString;
1271
+ assessmentType: z.ZodString;
1272
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1273
+ source: z.ZodEnum<{
1274
+ manual: "manual";
1275
+ import: "import";
1276
+ derived: "derived";
1277
+ }>;
1278
+ rawPath: z.ZodString;
1279
+ title: z.ZodOptional<z.ZodString>;
1280
+ questionnaireSlug: z.ZodOptional<z.ZodString>;
1281
+ responses: z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>;
1282
+ relatedIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1283
+ }, z.core.$strict>;
1284
+ export declare const rawImportManifestArtifactSchema: z.ZodObject<{
1285
+ role: z.ZodString;
1286
+ relativePath: z.ZodString;
1287
+ originalFileName: z.ZodString;
1288
+ mediaType: z.ZodString;
1289
+ byteSize: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1290
+ sha256: z.ZodString;
1291
+ }, z.core.$strict>;
1292
+ export declare const rawImportManifestSchema: z.ZodObject<{
1293
+ schemaVersion: z.ZodLiteral<"murph.raw-import-manifest.v1">;
1294
+ importId: z.ZodString;
1295
+ importKind: z.ZodEnum<{
1296
+ assessment: "assessment";
1297
+ document: "document";
1298
+ meal: "meal";
1299
+ device_batch: "device_batch";
1300
+ sample_batch: "sample_batch";
1301
+ }>;
1302
+ importedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1303
+ source: z.ZodNullable<z.ZodString>;
1304
+ rawDirectory: z.ZodString;
1305
+ artifacts: z.ZodType<{
1306
+ role: string;
1307
+ relativePath: string;
1308
+ originalFileName: string;
1309
+ mediaType: string;
1310
+ byteSize: number;
1311
+ sha256: string;
1312
+ }[], unknown, z.core.$ZodTypeInternals<{
1313
+ role: string;
1314
+ relativePath: string;
1315
+ originalFileName: string;
1316
+ mediaType: string;
1317
+ byteSize: number;
1318
+ sha256: string;
1319
+ }[], unknown>>;
1320
+ provenance: z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>;
1321
+ }, z.core.$strict>;
1322
+ export declare const profileSnapshotNarrativeSchema: z.ZodObject<{
1323
+ summary: z.ZodOptional<z.ZodString>;
1324
+ highlights: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1325
+ }, z.core.$strict>;
1326
+ export declare const profileSnapshotGoalsSchema: z.ZodObject<{
1327
+ topGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1328
+ }, z.core.$strict>;
1329
+ export declare const profileSnapshotProfileSchema: z.ZodObject<{
1330
+ narrative: z.ZodOptional<z.ZodObject<{
1331
+ summary: z.ZodOptional<z.ZodString>;
1332
+ highlights: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1333
+ }, z.core.$strict>>;
1334
+ goals: z.ZodOptional<z.ZodObject<{
1335
+ topGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1336
+ }, z.core.$strict>>;
1337
+ custom: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1338
+ }, z.core.$strict>;
1339
+ export declare const profileSnapshotSchema: z.ZodObject<{
1340
+ schemaVersion: z.ZodLiteral<"murph.profile-snapshot.v1">;
1341
+ id: z.ZodString;
1342
+ recordedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1343
+ source: z.ZodEnum<{
1344
+ manual: "manual";
1345
+ derived: "derived";
1346
+ assessment_projection: "assessment_projection";
1347
+ }>;
1348
+ sourceAssessmentIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1349
+ sourceEventIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1350
+ profile: z.ZodObject<{
1351
+ narrative: z.ZodOptional<z.ZodObject<{
1352
+ summary: z.ZodOptional<z.ZodString>;
1353
+ highlights: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1354
+ }, z.core.$strict>>;
1355
+ goals: z.ZodOptional<z.ZodObject<{
1356
+ topGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1357
+ }, z.core.$strict>>;
1358
+ custom: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1359
+ }, z.core.$strict>;
1360
+ }, z.core.$strict>;
1361
+ export declare const profileCurrentFrontmatterSchema: z.ZodObject<{
1362
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.profile-current.v1">;
1363
+ docType: z.ZodLiteral<"profile_current">;
1364
+ snapshotId: z.ZodString;
1365
+ updatedAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1366
+ sourceAssessmentIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1367
+ sourceEventIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1368
+ topGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1369
+ }, z.core.$strict>;
1370
+ export declare const goalFrontmatterSchema: z.ZodObject<{
1371
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.goal.v1">;
1372
+ docType: z.ZodLiteral<"goal">;
1373
+ goalId: z.ZodString;
1374
+ slug: z.ZodString;
1375
+ title: z.ZodString;
1376
+ status: z.ZodEnum<{
1377
+ active: "active";
1378
+ paused: "paused";
1379
+ completed: "completed";
1380
+ abandoned: "abandoned";
1381
+ }>;
1382
+ horizon: z.ZodEnum<{
1383
+ short_term: "short_term";
1384
+ medium_term: "medium_term";
1385
+ long_term: "long_term";
1386
+ ongoing: "ongoing";
1387
+ }>;
1388
+ priority: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
1389
+ window: z.ZodObject<{
1390
+ startAt: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1391
+ targetAt: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
1392
+ }, z.core.$strict>;
1393
+ parentGoalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
1394
+ relatedGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1395
+ relatedExperimentIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1396
+ domains: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1397
+ }, z.core.$strict>;
1398
+ export declare const conditionFrontmatterSchema: z.ZodObject<{
1399
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.condition.v1">;
1400
+ docType: z.ZodLiteral<"condition">;
1401
+ conditionId: z.ZodString;
1402
+ slug: z.ZodString;
1403
+ title: z.ZodString;
1404
+ clinicalStatus: z.ZodEnum<{
1405
+ active: "active";
1406
+ inactive: "inactive";
1407
+ resolved: "resolved";
1408
+ }>;
1409
+ verificationStatus: z.ZodOptional<z.ZodEnum<{
1410
+ unconfirmed: "unconfirmed";
1411
+ provisional: "provisional";
1412
+ confirmed: "confirmed";
1413
+ refuted: "refuted";
1414
+ }>>;
1415
+ assertedOn: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
1416
+ resolvedOn: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
1417
+ severity: z.ZodOptional<z.ZodEnum<{
1418
+ mild: "mild";
1419
+ moderate: "moderate";
1420
+ severe: "severe";
1421
+ }>>;
1422
+ bodySites: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1423
+ relatedGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1424
+ relatedProtocolIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1425
+ note: z.ZodOptional<z.ZodString>;
1426
+ }, z.core.$strict>;
1427
+ export declare const allergyFrontmatterSchema: z.ZodObject<{
1428
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.allergy.v1">;
1429
+ docType: z.ZodLiteral<"allergy">;
1430
+ allergyId: z.ZodString;
1431
+ slug: z.ZodString;
1432
+ title: z.ZodString;
1433
+ substance: z.ZodString;
1434
+ status: z.ZodEnum<{
1435
+ active: "active";
1436
+ inactive: "inactive";
1437
+ resolved: "resolved";
1438
+ }>;
1439
+ criticality: z.ZodOptional<z.ZodEnum<{
1440
+ low: "low";
1441
+ high: "high";
1442
+ unable_to_assess: "unable_to_assess";
1443
+ }>>;
1444
+ reaction: z.ZodOptional<z.ZodString>;
1445
+ recordedOn: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
1446
+ relatedConditionIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1447
+ note: z.ZodOptional<z.ZodString>;
1448
+ }, z.core.$strict>;
1449
+ export declare const protocolFrontmatterSchema: z.ZodObject<{
1450
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.protocol.v1">;
1451
+ docType: z.ZodLiteral<"protocol">;
1452
+ protocolId: z.ZodString;
1453
+ slug: z.ZodString;
1454
+ title: z.ZodString;
1455
+ kind: z.ZodEnum<{
1456
+ medication: "medication";
1457
+ supplement: "supplement";
1458
+ therapy: "therapy";
1459
+ habit: "habit";
1460
+ }>;
1461
+ status: z.ZodEnum<{
1462
+ active: "active";
1463
+ paused: "paused";
1464
+ completed: "completed";
1465
+ stopped: "stopped";
1466
+ }>;
1467
+ startedOn: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1468
+ stoppedOn: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
1469
+ substance: z.ZodOptional<z.ZodString>;
1470
+ dose: z.ZodOptional<z.ZodNumber>;
1471
+ unit: z.ZodOptional<z.ZodString>;
1472
+ schedule: z.ZodOptional<z.ZodString>;
1473
+ brand: z.ZodOptional<z.ZodString>;
1474
+ manufacturer: z.ZodOptional<z.ZodString>;
1475
+ servingSize: z.ZodOptional<z.ZodString>;
1476
+ ingredients: z.ZodOptional<z.ZodArray<z.ZodObject<{
1477
+ compound: z.ZodString;
1478
+ label: z.ZodOptional<z.ZodString>;
1479
+ amount: z.ZodOptional<z.ZodNumber>;
1480
+ unit: z.ZodOptional<z.ZodString>;
1481
+ active: z.ZodOptional<z.ZodBoolean>;
1482
+ note: z.ZodOptional<z.ZodString>;
1483
+ }, z.core.$strict>>>;
1484
+ relatedGoalIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1485
+ relatedConditionIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1486
+ }, z.core.$strict>;
1487
+ export declare const familyMemberFrontmatterSchema: z.ZodObject<{
1488
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.family-member.v1">;
1489
+ docType: z.ZodLiteral<"family_member">;
1490
+ familyMemberId: z.ZodString;
1491
+ slug: z.ZodString;
1492
+ title: z.ZodString;
1493
+ relationship: z.ZodString;
1494
+ conditions: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1495
+ deceased: z.ZodOptional<z.ZodBoolean>;
1496
+ note: z.ZodOptional<z.ZodString>;
1497
+ relatedVariantIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1498
+ }, z.core.$strict>;
1499
+ export declare const geneticVariantFrontmatterSchema: z.ZodObject<{
1500
+ schemaVersion: z.ZodLiteral<"murph.frontmatter.genetic-variant.v1">;
1501
+ docType: z.ZodLiteral<"genetic_variant">;
1502
+ variantId: z.ZodString;
1503
+ slug: z.ZodString;
1504
+ title: z.ZodString;
1505
+ gene: z.ZodString;
1506
+ zygosity: z.ZodOptional<z.ZodEnum<{
1507
+ unknown: "unknown";
1508
+ heterozygous: "heterozygous";
1509
+ homozygous: "homozygous";
1510
+ compound_heterozygous: "compound_heterozygous";
1511
+ }>>;
1512
+ significance: z.ZodOptional<z.ZodEnum<{
1513
+ unknown: "unknown";
1514
+ pathogenic: "pathogenic";
1515
+ likely_pathogenic: "likely_pathogenic";
1516
+ risk_factor: "risk_factor";
1517
+ vus: "vus";
1518
+ benign: "benign";
1519
+ }>>;
1520
+ inheritance: z.ZodOptional<z.ZodString>;
1521
+ sourceFamilyMemberIds: z.ZodOptional<z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
1522
+ note: z.ZodOptional<z.ZodString>;
1523
+ }, z.core.$strict>;
1524
+ export type ExternalRef = z.infer<typeof externalRefSchema>;
1525
+ export type ActivityStrengthExercise = z.infer<typeof activityStrengthExerciseSchema>;
1526
+ export type BloodTestReferenceRange = z.infer<typeof bloodTestReferenceRangeSchema>;
1527
+ export type BloodTestResultRecord = z.infer<typeof bloodTestResultSchema>;
1528
+ export type VaultMetadata = z.infer<typeof vaultMetadataSchema>;
1529
+ export type DocumentEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1530
+ kind: "document";
1531
+ }>;
1532
+ export type MealEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1533
+ kind: "meal";
1534
+ }>;
1535
+ export type SymptomEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1536
+ kind: "symptom";
1537
+ }>;
1538
+ export type NoteEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1539
+ kind: "note";
1540
+ }>;
1541
+ export type ObservationEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1542
+ kind: "observation";
1543
+ }>;
1544
+ export type ExperimentEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1545
+ kind: "experiment_event";
1546
+ }>;
1547
+ export type MedicationIntakeEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1548
+ kind: "medication_intake";
1549
+ }>;
1550
+ export type SupplementIntakeEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1551
+ kind: "supplement_intake";
1552
+ }>;
1553
+ export type ActivitySessionEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1554
+ kind: "activity_session";
1555
+ }>;
1556
+ export type SleepSessionEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1557
+ kind: "sleep_session";
1558
+ }>;
1559
+ export type InterventionSessionEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1560
+ kind: "intervention_session";
1561
+ }>;
1562
+ export type EncounterEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1563
+ kind: "encounter";
1564
+ }>;
1565
+ export type ProcedureEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1566
+ kind: "procedure";
1567
+ }>;
1568
+ export type TestEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1569
+ kind: "test";
1570
+ }>;
1571
+ export type AdverseEffectEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1572
+ kind: "adverse_effect";
1573
+ }>;
1574
+ export type ExposureEventRecord = Extract<z.infer<typeof eventRecordSchema>, {
1575
+ kind: "exposure";
1576
+ }>;
1577
+ export type EventRecord = z.infer<typeof eventRecordSchema>;
1578
+ export type HeartRateSampleRecord = Extract<z.infer<typeof sampleRecordSchema>, {
1579
+ stream: "heart_rate";
1580
+ }>;
1581
+ export type HrvSampleRecord = Extract<z.infer<typeof sampleRecordSchema>, {
1582
+ stream: "hrv";
1583
+ }>;
1584
+ export type StepsSampleRecord = Extract<z.infer<typeof sampleRecordSchema>, {
1585
+ stream: "steps";
1586
+ }>;
1587
+ export type SleepStageSampleRecord = Extract<z.infer<typeof sampleRecordSchema>, {
1588
+ stream: "sleep_stage";
1589
+ }>;
1590
+ export type RespiratoryRateSampleRecord = Extract<z.infer<typeof sampleRecordSchema>, {
1591
+ stream: "respiratory_rate";
1592
+ }>;
1593
+ export type TemperatureSampleRecord = Extract<z.infer<typeof sampleRecordSchema>, {
1594
+ stream: "temperature";
1595
+ }>;
1596
+ export type GlucoseSampleRecord = Extract<z.infer<typeof sampleRecordSchema>, {
1597
+ stream: "glucose";
1598
+ }>;
1599
+ export type SampleRecord = z.infer<typeof sampleRecordSchema>;
1600
+ export type AuditRecord = z.infer<typeof auditRecordSchema>;
1601
+ export type InboxCaptureAttachmentRecord = z.infer<typeof inboxCaptureAttachmentSchema>;
1602
+ export type InboxCaptureRecord = z.infer<typeof inboxCaptureRecordSchema>;
1603
+ export type CoreFrontmatter = z.infer<typeof coreFrontmatterSchema>;
1604
+ export type JournalDayFrontmatter = z.infer<typeof journalDayFrontmatterSchema>;
1605
+ export type ExperimentFrontmatter = z.infer<typeof experimentFrontmatterSchema>;
1606
+ export type ProviderFrontmatter = z.infer<typeof providerFrontmatterSchema>;
1607
+ export type FoodFrontmatter = z.infer<typeof foodFrontmatterSchema>;
1608
+ export type RecipeFrontmatter = z.infer<typeof recipeFrontmatterSchema>;
1609
+ export type WorkoutFormatFrontmatter = z.infer<typeof workoutFormatFrontmatterSchema>;
1610
+ export type AssessmentResponseRecord = z.infer<typeof assessmentResponseSchema>;
1611
+ export type RawImportManifestArtifact = z.infer<typeof rawImportManifestArtifactSchema>;
1612
+ export type RawImportManifest = z.infer<typeof rawImportManifestSchema>;
1613
+ export type ProfileSnapshotNarrative = z.infer<typeof profileSnapshotNarrativeSchema>;
1614
+ export type ProfileSnapshotGoals = z.infer<typeof profileSnapshotGoalsSchema>;
1615
+ export type ProfileSnapshotProfile = z.infer<typeof profileSnapshotProfileSchema>;
1616
+ export type ProfileSnapshotRecord = z.infer<typeof profileSnapshotSchema>;
1617
+ export type ProfileCurrentFrontmatter = z.infer<typeof profileCurrentFrontmatterSchema>;
1618
+ export type GoalFrontmatter = z.infer<typeof goalFrontmatterSchema>;
1619
+ export type ConditionFrontmatter = z.infer<typeof conditionFrontmatterSchema>;
1620
+ export type AllergyFrontmatter = z.infer<typeof allergyFrontmatterSchema>;
1621
+ export type ProtocolFrontmatter = z.infer<typeof protocolFrontmatterSchema>;
1622
+ export type SupplementIngredientFrontmatter = NonNullable<ProtocolFrontmatter["ingredients"]>[number];
1623
+ export type FamilyMemberFrontmatter = z.infer<typeof familyMemberFrontmatterSchema>;
1624
+ export type GeneticVariantFrontmatter = z.infer<typeof geneticVariantFrontmatterSchema>;
1625
+ export {};
1626
+ //# sourceMappingURL=zod.d.ts.map