@easyoref/shared 1.21.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.
@@ -0,0 +1,1496 @@
1
+ /**
2
+ * Zod validation schemas for agent state, types, and store.
3
+ * Replaces TypeScript interfaces with runtime validation.
4
+ */
5
+ import { z } from "zod";
6
+ export declare const AlertTypeSchema: z.ZodEnum<{
7
+ early_warning: "early_warning";
8
+ red_alert: "red_alert";
9
+ resolved: "resolved";
10
+ }>;
11
+ export type AlertType = z.infer<typeof AlertTypeSchema>;
12
+ export declare const QualitativeCountSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13
+ type: z.ZodLiteral<"all">;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ type: z.ZodLiteral<"most">;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ type: z.ZodLiteral<"many">;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ type: z.ZodLiteral<"few">;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ type: z.ZodLiteral<"exists">;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ type: z.ZodLiteral<"none">;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ type: z.ZodLiteral<"more_than">;
26
+ value: z.ZodNumber;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ type: z.ZodLiteral<"less_than">;
29
+ value: z.ZodNumber;
30
+ }, z.core.$strip>], "type">;
31
+ export type QualitativeCount = z.infer<typeof QualitativeCountSchema>;
32
+ export declare const SourceTypeSchema: z.ZodEnum<{
33
+ telegram_channel: "telegram_channel";
34
+ web_scrape: "web_scrape";
35
+ manual: "manual";
36
+ }>;
37
+ export type SourceType = z.infer<typeof SourceTypeSchema>;
38
+ export declare const BaseSourceMessageSchema: z.ZodObject<{
39
+ channelId: z.ZodString;
40
+ sourceType: z.ZodEnum<{
41
+ telegram_channel: "telegram_channel";
42
+ web_scrape: "web_scrape";
43
+ manual: "manual";
44
+ }>;
45
+ timestamp: z.ZodNumber;
46
+ text: z.ZodString;
47
+ sourceUrl: z.ZodOptional<z.ZodURL>;
48
+ }, z.core.$strip>;
49
+ export type BaseSourceMessage = z.infer<typeof BaseSourceMessageSchema>;
50
+ export declare const NewsMessageSchema: z.ZodObject<{
51
+ channelId: z.ZodString;
52
+ timestamp: z.ZodNumber;
53
+ text: z.ZodString;
54
+ sourceUrl: z.ZodOptional<z.ZodURL>;
55
+ sourceType: z.ZodLiteral<"telegram_channel">;
56
+ grammyMessageId: z.ZodOptional<z.ZodNumber>;
57
+ }, z.core.$strip>;
58
+ export type NewsMessage = z.infer<typeof NewsMessageSchema>;
59
+ export declare const NewsChannelSchema: z.ZodObject<{
60
+ channelId: z.ZodString;
61
+ channelName: z.ZodString;
62
+ language: z.ZodString;
63
+ region: z.ZodOptional<z.ZodString>;
64
+ }, z.core.$strip>;
65
+ export type NewsChannel = z.infer<typeof NewsChannelSchema>;
66
+ export declare const TargetGroupSchema: z.ZodObject<{
67
+ chatId: z.ZodString;
68
+ groupName: z.ZodString;
69
+ subscribedRegions: z.ZodArray<z.ZodString>;
70
+ }, z.core.$strip>;
71
+ export type TargetGroup = z.infer<typeof TargetGroupSchema>;
72
+ export declare const NewsChannelWithUpdatesSchema: z.ZodObject<{
73
+ channel: z.ZodString;
74
+ processedMessages: z.ZodDefault<z.ZodArray<z.ZodObject<{
75
+ channelId: z.ZodString;
76
+ timestamp: z.ZodNumber;
77
+ text: z.ZodString;
78
+ sourceUrl: z.ZodOptional<z.ZodURL>;
79
+ sourceType: z.ZodLiteral<"telegram_channel">;
80
+ grammyMessageId: z.ZodOptional<z.ZodNumber>;
81
+ }, z.core.$strip>>>;
82
+ unprocessedMessages: z.ZodDefault<z.ZodArray<z.ZodObject<{
83
+ channelId: z.ZodString;
84
+ timestamp: z.ZodNumber;
85
+ text: z.ZodString;
86
+ sourceUrl: z.ZodOptional<z.ZodURL>;
87
+ sourceType: z.ZodLiteral<"telegram_channel">;
88
+ grammyMessageId: z.ZodOptional<z.ZodNumber>;
89
+ }, z.core.$strip>>>;
90
+ }, z.core.$strip>;
91
+ export type NewsChannelWithUpdates = z.infer<typeof NewsChannelWithUpdatesSchema>;
92
+ export declare const ChannelTrackingSchema: z.ZodObject<{
93
+ trackStartTimestamp: z.ZodNumber;
94
+ lastUpdateTimestamp: z.ZodNumber;
95
+ channelsWithUpdates: z.ZodDefault<z.ZodArray<z.ZodObject<{
96
+ channel: z.ZodString;
97
+ processedMessages: z.ZodDefault<z.ZodArray<z.ZodObject<{
98
+ channelId: z.ZodString;
99
+ timestamp: z.ZodNumber;
100
+ text: z.ZodString;
101
+ sourceUrl: z.ZodOptional<z.ZodURL>;
102
+ sourceType: z.ZodLiteral<"telegram_channel">;
103
+ grammyMessageId: z.ZodOptional<z.ZodNumber>;
104
+ }, z.core.$strip>>>;
105
+ unprocessedMessages: z.ZodDefault<z.ZodArray<z.ZodObject<{
106
+ channelId: z.ZodString;
107
+ timestamp: z.ZodNumber;
108
+ text: z.ZodString;
109
+ sourceUrl: z.ZodOptional<z.ZodURL>;
110
+ sourceType: z.ZodLiteral<"telegram_channel">;
111
+ grammyMessageId: z.ZodOptional<z.ZodNumber>;
112
+ }, z.core.$strip>>>;
113
+ }, z.core.$strip>>>;
114
+ }, z.core.$strip>;
115
+ export type ChannelTracking = z.infer<typeof ChannelTrackingSchema>;
116
+ export declare const RelevanceCheckSchema: z.ZodObject<{
117
+ channel: z.ZodString;
118
+ text: z.ZodString;
119
+ ts: z.ZodNumber;
120
+ relevant: z.ZodBoolean;
121
+ }, z.core.$strip>;
122
+ export type RelevanceCheck = z.infer<typeof RelevanceCheckSchema>;
123
+ export declare const FilterOutputSchema: z.ZodObject<{
124
+ relevantChannels: z.ZodArray<z.ZodString>;
125
+ }, z.core.$strip>;
126
+ export type FilterOutput = z.infer<typeof FilterOutputSchema>;
127
+ export declare const InsightKindSchema: z.ZodEnum<{
128
+ rocket_impact: "rocket_impact";
129
+ rocket_interception: "rocket_interception";
130
+ location: "location";
131
+ casualty: "casualty";
132
+ injury: "injury";
133
+ eta_minutes: "eta_minutes";
134
+ cassette_munition: "cassette_munition";
135
+ }>;
136
+ export type InsightKind = z.infer<typeof InsightKindSchema>;
137
+ export declare const InsightSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
138
+ kind: z.ZodLiteral<"rocket_impact">;
139
+ value: z.ZodNumber;
140
+ }, z.core.$strip>, z.ZodObject<{
141
+ kind: z.ZodLiteral<"rocket_interception">;
142
+ value: z.ZodNumber;
143
+ }, z.core.$strip>, z.ZodObject<{
144
+ kind: z.ZodLiteral<"location">;
145
+ value: z.ZodString;
146
+ }, z.core.$strip>, z.ZodObject<{
147
+ kind: z.ZodLiteral<"casualty">;
148
+ value: z.ZodNumber;
149
+ }, z.core.$strip>, z.ZodObject<{
150
+ kind: z.ZodLiteral<"injury">;
151
+ value: z.ZodNumber;
152
+ }, z.core.$strip>, z.ZodObject<{
153
+ kind: z.ZodLiteral<"eta_minutes">;
154
+ value: z.ZodNumber;
155
+ }, z.core.$strip>, z.ZodObject<{
156
+ kind: z.ZodLiteral<"cassette_munition">;
157
+ value: z.ZodBoolean;
158
+ }, z.core.$strip>], "kind">;
159
+ export type Insight = z.infer<typeof InsightSchema>;
160
+ export type ClarifyNeed = "needs_clarify" | "uncertain" | "verified";
161
+ export interface InsightConfidenceThresholds {
162
+ needsClarify: number;
163
+ uncertain: number;
164
+ verified: number;
165
+ }
166
+ export declare const CONFIDENCE_MATRIX: Record<InsightKind, InsightConfidenceThresholds>;
167
+ export declare function getClarifyNeed(insightKind: InsightKind, confidence: number): ClarifyNeed;
168
+ export declare const ExtractionResultSchema: z.ZodObject<{
169
+ channel: z.ZodString;
170
+ regionRelevance: z.ZodNumber;
171
+ sourceTrust: z.ZodNumber;
172
+ countryOrigin: z.ZodOptional<z.ZodString>;
173
+ rocketCount: z.ZodOptional<z.ZodNumber>;
174
+ isCassette: z.ZodOptional<z.ZodBoolean>;
175
+ intercepted: z.ZodOptional<z.ZodNumber>;
176
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
177
+ type: z.ZodLiteral<"all">;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ type: z.ZodLiteral<"most">;
180
+ }, z.core.$strip>, z.ZodObject<{
181
+ type: z.ZodLiteral<"many">;
182
+ }, z.core.$strip>, z.ZodObject<{
183
+ type: z.ZodLiteral<"few">;
184
+ }, z.core.$strip>, z.ZodObject<{
185
+ type: z.ZodLiteral<"exists">;
186
+ }, z.core.$strip>, z.ZodObject<{
187
+ type: z.ZodLiteral<"none">;
188
+ }, z.core.$strip>, z.ZodObject<{
189
+ type: z.ZodLiteral<"more_than">;
190
+ value: z.ZodNumber;
191
+ }, z.core.$strip>, z.ZodObject<{
192
+ type: z.ZodLiteral<"less_than">;
193
+ value: z.ZodNumber;
194
+ }, z.core.$strip>], "type">>;
195
+ seaImpact: z.ZodOptional<z.ZodNumber>;
196
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
197
+ type: z.ZodLiteral<"all">;
198
+ }, z.core.$strip>, z.ZodObject<{
199
+ type: z.ZodLiteral<"most">;
200
+ }, z.core.$strip>, z.ZodObject<{
201
+ type: z.ZodLiteral<"many">;
202
+ }, z.core.$strip>, z.ZodObject<{
203
+ type: z.ZodLiteral<"few">;
204
+ }, z.core.$strip>, z.ZodObject<{
205
+ type: z.ZodLiteral<"exists">;
206
+ }, z.core.$strip>, z.ZodObject<{
207
+ type: z.ZodLiteral<"none">;
208
+ }, z.core.$strip>, z.ZodObject<{
209
+ type: z.ZodLiteral<"more_than">;
210
+ value: z.ZodNumber;
211
+ }, z.core.$strip>, z.ZodObject<{
212
+ type: z.ZodLiteral<"less_than">;
213
+ value: z.ZodNumber;
214
+ }, z.core.$strip>], "type">>;
215
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
216
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
217
+ type: z.ZodLiteral<"all">;
218
+ }, z.core.$strip>, z.ZodObject<{
219
+ type: z.ZodLiteral<"most">;
220
+ }, z.core.$strip>, z.ZodObject<{
221
+ type: z.ZodLiteral<"many">;
222
+ }, z.core.$strip>, z.ZodObject<{
223
+ type: z.ZodLiteral<"few">;
224
+ }, z.core.$strip>, z.ZodObject<{
225
+ type: z.ZodLiteral<"exists">;
226
+ }, z.core.$strip>, z.ZodObject<{
227
+ type: z.ZodLiteral<"none">;
228
+ }, z.core.$strip>, z.ZodObject<{
229
+ type: z.ZodLiteral<"more_than">;
230
+ value: z.ZodNumber;
231
+ }, z.core.$strip>, z.ZodObject<{
232
+ type: z.ZodLiteral<"less_than">;
233
+ value: z.ZodNumber;
234
+ }, z.core.$strip>], "type">>;
235
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
236
+ hitLocation: z.ZodOptional<z.ZodString>;
237
+ hitType: z.ZodOptional<z.ZodEnum<{
238
+ direct: "direct";
239
+ shrapnel: "shrapnel";
240
+ }>>;
241
+ hitDetail: z.ZodOptional<z.ZodString>;
242
+ casualties: z.ZodOptional<z.ZodNumber>;
243
+ injuries: z.ZodOptional<z.ZodNumber>;
244
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
245
+ rocket: "rocket";
246
+ rushing_to_shelter: "rushing_to_shelter";
247
+ }>>;
248
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
249
+ rocketDetail: z.ZodOptional<z.ZodString>;
250
+ tone: z.ZodEnum<{
251
+ calm: "calm";
252
+ neutral: "neutral";
253
+ alarmist: "alarmist";
254
+ }>;
255
+ confidence: z.ZodNumber;
256
+ timeRelevance: z.ZodNumber;
257
+ }, z.core.$strip>;
258
+ export type ExtractionResult = z.infer<typeof ExtractionResultSchema>;
259
+ export declare const ValidatedExtractionSchema: z.ZodObject<{
260
+ channel: z.ZodString;
261
+ regionRelevance: z.ZodNumber;
262
+ sourceTrust: z.ZodNumber;
263
+ countryOrigin: z.ZodOptional<z.ZodString>;
264
+ rocketCount: z.ZodOptional<z.ZodNumber>;
265
+ isCassette: z.ZodOptional<z.ZodBoolean>;
266
+ intercepted: z.ZodOptional<z.ZodNumber>;
267
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
268
+ type: z.ZodLiteral<"all">;
269
+ }, z.core.$strip>, z.ZodObject<{
270
+ type: z.ZodLiteral<"most">;
271
+ }, z.core.$strip>, z.ZodObject<{
272
+ type: z.ZodLiteral<"many">;
273
+ }, z.core.$strip>, z.ZodObject<{
274
+ type: z.ZodLiteral<"few">;
275
+ }, z.core.$strip>, z.ZodObject<{
276
+ type: z.ZodLiteral<"exists">;
277
+ }, z.core.$strip>, z.ZodObject<{
278
+ type: z.ZodLiteral<"none">;
279
+ }, z.core.$strip>, z.ZodObject<{
280
+ type: z.ZodLiteral<"more_than">;
281
+ value: z.ZodNumber;
282
+ }, z.core.$strip>, z.ZodObject<{
283
+ type: z.ZodLiteral<"less_than">;
284
+ value: z.ZodNumber;
285
+ }, z.core.$strip>], "type">>;
286
+ seaImpact: z.ZodOptional<z.ZodNumber>;
287
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
288
+ type: z.ZodLiteral<"all">;
289
+ }, z.core.$strip>, z.ZodObject<{
290
+ type: z.ZodLiteral<"most">;
291
+ }, z.core.$strip>, z.ZodObject<{
292
+ type: z.ZodLiteral<"many">;
293
+ }, z.core.$strip>, z.ZodObject<{
294
+ type: z.ZodLiteral<"few">;
295
+ }, z.core.$strip>, z.ZodObject<{
296
+ type: z.ZodLiteral<"exists">;
297
+ }, z.core.$strip>, z.ZodObject<{
298
+ type: z.ZodLiteral<"none">;
299
+ }, z.core.$strip>, z.ZodObject<{
300
+ type: z.ZodLiteral<"more_than">;
301
+ value: z.ZodNumber;
302
+ }, z.core.$strip>, z.ZodObject<{
303
+ type: z.ZodLiteral<"less_than">;
304
+ value: z.ZodNumber;
305
+ }, z.core.$strip>], "type">>;
306
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
307
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
308
+ type: z.ZodLiteral<"all">;
309
+ }, z.core.$strip>, z.ZodObject<{
310
+ type: z.ZodLiteral<"most">;
311
+ }, z.core.$strip>, z.ZodObject<{
312
+ type: z.ZodLiteral<"many">;
313
+ }, z.core.$strip>, z.ZodObject<{
314
+ type: z.ZodLiteral<"few">;
315
+ }, z.core.$strip>, z.ZodObject<{
316
+ type: z.ZodLiteral<"exists">;
317
+ }, z.core.$strip>, z.ZodObject<{
318
+ type: z.ZodLiteral<"none">;
319
+ }, z.core.$strip>, z.ZodObject<{
320
+ type: z.ZodLiteral<"more_than">;
321
+ value: z.ZodNumber;
322
+ }, z.core.$strip>, z.ZodObject<{
323
+ type: z.ZodLiteral<"less_than">;
324
+ value: z.ZodNumber;
325
+ }, z.core.$strip>], "type">>;
326
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
327
+ hitLocation: z.ZodOptional<z.ZodString>;
328
+ hitType: z.ZodOptional<z.ZodEnum<{
329
+ direct: "direct";
330
+ shrapnel: "shrapnel";
331
+ }>>;
332
+ hitDetail: z.ZodOptional<z.ZodString>;
333
+ casualties: z.ZodOptional<z.ZodNumber>;
334
+ injuries: z.ZodOptional<z.ZodNumber>;
335
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
336
+ rocket: "rocket";
337
+ rushing_to_shelter: "rushing_to_shelter";
338
+ }>>;
339
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
340
+ rocketDetail: z.ZodOptional<z.ZodString>;
341
+ tone: z.ZodEnum<{
342
+ calm: "calm";
343
+ neutral: "neutral";
344
+ alarmist: "alarmist";
345
+ }>;
346
+ confidence: z.ZodNumber;
347
+ timeRelevance: z.ZodNumber;
348
+ valid: z.ZodBoolean;
349
+ rejectReason: z.ZodOptional<z.ZodString>;
350
+ messageUrl: z.ZodOptional<z.ZodURL>;
351
+ }, z.core.$strip>;
352
+ export type ValidatedExtraction = z.infer<typeof ValidatedExtractionSchema>;
353
+ export declare const CitedSourceSchema: z.ZodObject<{
354
+ index: z.ZodNumber;
355
+ channel: z.ZodString;
356
+ messageUrl: z.ZodOptional<z.ZodURL>;
357
+ }, z.core.$strip>;
358
+ export type CitedSource = z.infer<typeof CitedSourceSchema>;
359
+ export declare const CountryOriginSchema: z.ZodObject<{
360
+ name: z.ZodString;
361
+ citations: z.ZodArray<z.ZodNumber>;
362
+ }, z.core.$strip>;
363
+ export declare const VotedResultSchema: z.ZodObject<{
364
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
365
+ etaCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
366
+ countryOrigins: z.ZodDefault<z.ZodArray<z.ZodObject<{
367
+ name: z.ZodString;
368
+ citations: z.ZodArray<z.ZodNumber>;
369
+ }, z.core.$strip>>>;
370
+ rocketCountMin: z.ZodOptional<z.ZodNumber>;
371
+ rocketCountMax: z.ZodOptional<z.ZodNumber>;
372
+ rocketCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
373
+ rocketConfidence: z.ZodDefault<z.ZodNumber>;
374
+ rocketDetail: z.ZodOptional<z.ZodString>;
375
+ isCassette: z.ZodOptional<z.ZodBoolean>;
376
+ isCassetteConfidence: z.ZodDefault<z.ZodNumber>;
377
+ intercepted: z.ZodOptional<z.ZodNumber>;
378
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
379
+ type: z.ZodLiteral<"all">;
380
+ }, z.core.$strip>, z.ZodObject<{
381
+ type: z.ZodLiteral<"most">;
382
+ }, z.core.$strip>, z.ZodObject<{
383
+ type: z.ZodLiteral<"many">;
384
+ }, z.core.$strip>, z.ZodObject<{
385
+ type: z.ZodLiteral<"few">;
386
+ }, z.core.$strip>, z.ZodObject<{
387
+ type: z.ZodLiteral<"exists">;
388
+ }, z.core.$strip>, z.ZodObject<{
389
+ type: z.ZodLiteral<"none">;
390
+ }, z.core.$strip>, z.ZodObject<{
391
+ type: z.ZodLiteral<"more_than">;
392
+ value: z.ZodNumber;
393
+ }, z.core.$strip>, z.ZodObject<{
394
+ type: z.ZodLiteral<"less_than">;
395
+ value: z.ZodNumber;
396
+ }, z.core.$strip>], "type">>;
397
+ interceptedConfidence: z.ZodDefault<z.ZodNumber>;
398
+ seaImpact: z.ZodOptional<z.ZodNumber>;
399
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
400
+ type: z.ZodLiteral<"all">;
401
+ }, z.core.$strip>, z.ZodObject<{
402
+ type: z.ZodLiteral<"most">;
403
+ }, z.core.$strip>, z.ZodObject<{
404
+ type: z.ZodLiteral<"many">;
405
+ }, z.core.$strip>, z.ZodObject<{
406
+ type: z.ZodLiteral<"few">;
407
+ }, z.core.$strip>, z.ZodObject<{
408
+ type: z.ZodLiteral<"exists">;
409
+ }, z.core.$strip>, z.ZodObject<{
410
+ type: z.ZodLiteral<"none">;
411
+ }, z.core.$strip>, z.ZodObject<{
412
+ type: z.ZodLiteral<"more_than">;
413
+ value: z.ZodNumber;
414
+ }, z.core.$strip>, z.ZodObject<{
415
+ type: z.ZodLiteral<"less_than">;
416
+ value: z.ZodNumber;
417
+ }, z.core.$strip>], "type">>;
418
+ seaConfidence: z.ZodDefault<z.ZodNumber>;
419
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
420
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
421
+ type: z.ZodLiteral<"all">;
422
+ }, z.core.$strip>, z.ZodObject<{
423
+ type: z.ZodLiteral<"most">;
424
+ }, z.core.$strip>, z.ZodObject<{
425
+ type: z.ZodLiteral<"many">;
426
+ }, z.core.$strip>, z.ZodObject<{
427
+ type: z.ZodLiteral<"few">;
428
+ }, z.core.$strip>, z.ZodObject<{
429
+ type: z.ZodLiteral<"exists">;
430
+ }, z.core.$strip>, z.ZodObject<{
431
+ type: z.ZodLiteral<"none">;
432
+ }, z.core.$strip>, z.ZodObject<{
433
+ type: z.ZodLiteral<"more_than">;
434
+ value: z.ZodNumber;
435
+ }, z.core.$strip>, z.ZodObject<{
436
+ type: z.ZodLiteral<"less_than">;
437
+ value: z.ZodNumber;
438
+ }, z.core.$strip>], "type">>;
439
+ openAreaConfidence: z.ZodDefault<z.ZodNumber>;
440
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
441
+ hitsCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
442
+ hitsConfidence: z.ZodDefault<z.ZodNumber>;
443
+ hitLocation: z.ZodOptional<z.ZodString>;
444
+ hitType: z.ZodOptional<z.ZodEnum<{
445
+ direct: "direct";
446
+ shrapnel: "shrapnel";
447
+ }>>;
448
+ hitDetail: z.ZodOptional<z.ZodString>;
449
+ noImpacts: z.ZodDefault<z.ZodBoolean>;
450
+ noImpactsCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
451
+ interceptedCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
452
+ casualties: z.ZodOptional<z.ZodNumber>;
453
+ casualtiesCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
454
+ casualtiesConfidence: z.ZodDefault<z.ZodNumber>;
455
+ injuries: z.ZodOptional<z.ZodNumber>;
456
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
457
+ rocket: "rocket";
458
+ rushing_to_shelter: "rushing_to_shelter";
459
+ }>>;
460
+ injuriesCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
461
+ injuriesConfidence: z.ZodDefault<z.ZodNumber>;
462
+ confidence: z.ZodDefault<z.ZodNumber>;
463
+ sourcesCount: z.ZodDefault<z.ZodNumber>;
464
+ citedSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
465
+ index: z.ZodNumber;
466
+ channel: z.ZodString;
467
+ messageUrl: z.ZodOptional<z.ZodURL>;
468
+ }, z.core.$strip>>>;
469
+ }, z.core.$strip>;
470
+ export type VotedResult = z.infer<typeof VotedResultSchema>;
471
+ export declare const ConsensusInsightSchema: z.ZodObject<{
472
+ insight: z.ZodDiscriminatedUnion<[z.ZodObject<{
473
+ kind: z.ZodLiteral<"rocket_impact">;
474
+ value: z.ZodNumber;
475
+ }, z.core.$strip>, z.ZodObject<{
476
+ kind: z.ZodLiteral<"rocket_interception">;
477
+ value: z.ZodNumber;
478
+ }, z.core.$strip>, z.ZodObject<{
479
+ kind: z.ZodLiteral<"location">;
480
+ value: z.ZodString;
481
+ }, z.core.$strip>, z.ZodObject<{
482
+ kind: z.ZodLiteral<"casualty">;
483
+ value: z.ZodNumber;
484
+ }, z.core.$strip>, z.ZodObject<{
485
+ kind: z.ZodLiteral<"injury">;
486
+ value: z.ZodNumber;
487
+ }, z.core.$strip>, z.ZodObject<{
488
+ kind: z.ZodLiteral<"eta_minutes">;
489
+ value: z.ZodNumber;
490
+ }, z.core.$strip>, z.ZodObject<{
491
+ kind: z.ZodLiteral<"cassette_munition">;
492
+ value: z.ZodBoolean;
493
+ }, z.core.$strip>], "kind">;
494
+ validExtractions: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodObject<{
495
+ channel: z.ZodString;
496
+ regionRelevance: z.ZodNumber;
497
+ sourceTrust: z.ZodNumber;
498
+ countryOrigin: z.ZodOptional<z.ZodString>;
499
+ rocketCount: z.ZodOptional<z.ZodNumber>;
500
+ isCassette: z.ZodOptional<z.ZodBoolean>;
501
+ intercepted: z.ZodOptional<z.ZodNumber>;
502
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
503
+ type: z.ZodLiteral<"all">;
504
+ }, z.core.$strip>, z.ZodObject<{
505
+ type: z.ZodLiteral<"most">;
506
+ }, z.core.$strip>, z.ZodObject<{
507
+ type: z.ZodLiteral<"many">;
508
+ }, z.core.$strip>, z.ZodObject<{
509
+ type: z.ZodLiteral<"few">;
510
+ }, z.core.$strip>, z.ZodObject<{
511
+ type: z.ZodLiteral<"exists">;
512
+ }, z.core.$strip>, z.ZodObject<{
513
+ type: z.ZodLiteral<"none">;
514
+ }, z.core.$strip>, z.ZodObject<{
515
+ type: z.ZodLiteral<"more_than">;
516
+ value: z.ZodNumber;
517
+ }, z.core.$strip>, z.ZodObject<{
518
+ type: z.ZodLiteral<"less_than">;
519
+ value: z.ZodNumber;
520
+ }, z.core.$strip>], "type">>;
521
+ seaImpact: z.ZodOptional<z.ZodNumber>;
522
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
523
+ type: z.ZodLiteral<"all">;
524
+ }, z.core.$strip>, z.ZodObject<{
525
+ type: z.ZodLiteral<"most">;
526
+ }, z.core.$strip>, z.ZodObject<{
527
+ type: z.ZodLiteral<"many">;
528
+ }, z.core.$strip>, z.ZodObject<{
529
+ type: z.ZodLiteral<"few">;
530
+ }, z.core.$strip>, z.ZodObject<{
531
+ type: z.ZodLiteral<"exists">;
532
+ }, z.core.$strip>, z.ZodObject<{
533
+ type: z.ZodLiteral<"none">;
534
+ }, z.core.$strip>, z.ZodObject<{
535
+ type: z.ZodLiteral<"more_than">;
536
+ value: z.ZodNumber;
537
+ }, z.core.$strip>, z.ZodObject<{
538
+ type: z.ZodLiteral<"less_than">;
539
+ value: z.ZodNumber;
540
+ }, z.core.$strip>], "type">>;
541
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
542
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
543
+ type: z.ZodLiteral<"all">;
544
+ }, z.core.$strip>, z.ZodObject<{
545
+ type: z.ZodLiteral<"most">;
546
+ }, z.core.$strip>, z.ZodObject<{
547
+ type: z.ZodLiteral<"many">;
548
+ }, z.core.$strip>, z.ZodObject<{
549
+ type: z.ZodLiteral<"few">;
550
+ }, z.core.$strip>, z.ZodObject<{
551
+ type: z.ZodLiteral<"exists">;
552
+ }, z.core.$strip>, z.ZodObject<{
553
+ type: z.ZodLiteral<"none">;
554
+ }, z.core.$strip>, z.ZodObject<{
555
+ type: z.ZodLiteral<"more_than">;
556
+ value: z.ZodNumber;
557
+ }, z.core.$strip>, z.ZodObject<{
558
+ type: z.ZodLiteral<"less_than">;
559
+ value: z.ZodNumber;
560
+ }, z.core.$strip>], "type">>;
561
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
562
+ hitLocation: z.ZodOptional<z.ZodString>;
563
+ hitType: z.ZodOptional<z.ZodEnum<{
564
+ direct: "direct";
565
+ shrapnel: "shrapnel";
566
+ }>>;
567
+ hitDetail: z.ZodOptional<z.ZodString>;
568
+ casualties: z.ZodOptional<z.ZodNumber>;
569
+ injuries: z.ZodOptional<z.ZodNumber>;
570
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
571
+ rocket: "rocket";
572
+ rushing_to_shelter: "rushing_to_shelter";
573
+ }>>;
574
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
575
+ rocketDetail: z.ZodOptional<z.ZodString>;
576
+ tone: z.ZodEnum<{
577
+ calm: "calm";
578
+ neutral: "neutral";
579
+ alarmist: "alarmist";
580
+ }>;
581
+ confidence: z.ZodNumber;
582
+ timeRelevance: z.ZodNumber;
583
+ valid: z.ZodBoolean;
584
+ rejectReason: z.ZodOptional<z.ZodString>;
585
+ messageUrl: z.ZodOptional<z.ZodURL>;
586
+ }, z.core.$strip>>>>;
587
+ avgConfidence: z.ZodNumber;
588
+ sourcesCount: z.ZodNumber;
589
+ }, z.core.$strip>;
590
+ export type ConsensusInsight = z.infer<typeof ConsensusInsightSchema>;
591
+ export declare const VoteResultSchemaV2: z.ZodObject<{
592
+ insights: z.ZodDefault<z.ZodArray<z.ZodObject<{
593
+ insight: z.ZodDiscriminatedUnion<[z.ZodObject<{
594
+ kind: z.ZodLiteral<"rocket_impact">;
595
+ value: z.ZodNumber;
596
+ }, z.core.$strip>, z.ZodObject<{
597
+ kind: z.ZodLiteral<"rocket_interception">;
598
+ value: z.ZodNumber;
599
+ }, z.core.$strip>, z.ZodObject<{
600
+ kind: z.ZodLiteral<"location">;
601
+ value: z.ZodString;
602
+ }, z.core.$strip>, z.ZodObject<{
603
+ kind: z.ZodLiteral<"casualty">;
604
+ value: z.ZodNumber;
605
+ }, z.core.$strip>, z.ZodObject<{
606
+ kind: z.ZodLiteral<"injury">;
607
+ value: z.ZodNumber;
608
+ }, z.core.$strip>, z.ZodObject<{
609
+ kind: z.ZodLiteral<"eta_minutes">;
610
+ value: z.ZodNumber;
611
+ }, z.core.$strip>, z.ZodObject<{
612
+ kind: z.ZodLiteral<"cassette_munition">;
613
+ value: z.ZodBoolean;
614
+ }, z.core.$strip>], "kind">;
615
+ validExtractions: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodObject<{
616
+ channel: z.ZodString;
617
+ regionRelevance: z.ZodNumber;
618
+ sourceTrust: z.ZodNumber;
619
+ countryOrigin: z.ZodOptional<z.ZodString>;
620
+ rocketCount: z.ZodOptional<z.ZodNumber>;
621
+ isCassette: z.ZodOptional<z.ZodBoolean>;
622
+ intercepted: z.ZodOptional<z.ZodNumber>;
623
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
624
+ type: z.ZodLiteral<"all">;
625
+ }, z.core.$strip>, z.ZodObject<{
626
+ type: z.ZodLiteral<"most">;
627
+ }, z.core.$strip>, z.ZodObject<{
628
+ type: z.ZodLiteral<"many">;
629
+ }, z.core.$strip>, z.ZodObject<{
630
+ type: z.ZodLiteral<"few">;
631
+ }, z.core.$strip>, z.ZodObject<{
632
+ type: z.ZodLiteral<"exists">;
633
+ }, z.core.$strip>, z.ZodObject<{
634
+ type: z.ZodLiteral<"none">;
635
+ }, z.core.$strip>, z.ZodObject<{
636
+ type: z.ZodLiteral<"more_than">;
637
+ value: z.ZodNumber;
638
+ }, z.core.$strip>, z.ZodObject<{
639
+ type: z.ZodLiteral<"less_than">;
640
+ value: z.ZodNumber;
641
+ }, z.core.$strip>], "type">>;
642
+ seaImpact: z.ZodOptional<z.ZodNumber>;
643
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
644
+ type: z.ZodLiteral<"all">;
645
+ }, z.core.$strip>, z.ZodObject<{
646
+ type: z.ZodLiteral<"most">;
647
+ }, z.core.$strip>, z.ZodObject<{
648
+ type: z.ZodLiteral<"many">;
649
+ }, z.core.$strip>, z.ZodObject<{
650
+ type: z.ZodLiteral<"few">;
651
+ }, z.core.$strip>, z.ZodObject<{
652
+ type: z.ZodLiteral<"exists">;
653
+ }, z.core.$strip>, z.ZodObject<{
654
+ type: z.ZodLiteral<"none">;
655
+ }, z.core.$strip>, z.ZodObject<{
656
+ type: z.ZodLiteral<"more_than">;
657
+ value: z.ZodNumber;
658
+ }, z.core.$strip>, z.ZodObject<{
659
+ type: z.ZodLiteral<"less_than">;
660
+ value: z.ZodNumber;
661
+ }, z.core.$strip>], "type">>;
662
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
663
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
664
+ type: z.ZodLiteral<"all">;
665
+ }, z.core.$strip>, z.ZodObject<{
666
+ type: z.ZodLiteral<"most">;
667
+ }, z.core.$strip>, z.ZodObject<{
668
+ type: z.ZodLiteral<"many">;
669
+ }, z.core.$strip>, z.ZodObject<{
670
+ type: z.ZodLiteral<"few">;
671
+ }, z.core.$strip>, z.ZodObject<{
672
+ type: z.ZodLiteral<"exists">;
673
+ }, z.core.$strip>, z.ZodObject<{
674
+ type: z.ZodLiteral<"none">;
675
+ }, z.core.$strip>, z.ZodObject<{
676
+ type: z.ZodLiteral<"more_than">;
677
+ value: z.ZodNumber;
678
+ }, z.core.$strip>, z.ZodObject<{
679
+ type: z.ZodLiteral<"less_than">;
680
+ value: z.ZodNumber;
681
+ }, z.core.$strip>], "type">>;
682
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
683
+ hitLocation: z.ZodOptional<z.ZodString>;
684
+ hitType: z.ZodOptional<z.ZodEnum<{
685
+ direct: "direct";
686
+ shrapnel: "shrapnel";
687
+ }>>;
688
+ hitDetail: z.ZodOptional<z.ZodString>;
689
+ casualties: z.ZodOptional<z.ZodNumber>;
690
+ injuries: z.ZodOptional<z.ZodNumber>;
691
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
692
+ rocket: "rocket";
693
+ rushing_to_shelter: "rushing_to_shelter";
694
+ }>>;
695
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
696
+ rocketDetail: z.ZodOptional<z.ZodString>;
697
+ tone: z.ZodEnum<{
698
+ calm: "calm";
699
+ neutral: "neutral";
700
+ alarmist: "alarmist";
701
+ }>;
702
+ confidence: z.ZodNumber;
703
+ timeRelevance: z.ZodNumber;
704
+ valid: z.ZodBoolean;
705
+ rejectReason: z.ZodOptional<z.ZodString>;
706
+ messageUrl: z.ZodOptional<z.ZodURL>;
707
+ }, z.core.$strip>>>>;
708
+ avgConfidence: z.ZodNumber;
709
+ sourcesCount: z.ZodNumber;
710
+ }, z.core.$strip>>>;
711
+ needsClarify: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodObject<{
712
+ channel: z.ZodString;
713
+ regionRelevance: z.ZodNumber;
714
+ sourceTrust: z.ZodNumber;
715
+ countryOrigin: z.ZodOptional<z.ZodString>;
716
+ rocketCount: z.ZodOptional<z.ZodNumber>;
717
+ isCassette: z.ZodOptional<z.ZodBoolean>;
718
+ intercepted: z.ZodOptional<z.ZodNumber>;
719
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
720
+ type: z.ZodLiteral<"all">;
721
+ }, z.core.$strip>, z.ZodObject<{
722
+ type: z.ZodLiteral<"most">;
723
+ }, z.core.$strip>, z.ZodObject<{
724
+ type: z.ZodLiteral<"many">;
725
+ }, z.core.$strip>, z.ZodObject<{
726
+ type: z.ZodLiteral<"few">;
727
+ }, z.core.$strip>, z.ZodObject<{
728
+ type: z.ZodLiteral<"exists">;
729
+ }, z.core.$strip>, z.ZodObject<{
730
+ type: z.ZodLiteral<"none">;
731
+ }, z.core.$strip>, z.ZodObject<{
732
+ type: z.ZodLiteral<"more_than">;
733
+ value: z.ZodNumber;
734
+ }, z.core.$strip>, z.ZodObject<{
735
+ type: z.ZodLiteral<"less_than">;
736
+ value: z.ZodNumber;
737
+ }, z.core.$strip>], "type">>;
738
+ seaImpact: z.ZodOptional<z.ZodNumber>;
739
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
740
+ type: z.ZodLiteral<"all">;
741
+ }, z.core.$strip>, z.ZodObject<{
742
+ type: z.ZodLiteral<"most">;
743
+ }, z.core.$strip>, z.ZodObject<{
744
+ type: z.ZodLiteral<"many">;
745
+ }, z.core.$strip>, z.ZodObject<{
746
+ type: z.ZodLiteral<"few">;
747
+ }, z.core.$strip>, z.ZodObject<{
748
+ type: z.ZodLiteral<"exists">;
749
+ }, z.core.$strip>, z.ZodObject<{
750
+ type: z.ZodLiteral<"none">;
751
+ }, z.core.$strip>, z.ZodObject<{
752
+ type: z.ZodLiteral<"more_than">;
753
+ value: z.ZodNumber;
754
+ }, z.core.$strip>, z.ZodObject<{
755
+ type: z.ZodLiteral<"less_than">;
756
+ value: z.ZodNumber;
757
+ }, z.core.$strip>], "type">>;
758
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
759
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
760
+ type: z.ZodLiteral<"all">;
761
+ }, z.core.$strip>, z.ZodObject<{
762
+ type: z.ZodLiteral<"most">;
763
+ }, z.core.$strip>, z.ZodObject<{
764
+ type: z.ZodLiteral<"many">;
765
+ }, z.core.$strip>, z.ZodObject<{
766
+ type: z.ZodLiteral<"few">;
767
+ }, z.core.$strip>, z.ZodObject<{
768
+ type: z.ZodLiteral<"exists">;
769
+ }, z.core.$strip>, z.ZodObject<{
770
+ type: z.ZodLiteral<"none">;
771
+ }, z.core.$strip>, z.ZodObject<{
772
+ type: z.ZodLiteral<"more_than">;
773
+ value: z.ZodNumber;
774
+ }, z.core.$strip>, z.ZodObject<{
775
+ type: z.ZodLiteral<"less_than">;
776
+ value: z.ZodNumber;
777
+ }, z.core.$strip>], "type">>;
778
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
779
+ hitLocation: z.ZodOptional<z.ZodString>;
780
+ hitType: z.ZodOptional<z.ZodEnum<{
781
+ direct: "direct";
782
+ shrapnel: "shrapnel";
783
+ }>>;
784
+ hitDetail: z.ZodOptional<z.ZodString>;
785
+ casualties: z.ZodOptional<z.ZodNumber>;
786
+ injuries: z.ZodOptional<z.ZodNumber>;
787
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
788
+ rocket: "rocket";
789
+ rushing_to_shelter: "rushing_to_shelter";
790
+ }>>;
791
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
792
+ rocketDetail: z.ZodOptional<z.ZodString>;
793
+ tone: z.ZodEnum<{
794
+ calm: "calm";
795
+ neutral: "neutral";
796
+ alarmist: "alarmist";
797
+ }>;
798
+ confidence: z.ZodNumber;
799
+ timeRelevance: z.ZodNumber;
800
+ }, z.core.$strip>>>>;
801
+ timestamp: z.ZodNumber;
802
+ }, z.core.$strip>;
803
+ export type VoteResultV2 = z.infer<typeof VoteResultSchemaV2>;
804
+ export declare const VoteResultSchema: z.ZodObject<{
805
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
806
+ etaCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
807
+ countryOrigins: z.ZodDefault<z.ZodArray<z.ZodObject<{
808
+ name: z.ZodString;
809
+ citations: z.ZodArray<z.ZodNumber>;
810
+ }, z.core.$strip>>>;
811
+ rocketCountMin: z.ZodOptional<z.ZodNumber>;
812
+ rocketCountMax: z.ZodOptional<z.ZodNumber>;
813
+ rocketCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
814
+ rocketConfidence: z.ZodDefault<z.ZodNumber>;
815
+ rocketDetail: z.ZodOptional<z.ZodString>;
816
+ isCassette: z.ZodOptional<z.ZodBoolean>;
817
+ isCassetteConfidence: z.ZodDefault<z.ZodNumber>;
818
+ intercepted: z.ZodOptional<z.ZodNumber>;
819
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
820
+ type: z.ZodLiteral<"all">;
821
+ }, z.core.$strip>, z.ZodObject<{
822
+ type: z.ZodLiteral<"most">;
823
+ }, z.core.$strip>, z.ZodObject<{
824
+ type: z.ZodLiteral<"many">;
825
+ }, z.core.$strip>, z.ZodObject<{
826
+ type: z.ZodLiteral<"few">;
827
+ }, z.core.$strip>, z.ZodObject<{
828
+ type: z.ZodLiteral<"exists">;
829
+ }, z.core.$strip>, z.ZodObject<{
830
+ type: z.ZodLiteral<"none">;
831
+ }, z.core.$strip>, z.ZodObject<{
832
+ type: z.ZodLiteral<"more_than">;
833
+ value: z.ZodNumber;
834
+ }, z.core.$strip>, z.ZodObject<{
835
+ type: z.ZodLiteral<"less_than">;
836
+ value: z.ZodNumber;
837
+ }, z.core.$strip>], "type">>;
838
+ interceptedConfidence: z.ZodDefault<z.ZodNumber>;
839
+ seaImpact: z.ZodOptional<z.ZodNumber>;
840
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
841
+ type: z.ZodLiteral<"all">;
842
+ }, z.core.$strip>, z.ZodObject<{
843
+ type: z.ZodLiteral<"most">;
844
+ }, z.core.$strip>, z.ZodObject<{
845
+ type: z.ZodLiteral<"many">;
846
+ }, z.core.$strip>, z.ZodObject<{
847
+ type: z.ZodLiteral<"few">;
848
+ }, z.core.$strip>, z.ZodObject<{
849
+ type: z.ZodLiteral<"exists">;
850
+ }, z.core.$strip>, z.ZodObject<{
851
+ type: z.ZodLiteral<"none">;
852
+ }, z.core.$strip>, z.ZodObject<{
853
+ type: z.ZodLiteral<"more_than">;
854
+ value: z.ZodNumber;
855
+ }, z.core.$strip>, z.ZodObject<{
856
+ type: z.ZodLiteral<"less_than">;
857
+ value: z.ZodNumber;
858
+ }, z.core.$strip>], "type">>;
859
+ seaConfidence: z.ZodDefault<z.ZodNumber>;
860
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
861
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
862
+ type: z.ZodLiteral<"all">;
863
+ }, z.core.$strip>, z.ZodObject<{
864
+ type: z.ZodLiteral<"most">;
865
+ }, z.core.$strip>, z.ZodObject<{
866
+ type: z.ZodLiteral<"many">;
867
+ }, z.core.$strip>, z.ZodObject<{
868
+ type: z.ZodLiteral<"few">;
869
+ }, z.core.$strip>, z.ZodObject<{
870
+ type: z.ZodLiteral<"exists">;
871
+ }, z.core.$strip>, z.ZodObject<{
872
+ type: z.ZodLiteral<"none">;
873
+ }, z.core.$strip>, z.ZodObject<{
874
+ type: z.ZodLiteral<"more_than">;
875
+ value: z.ZodNumber;
876
+ }, z.core.$strip>, z.ZodObject<{
877
+ type: z.ZodLiteral<"less_than">;
878
+ value: z.ZodNumber;
879
+ }, z.core.$strip>], "type">>;
880
+ openAreaConfidence: z.ZodDefault<z.ZodNumber>;
881
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
882
+ hitsCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
883
+ hitsConfidence: z.ZodDefault<z.ZodNumber>;
884
+ hitLocation: z.ZodOptional<z.ZodString>;
885
+ hitType: z.ZodOptional<z.ZodEnum<{
886
+ direct: "direct";
887
+ shrapnel: "shrapnel";
888
+ }>>;
889
+ hitDetail: z.ZodOptional<z.ZodString>;
890
+ noImpacts: z.ZodDefault<z.ZodBoolean>;
891
+ noImpactsCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
892
+ interceptedCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
893
+ casualties: z.ZodOptional<z.ZodNumber>;
894
+ casualtiesCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
895
+ casualtiesConfidence: z.ZodDefault<z.ZodNumber>;
896
+ injuries: z.ZodOptional<z.ZodNumber>;
897
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
898
+ rocket: "rocket";
899
+ rushing_to_shelter: "rushing_to_shelter";
900
+ }>>;
901
+ injuriesCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
902
+ injuriesConfidence: z.ZodDefault<z.ZodNumber>;
903
+ confidence: z.ZodDefault<z.ZodNumber>;
904
+ sourcesCount: z.ZodDefault<z.ZodNumber>;
905
+ citedSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
906
+ index: z.ZodNumber;
907
+ channel: z.ZodString;
908
+ messageUrl: z.ZodOptional<z.ZodURL>;
909
+ }, z.core.$strip>>>;
910
+ }, z.core.$strip>;
911
+ export type VoteResult = VotedResult;
912
+ export declare const InlineCiteSchema: z.ZodObject<{
913
+ url: z.ZodURL;
914
+ channel: z.ZodString;
915
+ }, z.core.$strip>;
916
+ export type InlineCite = z.infer<typeof InlineCiteSchema>;
917
+ export declare const EnrichmentDataSchema: z.ZodObject<{
918
+ origin: z.ZodOptional<z.ZodString>;
919
+ originCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
920
+ url: z.ZodURL;
921
+ channel: z.ZodString;
922
+ }, z.core.$strip>>>;
923
+ etaAbsolute: z.ZodOptional<z.ZodString>;
924
+ etaCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
925
+ url: z.ZodURL;
926
+ channel: z.ZodString;
927
+ }, z.core.$strip>>>;
928
+ rocketCount: z.ZodOptional<z.ZodString>;
929
+ rocketCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
930
+ url: z.ZodURL;
931
+ channel: z.ZodString;
932
+ }, z.core.$strip>>>;
933
+ isCassette: z.ZodOptional<z.ZodBoolean>;
934
+ intercepted: z.ZodOptional<z.ZodString>;
935
+ interceptedCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
936
+ url: z.ZodURL;
937
+ channel: z.ZodString;
938
+ }, z.core.$strip>>>;
939
+ seaImpact: z.ZodOptional<z.ZodString>;
940
+ openAreaImpact: z.ZodOptional<z.ZodString>;
941
+ hitsConfirmed: z.ZodOptional<z.ZodString>;
942
+ hitsCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
943
+ url: z.ZodURL;
944
+ channel: z.ZodString;
945
+ }, z.core.$strip>>>;
946
+ hitLocation: z.ZodOptional<z.ZodString>;
947
+ hitType: z.ZodOptional<z.ZodString>;
948
+ hitDetail: z.ZodOptional<z.ZodString>;
949
+ noImpacts: z.ZodDefault<z.ZodBoolean>;
950
+ noImpactsCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
951
+ url: z.ZodURL;
952
+ channel: z.ZodString;
953
+ }, z.core.$strip>>>;
954
+ rocketDetail: z.ZodOptional<z.ZodString>;
955
+ casualties: z.ZodOptional<z.ZodString>;
956
+ casualtiesCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
957
+ url: z.ZodURL;
958
+ channel: z.ZodString;
959
+ }, z.core.$strip>>>;
960
+ injuries: z.ZodOptional<z.ZodString>;
961
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
962
+ rocket: "rocket";
963
+ rushing_to_shelter: "rushing_to_shelter";
964
+ }>>;
965
+ injuriesCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
966
+ url: z.ZodURL;
967
+ channel: z.ZodString;
968
+ }, z.core.$strip>>>;
969
+ earlyWarningTime: z.ZodOptional<z.ZodString>;
970
+ lastEditHash: z.ZodOptional<z.ZodString>;
971
+ }, z.core.$strip>;
972
+ export type EnrichmentData = z.infer<typeof EnrichmentDataSchema>;
973
+ export declare const TelegramMessageSchema: z.ZodObject<{
974
+ chatId: z.ZodString;
975
+ messageId: z.ZodNumber;
976
+ isCaption: z.ZodBoolean;
977
+ }, z.core.$strip>;
978
+ export type TelegramMessage = z.infer<typeof TelegramMessageSchema>;
979
+ export declare const AlertMetaSchema: z.ZodObject<{
980
+ alertId: z.ZodString;
981
+ messageId: z.ZodNumber;
982
+ chatId: z.ZodString;
983
+ isCaption: z.ZodBoolean;
984
+ alertTs: z.ZodNumber;
985
+ alertType: z.ZodEnum<{
986
+ early_warning: "early_warning";
987
+ red_alert: "red_alert";
988
+ resolved: "resolved";
989
+ }>;
990
+ alertAreas: z.ZodArray<z.ZodString>;
991
+ currentText: z.ZodString;
992
+ }, z.core.$strip>;
993
+ export type AlertMeta = z.infer<typeof AlertMetaSchema>;
994
+ export declare const ChannelPostSchema: z.ZodObject<{
995
+ channel: z.ZodString;
996
+ text: z.ZodString;
997
+ ts: z.ZodNumber;
998
+ messageUrl: z.ZodOptional<z.ZodURL>;
999
+ }, z.core.$strip>;
1000
+ export type ChannelPost = z.infer<typeof ChannelPostSchema>;
1001
+ export declare const ActiveSessionSchema: z.ZodObject<{
1002
+ sessionId: z.ZodString;
1003
+ sessionStartTs: z.ZodNumber;
1004
+ phase: z.ZodEnum<{
1005
+ early_warning: "early_warning";
1006
+ red_alert: "red_alert";
1007
+ resolved: "resolved";
1008
+ }>;
1009
+ phaseStartTs: z.ZodNumber;
1010
+ latestAlertId: z.ZodString;
1011
+ latestMessageId: z.ZodNumber;
1012
+ latestAlertTs: z.ZodNumber;
1013
+ chatId: z.ZodString;
1014
+ isCaption: z.ZodBoolean;
1015
+ currentText: z.ZodString;
1016
+ baseText: z.ZodString;
1017
+ alertAreas: z.ZodArray<z.ZodString>;
1018
+ telegramMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1019
+ chatId: z.ZodString;
1020
+ messageId: z.ZodNumber;
1021
+ isCaption: z.ZodBoolean;
1022
+ }, z.core.$strip>>>;
1023
+ }, z.core.$strip>;
1024
+ export type ActiveSession = z.infer<typeof ActiveSessionSchema>;
1025
+ export declare const ExtractContextSchema: z.ZodObject<{
1026
+ alertTs: z.ZodNumber;
1027
+ alertType: z.ZodEnum<{
1028
+ early_warning: "early_warning";
1029
+ red_alert: "red_alert";
1030
+ resolved: "resolved";
1031
+ }>;
1032
+ alertAreas: z.ZodArray<z.ZodString>;
1033
+ alertId: z.ZodString;
1034
+ language: z.ZodString;
1035
+ existingEnrichment: z.ZodOptional<z.ZodObject<{
1036
+ origin: z.ZodOptional<z.ZodString>;
1037
+ originCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
1038
+ url: z.ZodURL;
1039
+ channel: z.ZodString;
1040
+ }, z.core.$strip>>>;
1041
+ etaAbsolute: z.ZodOptional<z.ZodString>;
1042
+ etaCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
1043
+ url: z.ZodURL;
1044
+ channel: z.ZodString;
1045
+ }, z.core.$strip>>>;
1046
+ rocketCount: z.ZodOptional<z.ZodString>;
1047
+ rocketCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
1048
+ url: z.ZodURL;
1049
+ channel: z.ZodString;
1050
+ }, z.core.$strip>>>;
1051
+ isCassette: z.ZodOptional<z.ZodBoolean>;
1052
+ intercepted: z.ZodOptional<z.ZodString>;
1053
+ interceptedCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
1054
+ url: z.ZodURL;
1055
+ channel: z.ZodString;
1056
+ }, z.core.$strip>>>;
1057
+ seaImpact: z.ZodOptional<z.ZodString>;
1058
+ openAreaImpact: z.ZodOptional<z.ZodString>;
1059
+ hitsConfirmed: z.ZodOptional<z.ZodString>;
1060
+ hitsCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
1061
+ url: z.ZodURL;
1062
+ channel: z.ZodString;
1063
+ }, z.core.$strip>>>;
1064
+ hitLocation: z.ZodOptional<z.ZodString>;
1065
+ hitType: z.ZodOptional<z.ZodString>;
1066
+ hitDetail: z.ZodOptional<z.ZodString>;
1067
+ noImpacts: z.ZodDefault<z.ZodBoolean>;
1068
+ noImpactsCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
1069
+ url: z.ZodURL;
1070
+ channel: z.ZodString;
1071
+ }, z.core.$strip>>>;
1072
+ rocketDetail: z.ZodOptional<z.ZodString>;
1073
+ casualties: z.ZodOptional<z.ZodString>;
1074
+ casualtiesCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
1075
+ url: z.ZodURL;
1076
+ channel: z.ZodString;
1077
+ }, z.core.$strip>>>;
1078
+ injuries: z.ZodOptional<z.ZodString>;
1079
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
1080
+ rocket: "rocket";
1081
+ rushing_to_shelter: "rushing_to_shelter";
1082
+ }>>;
1083
+ injuriesCites: z.ZodDefault<z.ZodArray<z.ZodObject<{
1084
+ url: z.ZodURL;
1085
+ channel: z.ZodString;
1086
+ }, z.core.$strip>>>;
1087
+ earlyWarningTime: z.ZodOptional<z.ZodString>;
1088
+ lastEditHash: z.ZodOptional<z.ZodString>;
1089
+ }, z.core.$strip>>;
1090
+ }, z.core.$strip>;
1091
+ export type ExtractContext = z.infer<typeof ExtractContextSchema>;
1092
+ export declare const ClarifyInputSchema: z.ZodObject<{
1093
+ alertId: z.ZodString;
1094
+ alertAreas: z.ZodArray<z.ZodString>;
1095
+ alertType: z.ZodString;
1096
+ alertTs: z.ZodNumber;
1097
+ messageId: z.ZodNumber;
1098
+ currentText: z.ZodString;
1099
+ extractions: z.ZodArray<z.ZodObject<{
1100
+ channel: z.ZodString;
1101
+ regionRelevance: z.ZodNumber;
1102
+ sourceTrust: z.ZodNumber;
1103
+ countryOrigin: z.ZodOptional<z.ZodString>;
1104
+ rocketCount: z.ZodOptional<z.ZodNumber>;
1105
+ isCassette: z.ZodOptional<z.ZodBoolean>;
1106
+ intercepted: z.ZodOptional<z.ZodNumber>;
1107
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1108
+ type: z.ZodLiteral<"all">;
1109
+ }, z.core.$strip>, z.ZodObject<{
1110
+ type: z.ZodLiteral<"most">;
1111
+ }, z.core.$strip>, z.ZodObject<{
1112
+ type: z.ZodLiteral<"many">;
1113
+ }, z.core.$strip>, z.ZodObject<{
1114
+ type: z.ZodLiteral<"few">;
1115
+ }, z.core.$strip>, z.ZodObject<{
1116
+ type: z.ZodLiteral<"exists">;
1117
+ }, z.core.$strip>, z.ZodObject<{
1118
+ type: z.ZodLiteral<"none">;
1119
+ }, z.core.$strip>, z.ZodObject<{
1120
+ type: z.ZodLiteral<"more_than">;
1121
+ value: z.ZodNumber;
1122
+ }, z.core.$strip>, z.ZodObject<{
1123
+ type: z.ZodLiteral<"less_than">;
1124
+ value: z.ZodNumber;
1125
+ }, z.core.$strip>], "type">>;
1126
+ seaImpact: z.ZodOptional<z.ZodNumber>;
1127
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1128
+ type: z.ZodLiteral<"all">;
1129
+ }, z.core.$strip>, z.ZodObject<{
1130
+ type: z.ZodLiteral<"most">;
1131
+ }, z.core.$strip>, z.ZodObject<{
1132
+ type: z.ZodLiteral<"many">;
1133
+ }, z.core.$strip>, z.ZodObject<{
1134
+ type: z.ZodLiteral<"few">;
1135
+ }, z.core.$strip>, z.ZodObject<{
1136
+ type: z.ZodLiteral<"exists">;
1137
+ }, z.core.$strip>, z.ZodObject<{
1138
+ type: z.ZodLiteral<"none">;
1139
+ }, z.core.$strip>, z.ZodObject<{
1140
+ type: z.ZodLiteral<"more_than">;
1141
+ value: z.ZodNumber;
1142
+ }, z.core.$strip>, z.ZodObject<{
1143
+ type: z.ZodLiteral<"less_than">;
1144
+ value: z.ZodNumber;
1145
+ }, z.core.$strip>], "type">>;
1146
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
1147
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1148
+ type: z.ZodLiteral<"all">;
1149
+ }, z.core.$strip>, z.ZodObject<{
1150
+ type: z.ZodLiteral<"most">;
1151
+ }, z.core.$strip>, z.ZodObject<{
1152
+ type: z.ZodLiteral<"many">;
1153
+ }, z.core.$strip>, z.ZodObject<{
1154
+ type: z.ZodLiteral<"few">;
1155
+ }, z.core.$strip>, z.ZodObject<{
1156
+ type: z.ZodLiteral<"exists">;
1157
+ }, z.core.$strip>, z.ZodObject<{
1158
+ type: z.ZodLiteral<"none">;
1159
+ }, z.core.$strip>, z.ZodObject<{
1160
+ type: z.ZodLiteral<"more_than">;
1161
+ value: z.ZodNumber;
1162
+ }, z.core.$strip>, z.ZodObject<{
1163
+ type: z.ZodLiteral<"less_than">;
1164
+ value: z.ZodNumber;
1165
+ }, z.core.$strip>], "type">>;
1166
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
1167
+ hitLocation: z.ZodOptional<z.ZodString>;
1168
+ hitType: z.ZodOptional<z.ZodEnum<{
1169
+ direct: "direct";
1170
+ shrapnel: "shrapnel";
1171
+ }>>;
1172
+ hitDetail: z.ZodOptional<z.ZodString>;
1173
+ casualties: z.ZodOptional<z.ZodNumber>;
1174
+ injuries: z.ZodOptional<z.ZodNumber>;
1175
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
1176
+ rocket: "rocket";
1177
+ rushing_to_shelter: "rushing_to_shelter";
1178
+ }>>;
1179
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
1180
+ rocketDetail: z.ZodOptional<z.ZodString>;
1181
+ tone: z.ZodEnum<{
1182
+ calm: "calm";
1183
+ neutral: "neutral";
1184
+ alarmist: "alarmist";
1185
+ }>;
1186
+ confidence: z.ZodNumber;
1187
+ timeRelevance: z.ZodNumber;
1188
+ valid: z.ZodBoolean;
1189
+ rejectReason: z.ZodOptional<z.ZodString>;
1190
+ messageUrl: z.ZodOptional<z.ZodURL>;
1191
+ }, z.core.$strip>>;
1192
+ votedResult: z.ZodObject<{
1193
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
1194
+ etaCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
1195
+ countryOrigins: z.ZodDefault<z.ZodArray<z.ZodObject<{
1196
+ name: z.ZodString;
1197
+ citations: z.ZodArray<z.ZodNumber>;
1198
+ }, z.core.$strip>>>;
1199
+ rocketCountMin: z.ZodOptional<z.ZodNumber>;
1200
+ rocketCountMax: z.ZodOptional<z.ZodNumber>;
1201
+ rocketCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
1202
+ rocketConfidence: z.ZodDefault<z.ZodNumber>;
1203
+ rocketDetail: z.ZodOptional<z.ZodString>;
1204
+ isCassette: z.ZodOptional<z.ZodBoolean>;
1205
+ isCassetteConfidence: z.ZodDefault<z.ZodNumber>;
1206
+ intercepted: z.ZodOptional<z.ZodNumber>;
1207
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1208
+ type: z.ZodLiteral<"all">;
1209
+ }, z.core.$strip>, z.ZodObject<{
1210
+ type: z.ZodLiteral<"most">;
1211
+ }, z.core.$strip>, z.ZodObject<{
1212
+ type: z.ZodLiteral<"many">;
1213
+ }, z.core.$strip>, z.ZodObject<{
1214
+ type: z.ZodLiteral<"few">;
1215
+ }, z.core.$strip>, z.ZodObject<{
1216
+ type: z.ZodLiteral<"exists">;
1217
+ }, z.core.$strip>, z.ZodObject<{
1218
+ type: z.ZodLiteral<"none">;
1219
+ }, z.core.$strip>, z.ZodObject<{
1220
+ type: z.ZodLiteral<"more_than">;
1221
+ value: z.ZodNumber;
1222
+ }, z.core.$strip>, z.ZodObject<{
1223
+ type: z.ZodLiteral<"less_than">;
1224
+ value: z.ZodNumber;
1225
+ }, z.core.$strip>], "type">>;
1226
+ interceptedConfidence: z.ZodDefault<z.ZodNumber>;
1227
+ seaImpact: z.ZodOptional<z.ZodNumber>;
1228
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1229
+ type: z.ZodLiteral<"all">;
1230
+ }, z.core.$strip>, z.ZodObject<{
1231
+ type: z.ZodLiteral<"most">;
1232
+ }, z.core.$strip>, z.ZodObject<{
1233
+ type: z.ZodLiteral<"many">;
1234
+ }, z.core.$strip>, z.ZodObject<{
1235
+ type: z.ZodLiteral<"few">;
1236
+ }, z.core.$strip>, z.ZodObject<{
1237
+ type: z.ZodLiteral<"exists">;
1238
+ }, z.core.$strip>, z.ZodObject<{
1239
+ type: z.ZodLiteral<"none">;
1240
+ }, z.core.$strip>, z.ZodObject<{
1241
+ type: z.ZodLiteral<"more_than">;
1242
+ value: z.ZodNumber;
1243
+ }, z.core.$strip>, z.ZodObject<{
1244
+ type: z.ZodLiteral<"less_than">;
1245
+ value: z.ZodNumber;
1246
+ }, z.core.$strip>], "type">>;
1247
+ seaConfidence: z.ZodDefault<z.ZodNumber>;
1248
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
1249
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1250
+ type: z.ZodLiteral<"all">;
1251
+ }, z.core.$strip>, z.ZodObject<{
1252
+ type: z.ZodLiteral<"most">;
1253
+ }, z.core.$strip>, z.ZodObject<{
1254
+ type: z.ZodLiteral<"many">;
1255
+ }, z.core.$strip>, z.ZodObject<{
1256
+ type: z.ZodLiteral<"few">;
1257
+ }, z.core.$strip>, z.ZodObject<{
1258
+ type: z.ZodLiteral<"exists">;
1259
+ }, z.core.$strip>, z.ZodObject<{
1260
+ type: z.ZodLiteral<"none">;
1261
+ }, z.core.$strip>, z.ZodObject<{
1262
+ type: z.ZodLiteral<"more_than">;
1263
+ value: z.ZodNumber;
1264
+ }, z.core.$strip>, z.ZodObject<{
1265
+ type: z.ZodLiteral<"less_than">;
1266
+ value: z.ZodNumber;
1267
+ }, z.core.$strip>], "type">>;
1268
+ openAreaConfidence: z.ZodDefault<z.ZodNumber>;
1269
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
1270
+ hitsCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
1271
+ hitsConfidence: z.ZodDefault<z.ZodNumber>;
1272
+ hitLocation: z.ZodOptional<z.ZodString>;
1273
+ hitType: z.ZodOptional<z.ZodEnum<{
1274
+ direct: "direct";
1275
+ shrapnel: "shrapnel";
1276
+ }>>;
1277
+ hitDetail: z.ZodOptional<z.ZodString>;
1278
+ noImpacts: z.ZodDefault<z.ZodBoolean>;
1279
+ noImpactsCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
1280
+ interceptedCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
1281
+ casualties: z.ZodOptional<z.ZodNumber>;
1282
+ casualtiesCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
1283
+ casualtiesConfidence: z.ZodDefault<z.ZodNumber>;
1284
+ injuries: z.ZodOptional<z.ZodNumber>;
1285
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
1286
+ rocket: "rocket";
1287
+ rushing_to_shelter: "rushing_to_shelter";
1288
+ }>>;
1289
+ injuriesCitations: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
1290
+ injuriesConfidence: z.ZodDefault<z.ZodNumber>;
1291
+ confidence: z.ZodDefault<z.ZodNumber>;
1292
+ sourcesCount: z.ZodDefault<z.ZodNumber>;
1293
+ citedSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
1294
+ index: z.ZodNumber;
1295
+ channel: z.ZodString;
1296
+ messageUrl: z.ZodOptional<z.ZodURL>;
1297
+ }, z.core.$strip>>>;
1298
+ }, z.core.$strip>;
1299
+ }, z.core.$strip>;
1300
+ export type ClarifyInput = z.infer<typeof ClarifyInputSchema>;
1301
+ export declare const ClarifyOutputSchema: z.ZodObject<{
1302
+ newPosts: z.ZodArray<z.ZodObject<{
1303
+ channel: z.ZodString;
1304
+ text: z.ZodString;
1305
+ ts: z.ZodNumber;
1306
+ messageUrl: z.ZodOptional<z.ZodURL>;
1307
+ }, z.core.$strip>>;
1308
+ newExtractions: z.ZodArray<z.ZodObject<{
1309
+ channel: z.ZodString;
1310
+ regionRelevance: z.ZodNumber;
1311
+ sourceTrust: z.ZodNumber;
1312
+ countryOrigin: z.ZodOptional<z.ZodString>;
1313
+ rocketCount: z.ZodOptional<z.ZodNumber>;
1314
+ isCassette: z.ZodOptional<z.ZodBoolean>;
1315
+ intercepted: z.ZodOptional<z.ZodNumber>;
1316
+ interceptedQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1317
+ type: z.ZodLiteral<"all">;
1318
+ }, z.core.$strip>, z.ZodObject<{
1319
+ type: z.ZodLiteral<"most">;
1320
+ }, z.core.$strip>, z.ZodObject<{
1321
+ type: z.ZodLiteral<"many">;
1322
+ }, z.core.$strip>, z.ZodObject<{
1323
+ type: z.ZodLiteral<"few">;
1324
+ }, z.core.$strip>, z.ZodObject<{
1325
+ type: z.ZodLiteral<"exists">;
1326
+ }, z.core.$strip>, z.ZodObject<{
1327
+ type: z.ZodLiteral<"none">;
1328
+ }, z.core.$strip>, z.ZodObject<{
1329
+ type: z.ZodLiteral<"more_than">;
1330
+ value: z.ZodNumber;
1331
+ }, z.core.$strip>, z.ZodObject<{
1332
+ type: z.ZodLiteral<"less_than">;
1333
+ value: z.ZodNumber;
1334
+ }, z.core.$strip>], "type">>;
1335
+ seaImpact: z.ZodOptional<z.ZodNumber>;
1336
+ seaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1337
+ type: z.ZodLiteral<"all">;
1338
+ }, z.core.$strip>, z.ZodObject<{
1339
+ type: z.ZodLiteral<"most">;
1340
+ }, z.core.$strip>, z.ZodObject<{
1341
+ type: z.ZodLiteral<"many">;
1342
+ }, z.core.$strip>, z.ZodObject<{
1343
+ type: z.ZodLiteral<"few">;
1344
+ }, z.core.$strip>, z.ZodObject<{
1345
+ type: z.ZodLiteral<"exists">;
1346
+ }, z.core.$strip>, z.ZodObject<{
1347
+ type: z.ZodLiteral<"none">;
1348
+ }, z.core.$strip>, z.ZodObject<{
1349
+ type: z.ZodLiteral<"more_than">;
1350
+ value: z.ZodNumber;
1351
+ }, z.core.$strip>, z.ZodObject<{
1352
+ type: z.ZodLiteral<"less_than">;
1353
+ value: z.ZodNumber;
1354
+ }, z.core.$strip>], "type">>;
1355
+ openAreaImpact: z.ZodOptional<z.ZodNumber>;
1356
+ openAreaImpactQual: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1357
+ type: z.ZodLiteral<"all">;
1358
+ }, z.core.$strip>, z.ZodObject<{
1359
+ type: z.ZodLiteral<"most">;
1360
+ }, z.core.$strip>, z.ZodObject<{
1361
+ type: z.ZodLiteral<"many">;
1362
+ }, z.core.$strip>, z.ZodObject<{
1363
+ type: z.ZodLiteral<"few">;
1364
+ }, z.core.$strip>, z.ZodObject<{
1365
+ type: z.ZodLiteral<"exists">;
1366
+ }, z.core.$strip>, z.ZodObject<{
1367
+ type: z.ZodLiteral<"none">;
1368
+ }, z.core.$strip>, z.ZodObject<{
1369
+ type: z.ZodLiteral<"more_than">;
1370
+ value: z.ZodNumber;
1371
+ }, z.core.$strip>, z.ZodObject<{
1372
+ type: z.ZodLiteral<"less_than">;
1373
+ value: z.ZodNumber;
1374
+ }, z.core.$strip>], "type">>;
1375
+ hitsConfirmed: z.ZodOptional<z.ZodNumber>;
1376
+ hitLocation: z.ZodOptional<z.ZodString>;
1377
+ hitType: z.ZodOptional<z.ZodEnum<{
1378
+ direct: "direct";
1379
+ shrapnel: "shrapnel";
1380
+ }>>;
1381
+ hitDetail: z.ZodOptional<z.ZodString>;
1382
+ casualties: z.ZodOptional<z.ZodNumber>;
1383
+ injuries: z.ZodOptional<z.ZodNumber>;
1384
+ injuriesCause: z.ZodOptional<z.ZodEnum<{
1385
+ rocket: "rocket";
1386
+ rushing_to_shelter: "rushing_to_shelter";
1387
+ }>>;
1388
+ etaRefinedMinutes: z.ZodOptional<z.ZodNumber>;
1389
+ rocketDetail: z.ZodOptional<z.ZodString>;
1390
+ tone: z.ZodEnum<{
1391
+ calm: "calm";
1392
+ neutral: "neutral";
1393
+ alarmist: "alarmist";
1394
+ }>;
1395
+ confidence: z.ZodNumber;
1396
+ timeRelevance: z.ZodNumber;
1397
+ valid: z.ZodBoolean;
1398
+ rejectReason: z.ZodOptional<z.ZodString>;
1399
+ messageUrl: z.ZodOptional<z.ZodURL>;
1400
+ }, z.core.$strip>>;
1401
+ toolCallCount: z.ZodNumber;
1402
+ clarified: z.ZodBoolean;
1403
+ }, z.core.$strip>;
1404
+ export type ClarifyOutput = z.infer<typeof ClarifyOutputSchema>;
1405
+ export declare const RunEnrichmentInputSchema: z.ZodObject<{
1406
+ alertId: z.ZodString;
1407
+ alertTs: z.ZodNumber;
1408
+ alertType: z.ZodEnum<{
1409
+ early_warning: "early_warning";
1410
+ red_alert: "red_alert";
1411
+ resolved: "resolved";
1412
+ }>;
1413
+ alertAreas: z.ZodArray<z.ZodString>;
1414
+ chatId: z.ZodString;
1415
+ messageId: z.ZodNumber;
1416
+ isCaption: z.ZodBoolean;
1417
+ currentText: z.ZodString;
1418
+ telegramMessages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1419
+ chatId: z.ZodString;
1420
+ messageId: z.ZodNumber;
1421
+ isCaption: z.ZodBoolean;
1422
+ }, z.core.$strip>>>;
1423
+ monitoringLabel: z.ZodOptional<z.ZodString>;
1424
+ }, z.core.$strip>;
1425
+ export type RunEnrichmentInput = z.infer<typeof RunEnrichmentInputSchema>;
1426
+ export type AlertTypeConfig = "early" | "red_alert" | "resolved";
1427
+ export declare const GifModeSchema: z.ZodEnum<{
1428
+ none: "none";
1429
+ funny_cats: "funny_cats";
1430
+ }>;
1431
+ export type GifMode = z.infer<typeof GifModeSchema>;
1432
+ /** Create empty enrichment data */
1433
+ export declare function createEmptyEnrichmentData(): EnrichmentData;
1434
+ export declare const emptyEnrichmentData: {
1435
+ originCites: {
1436
+ url: string;
1437
+ channel: string;
1438
+ }[];
1439
+ etaCites: {
1440
+ url: string;
1441
+ channel: string;
1442
+ }[];
1443
+ rocketCites: {
1444
+ url: string;
1445
+ channel: string;
1446
+ }[];
1447
+ interceptedCites: {
1448
+ url: string;
1449
+ channel: string;
1450
+ }[];
1451
+ hitsCites: {
1452
+ url: string;
1453
+ channel: string;
1454
+ }[];
1455
+ noImpacts: boolean;
1456
+ noImpactsCites: {
1457
+ url: string;
1458
+ channel: string;
1459
+ }[];
1460
+ casualtiesCites: {
1461
+ url: string;
1462
+ channel: string;
1463
+ }[];
1464
+ injuriesCites: {
1465
+ url: string;
1466
+ channel: string;
1467
+ }[];
1468
+ origin?: string | undefined;
1469
+ etaAbsolute?: string | undefined;
1470
+ rocketCount?: string | undefined;
1471
+ isCassette?: boolean | undefined;
1472
+ intercepted?: string | undefined;
1473
+ seaImpact?: string | undefined;
1474
+ openAreaImpact?: string | undefined;
1475
+ hitsConfirmed?: string | undefined;
1476
+ hitLocation?: string | undefined;
1477
+ hitType?: string | undefined;
1478
+ hitDetail?: string | undefined;
1479
+ rocketDetail?: string | undefined;
1480
+ casualties?: string | undefined;
1481
+ injuries?: string | undefined;
1482
+ injuriesCause?: "rocket" | "rushing_to_shelter" | undefined;
1483
+ earlyWarningTime?: string | undefined;
1484
+ lastEditHash?: string | undefined;
1485
+ };
1486
+ /** Validate and parse JSON string */
1487
+ export declare function parseJSON<T extends z.ZodSchema>(schema: T, json: string): z.infer<T>;
1488
+ /** Safely validate data, returning error string instead of throwing */
1489
+ export declare function validateSafe<T extends z.ZodSchema>(schema: T, data: unknown): {
1490
+ ok: true;
1491
+ data: z.infer<T>;
1492
+ } | {
1493
+ ok: false;
1494
+ error: string;
1495
+ };
1496
+ //# sourceMappingURL=schemas.d.ts.map