@boringparts/verule 0.0.0-stage → 0.2.0

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,664 @@
1
+ import { z } from "zod";
2
+ export declare const recomputationScopeSchema: z.ZodObject<{
3
+ recomputedProjects: z.ZodArray<z.ZodString>;
4
+ reusedProjects: z.ZodArray<z.ZodString>;
5
+ recomputedFiles: z.ZodArray<z.ZodString>;
6
+ reusedFiles: z.ZodArray<z.ZodString>;
7
+ removedFiles: z.ZodArray<z.ZodString>;
8
+ invalidatedBy: z.ZodArray<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ export declare const memoryStatsSchema: z.ZodObject<{
11
+ hostRssBytes: z.ZodNumber;
12
+ engineRssBytes: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ export declare const watchReportRecordSchema: z.ZodObject<{
15
+ reportVersion: z.ZodLiteral<"1">;
16
+ status: z.ZodEnum<{
17
+ clean: "clean";
18
+ findings: "findings";
19
+ }>;
20
+ projects: z.ZodArray<z.ZodObject<{
21
+ projectId: z.ZodString;
22
+ configFile: z.ZodString;
23
+ entryConfig: z.ZodString;
24
+ entryChain: z.ZodArray<z.ZodString>;
25
+ referencedBy: z.ZodArray<z.ZodString>;
26
+ projectReferences: z.ZodArray<z.ZodString>;
27
+ compilerOptions: z.ZodObject<{
28
+ strict: z.ZodBoolean;
29
+ allowJs: z.ZodBoolean;
30
+ checkJs: z.ZodBoolean;
31
+ composite: z.ZodBoolean;
32
+ target: z.ZodOptional<z.ZodString>;
33
+ module: z.ZodOptional<z.ZodString>;
34
+ moduleResolution: z.ZodOptional<z.ZodString>;
35
+ jsx: z.ZodOptional<z.ZodString>;
36
+ paths: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
37
+ customConditions: z.ZodArray<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ sourceFiles: z.ZodArray<z.ZodString>;
40
+ }, z.core.$strip>>;
41
+ fileOrigins: z.ZodArray<z.ZodObject<{
42
+ file: z.ZodString;
43
+ projects: z.ZodArray<z.ZodObject<{
44
+ projectId: z.ZodString;
45
+ configFile: z.ZodString;
46
+ entryConfig: z.ZodString;
47
+ entryChain: z.ZodArray<z.ZodString>;
48
+ }, z.core.$strip>>;
49
+ }, z.core.$strip>>;
50
+ additionalInputs: z.ZodArray<z.ZodObject<{
51
+ file: z.ZodString;
52
+ exists: z.ZodBoolean;
53
+ digest: z.ZodOptional<z.ZodString>;
54
+ sources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
55
+ kind: z.ZodLiteral<"config">;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ kind: z.ZodLiteral<"rule">;
58
+ id: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ kind: z.ZodLiteral<"summary">;
61
+ id: z.ZodString;
62
+ }, z.core.$strip>], "kind">>;
63
+ }, z.core.$strip>>;
64
+ diagnostics: z.ZodArray<z.ZodObject<{
65
+ id: z.ZodString;
66
+ ruleId: z.ZodString;
67
+ at: z.ZodObject<{
68
+ file: z.ZodString;
69
+ line: z.ZodNumber;
70
+ column: z.ZodNumber;
71
+ endLine: z.ZodNumber;
72
+ endColumn: z.ZodNumber;
73
+ start: z.ZodNumber;
74
+ end: z.ZodNumber;
75
+ }, z.core.$strip>;
76
+ message: z.ZodString;
77
+ evidence: z.ZodArray<z.ZodObject<{
78
+ kind: z.ZodEnum<{
79
+ note: "note";
80
+ source: "source";
81
+ summary: "summary";
82
+ type: "type";
83
+ }>;
84
+ message: z.ZodString;
85
+ at: z.ZodOptional<z.ZodObject<{
86
+ file: z.ZodString;
87
+ line: z.ZodNumber;
88
+ column: z.ZodNumber;
89
+ endLine: z.ZodNumber;
90
+ endColumn: z.ZodNumber;
91
+ start: z.ZodNumber;
92
+ end: z.ZodNumber;
93
+ }, z.core.$strip>>;
94
+ summaryId: z.ZodOptional<z.ZodString>;
95
+ summarySource: z.ZodOptional<z.ZodEnum<{
96
+ builtin: "builtin";
97
+ community: "community";
98
+ local: "local";
99
+ package: "package";
100
+ }>>;
101
+ declaration: z.ZodOptional<z.ZodString>;
102
+ }, z.core.$strip>>;
103
+ projects: z.ZodArray<z.ZodString>;
104
+ }, z.core.$strip>>;
105
+ gaps: z.ZodArray<z.ZodObject<{
106
+ kind: z.ZodString;
107
+ message: z.ZodString;
108
+ at: z.ZodOptional<z.ZodObject<{
109
+ file: z.ZodString;
110
+ line: z.ZodNumber;
111
+ column: z.ZodNumber;
112
+ endLine: z.ZodNumber;
113
+ endColumn: z.ZodNumber;
114
+ start: z.ZodNumber;
115
+ end: z.ZodNumber;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>>;
118
+ identity: z.ZodObject<{
119
+ snapshotDigest: z.ZodString;
120
+ configDigest: z.ZodString;
121
+ rules: z.ZodArray<z.ZodObject<{
122
+ id: z.ZodString;
123
+ digest: z.ZodString;
124
+ }, z.core.$strip>>;
125
+ }, z.core.$strip>;
126
+ inlineIgnores: z.ZodOptional<z.ZodArray<z.ZodObject<{
127
+ status: z.ZodEnum<{
128
+ ambiguous: "ambiguous";
129
+ malformed: "malformed";
130
+ suppressed: "suppressed";
131
+ undetermined: "undetermined";
132
+ unknown_rule: "unknown_rule";
133
+ unused: "unused";
134
+ }>;
135
+ at: z.ZodObject<{
136
+ file: z.ZodString;
137
+ line: z.ZodNumber;
138
+ column: z.ZodNumber;
139
+ endLine: z.ZodNumber;
140
+ endColumn: z.ZodNumber;
141
+ start: z.ZodNumber;
142
+ end: z.ZodNumber;
143
+ }, z.core.$strip>;
144
+ targetLine: z.ZodOptional<z.ZodNumber>;
145
+ ruleId: z.ZodOptional<z.ZodString>;
146
+ reason: z.ZodOptional<z.ZodString>;
147
+ matchedLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
148
+ file: z.ZodString;
149
+ line: z.ZodNumber;
150
+ column: z.ZodNumber;
151
+ endLine: z.ZodNumber;
152
+ endColumn: z.ZodNumber;
153
+ start: z.ZodNumber;
154
+ end: z.ZodNumber;
155
+ }, z.core.$strip>>>;
156
+ message: z.ZodOptional<z.ZodString>;
157
+ }, z.core.$strip>>>;
158
+ observation: z.ZodOptional<z.ZodObject<{
159
+ mode: z.ZodEnum<{
160
+ detail: "detail";
161
+ summary: "summary";
162
+ }>;
163
+ phases: z.ZodObject<{
164
+ configAndOpenMs: z.ZodNumber;
165
+ engineQueryMs: z.ZodNumber;
166
+ ruleExecutionMs: z.ZodNumber;
167
+ totalMs: z.ZodNumber;
168
+ }, z.core.$strip>;
169
+ rpc: z.ZodObject<{
170
+ batches: z.ZodNumber;
171
+ queryBatches: z.ZodNumber;
172
+ bytesSent: z.ZodNumber;
173
+ bytesReceived: z.ZodNumber;
174
+ }, z.core.$strip>;
175
+ overhead: z.ZodObject<{
176
+ checkpointMs: z.ZodNumber;
177
+ encodeMs: z.ZodNumber;
178
+ writeMs: z.ZodNumber;
179
+ }, z.core.$strip>;
180
+ queryCount: z.ZodNumber;
181
+ computedQueryCount: z.ZodNumber;
182
+ reusedQueryCount: z.ZodNumber;
183
+ candidateCount: z.ZodNumber;
184
+ checkpointCount: z.ZodNumber;
185
+ providers: z.ZodArray<z.ZodString>;
186
+ lowering: z.ZodObject<{
187
+ functionsLowered: z.ZodNumber;
188
+ verticesCreated: z.ZodNumber;
189
+ durationMs: z.ZodNumber;
190
+ }, z.core.$strip>;
191
+ irCache: z.ZodObject<{
192
+ functionHits: z.ZodNumber;
193
+ functionMisses: z.ZodNumber;
194
+ filesReused: z.ZodNumber;
195
+ filesInvalidated: z.ZodNumber;
196
+ }, z.core.$strip>;
197
+ summaryLookup: z.ZodObject<{
198
+ lookups: z.ZodNumber;
199
+ hits: z.ZodNumber;
200
+ misses: z.ZodNumber;
201
+ hitsBySource: z.ZodObject<{
202
+ local: z.ZodNumber;
203
+ package: z.ZodNumber;
204
+ community: z.ZodNumber;
205
+ builtin: z.ZodNumber;
206
+ }, z.core.$strip>;
207
+ }, z.core.$strip>;
208
+ limit: z.ZodOptional<z.ZodObject<{
209
+ maxItems: z.ZodOptional<z.ZodNumber>;
210
+ maxBytes: z.ZodOptional<z.ZodNumber>;
211
+ }, z.core.$strip>>;
212
+ truncated: z.ZodBoolean;
213
+ droppedCount: z.ZodNumber;
214
+ details: z.ZodOptional<z.ZodArray<z.ZodObject<{
215
+ kind: z.ZodEnum<{
216
+ checkpoint: "checkpoint";
217
+ engineStep: "engineStep";
218
+ query: "query";
219
+ }>;
220
+ ruleId: z.ZodOptional<z.ZodString>;
221
+ projectId: z.ZodOptional<z.ZodString>;
222
+ provider: z.ZodOptional<z.ZodString>;
223
+ name: z.ZodOptional<z.ZodString>;
224
+ outcome: z.ZodOptional<z.ZodEnum<{
225
+ exclude: "exclude";
226
+ info: "info";
227
+ pass: "pass";
228
+ }>>;
229
+ cacheStatus: z.ZodOptional<z.ZodEnum<{
230
+ computed: "computed";
231
+ reused: "reused";
232
+ }>>;
233
+ candidateCount: z.ZodOptional<z.ZodNumber>;
234
+ durationMs: z.ZodOptional<z.ZodNumber>;
235
+ at: z.ZodOptional<z.ZodObject<{
236
+ file: z.ZodString;
237
+ line: z.ZodNumber;
238
+ column: z.ZodNumber;
239
+ endLine: z.ZodNumber;
240
+ endColumn: z.ZodNumber;
241
+ start: z.ZodNumber;
242
+ end: z.ZodNumber;
243
+ }, z.core.$strip>>;
244
+ summary: z.ZodString;
245
+ detail: z.ZodOptional<z.ZodUnknown>;
246
+ }, z.core.$strip>>>;
247
+ }, z.core.$strip>>;
248
+ explanation: z.ZodOptional<z.ZodObject<{
249
+ ruleId: z.ZodString;
250
+ target: z.ZodObject<{
251
+ file: z.ZodString;
252
+ line: z.ZodOptional<z.ZodNumber>;
253
+ column: z.ZodOptional<z.ZodNumber>;
254
+ }, z.core.$strip>;
255
+ status: z.ZodEnum<{
256
+ blocked_by_gap: "blocked_by_gap";
257
+ covered_by_cleanup: "covered_by_cleanup";
258
+ excluded_by_checkpoint: "excluded_by_checkpoint";
259
+ excluded_by_query: "excluded_by_query";
260
+ not_in_candidates: "not_in_candidates";
261
+ reported: "reported";
262
+ rule_filtered: "rule_filtered";
263
+ suppressed_by_ignore: "suppressed_by_ignore";
264
+ target_not_in_project: "target_not_in_project";
265
+ }>;
266
+ inCandidates: z.ZodBoolean;
267
+ summary: z.ZodString;
268
+ projectsChecked: z.ZodArray<z.ZodString>;
269
+ matchingCandidates: z.ZodArray<z.ZodObject<{
270
+ file: z.ZodString;
271
+ line: z.ZodNumber;
272
+ column: z.ZodNumber;
273
+ endLine: z.ZodNumber;
274
+ endColumn: z.ZodNumber;
275
+ start: z.ZodNumber;
276
+ end: z.ZodNumber;
277
+ }, z.core.$strip>>;
278
+ excludedByQuery: z.ZodOptional<z.ZodObject<{
279
+ queryIndex: z.ZodNumber;
280
+ op: z.ZodString;
281
+ projectId: z.ZodString;
282
+ provider: z.ZodString;
283
+ cacheStatus: z.ZodEnum<{
284
+ computed: "computed";
285
+ reused: "reused";
286
+ }>;
287
+ candidateCount: z.ZodNumber;
288
+ matchedTarget: z.ZodBoolean;
289
+ durationMs: z.ZodNumber;
290
+ summary: z.ZodOptional<z.ZodString>;
291
+ detail: z.ZodOptional<z.ZodUnknown>;
292
+ }, z.core.$strip>>;
293
+ excludedByCheckpoint: z.ZodOptional<z.ZodObject<{
294
+ name: z.ZodString;
295
+ ruleId: z.ZodString;
296
+ projectId: z.ZodString;
297
+ outcome: z.ZodEnum<{
298
+ exclude: "exclude";
299
+ info: "info";
300
+ pass: "pass";
301
+ }>;
302
+ at: z.ZodOptional<z.ZodObject<{
303
+ file: z.ZodString;
304
+ line: z.ZodNumber;
305
+ column: z.ZodNumber;
306
+ endLine: z.ZodNumber;
307
+ endColumn: z.ZodNumber;
308
+ start: z.ZodNumber;
309
+ end: z.ZodNumber;
310
+ }, z.core.$strip>>;
311
+ detail: z.ZodOptional<z.ZodUnknown>;
312
+ }, z.core.$strip>>;
313
+ queries: z.ZodArray<z.ZodObject<{
314
+ queryIndex: z.ZodNumber;
315
+ op: z.ZodString;
316
+ projectId: z.ZodString;
317
+ provider: z.ZodString;
318
+ cacheStatus: z.ZodEnum<{
319
+ computed: "computed";
320
+ reused: "reused";
321
+ }>;
322
+ candidateCount: z.ZodNumber;
323
+ matchedTarget: z.ZodBoolean;
324
+ durationMs: z.ZodNumber;
325
+ summary: z.ZodOptional<z.ZodString>;
326
+ detail: z.ZodOptional<z.ZodUnknown>;
327
+ }, z.core.$strip>>;
328
+ checkpoints: z.ZodArray<z.ZodObject<{
329
+ name: z.ZodString;
330
+ ruleId: z.ZodString;
331
+ projectId: z.ZodString;
332
+ outcome: z.ZodEnum<{
333
+ exclude: "exclude";
334
+ info: "info";
335
+ pass: "pass";
336
+ }>;
337
+ at: z.ZodOptional<z.ZodObject<{
338
+ file: z.ZodString;
339
+ line: z.ZodNumber;
340
+ column: z.ZodNumber;
341
+ endLine: z.ZodNumber;
342
+ endColumn: z.ZodNumber;
343
+ start: z.ZodNumber;
344
+ end: z.ZodNumber;
345
+ }, z.core.$strip>>;
346
+ detail: z.ZodOptional<z.ZodUnknown>;
347
+ }, z.core.$strip>>;
348
+ gaps: z.ZodArray<z.ZodObject<{
349
+ kind: z.ZodString;
350
+ message: z.ZodString;
351
+ at: z.ZodOptional<z.ZodObject<{
352
+ file: z.ZodString;
353
+ line: z.ZodNumber;
354
+ column: z.ZodNumber;
355
+ endLine: z.ZodNumber;
356
+ endColumn: z.ZodNumber;
357
+ start: z.ZodNumber;
358
+ end: z.ZodNumber;
359
+ }, z.core.$strip>>;
360
+ }, z.core.$strip>>;
361
+ providers: z.ZodArray<z.ZodString>;
362
+ cleanupPaths: z.ZodArray<z.ZodObject<{
363
+ instanceKey: z.ZodString;
364
+ allocationLocation: z.ZodOptional<z.ZodObject<{
365
+ file: z.ZodString;
366
+ line: z.ZodNumber;
367
+ column: z.ZodNumber;
368
+ endLine: z.ZodNumber;
369
+ endColumn: z.ZodNumber;
370
+ start: z.ZodNumber;
371
+ end: z.ZodNumber;
372
+ }, z.core.$strip>>;
373
+ scopeLocation: z.ZodObject<{
374
+ file: z.ZodString;
375
+ line: z.ZodNumber;
376
+ column: z.ZodNumber;
377
+ endLine: z.ZodNumber;
378
+ endColumn: z.ZodNumber;
379
+ start: z.ZodNumber;
380
+ end: z.ZodNumber;
381
+ }, z.core.$strip>;
382
+ cleanupLocations: z.ZodArray<z.ZodObject<{
383
+ file: z.ZodString;
384
+ line: z.ZodNumber;
385
+ column: z.ZodNumber;
386
+ endLine: z.ZodNumber;
387
+ endColumn: z.ZodNumber;
388
+ start: z.ZodNumber;
389
+ end: z.ZodNumber;
390
+ }, z.core.$strip>>;
391
+ summaryIds: z.ZodArray<z.ZodString>;
392
+ summary: z.ZodString;
393
+ evidence: z.ZodArray<z.ZodObject<{
394
+ kind: z.ZodEnum<{
395
+ note: "note";
396
+ source: "source";
397
+ summary: "summary";
398
+ type: "type";
399
+ }>;
400
+ message: z.ZodString;
401
+ at: z.ZodOptional<z.ZodObject<{
402
+ file: z.ZodString;
403
+ line: z.ZodNumber;
404
+ column: z.ZodNumber;
405
+ endLine: z.ZodNumber;
406
+ endColumn: z.ZodNumber;
407
+ start: z.ZodNumber;
408
+ end: z.ZodNumber;
409
+ }, z.core.$strip>>;
410
+ summaryId: z.ZodOptional<z.ZodString>;
411
+ summarySource: z.ZodOptional<z.ZodEnum<{
412
+ builtin: "builtin";
413
+ community: "community";
414
+ local: "local";
415
+ package: "package";
416
+ }>>;
417
+ declaration: z.ZodOptional<z.ZodString>;
418
+ }, z.core.$strip>>;
419
+ }, z.core.$strip>>;
420
+ inlineIgnore: z.ZodOptional<z.ZodObject<{
421
+ matched: z.ZodBoolean;
422
+ ruleId: z.ZodOptional<z.ZodString>;
423
+ reason: z.ZodOptional<z.ZodString>;
424
+ commentAt: z.ZodOptional<z.ZodObject<{
425
+ file: z.ZodString;
426
+ line: z.ZodNumber;
427
+ column: z.ZodNumber;
428
+ endLine: z.ZodNumber;
429
+ endColumn: z.ZodNumber;
430
+ start: z.ZodNumber;
431
+ end: z.ZodNumber;
432
+ }, z.core.$strip>>;
433
+ }, z.core.$strip>>;
434
+ }, z.core.$strip>>;
435
+ explanations: z.ZodOptional<z.ZodArray<z.ZodObject<{
436
+ ruleId: z.ZodString;
437
+ target: z.ZodObject<{
438
+ file: z.ZodString;
439
+ line: z.ZodOptional<z.ZodNumber>;
440
+ column: z.ZodOptional<z.ZodNumber>;
441
+ }, z.core.$strip>;
442
+ status: z.ZodEnum<{
443
+ blocked_by_gap: "blocked_by_gap";
444
+ covered_by_cleanup: "covered_by_cleanup";
445
+ excluded_by_checkpoint: "excluded_by_checkpoint";
446
+ excluded_by_query: "excluded_by_query";
447
+ not_in_candidates: "not_in_candidates";
448
+ reported: "reported";
449
+ rule_filtered: "rule_filtered";
450
+ suppressed_by_ignore: "suppressed_by_ignore";
451
+ target_not_in_project: "target_not_in_project";
452
+ }>;
453
+ inCandidates: z.ZodBoolean;
454
+ summary: z.ZodString;
455
+ projectsChecked: z.ZodArray<z.ZodString>;
456
+ matchingCandidates: z.ZodArray<z.ZodObject<{
457
+ file: z.ZodString;
458
+ line: z.ZodNumber;
459
+ column: z.ZodNumber;
460
+ endLine: z.ZodNumber;
461
+ endColumn: z.ZodNumber;
462
+ start: z.ZodNumber;
463
+ end: z.ZodNumber;
464
+ }, z.core.$strip>>;
465
+ excludedByQuery: z.ZodOptional<z.ZodObject<{
466
+ queryIndex: z.ZodNumber;
467
+ op: z.ZodString;
468
+ projectId: z.ZodString;
469
+ provider: z.ZodString;
470
+ cacheStatus: z.ZodEnum<{
471
+ computed: "computed";
472
+ reused: "reused";
473
+ }>;
474
+ candidateCount: z.ZodNumber;
475
+ matchedTarget: z.ZodBoolean;
476
+ durationMs: z.ZodNumber;
477
+ summary: z.ZodOptional<z.ZodString>;
478
+ detail: z.ZodOptional<z.ZodUnknown>;
479
+ }, z.core.$strip>>;
480
+ excludedByCheckpoint: z.ZodOptional<z.ZodObject<{
481
+ name: z.ZodString;
482
+ ruleId: z.ZodString;
483
+ projectId: z.ZodString;
484
+ outcome: z.ZodEnum<{
485
+ exclude: "exclude";
486
+ info: "info";
487
+ pass: "pass";
488
+ }>;
489
+ at: z.ZodOptional<z.ZodObject<{
490
+ file: z.ZodString;
491
+ line: z.ZodNumber;
492
+ column: z.ZodNumber;
493
+ endLine: z.ZodNumber;
494
+ endColumn: z.ZodNumber;
495
+ start: z.ZodNumber;
496
+ end: z.ZodNumber;
497
+ }, z.core.$strip>>;
498
+ detail: z.ZodOptional<z.ZodUnknown>;
499
+ }, z.core.$strip>>;
500
+ queries: z.ZodArray<z.ZodObject<{
501
+ queryIndex: z.ZodNumber;
502
+ op: z.ZodString;
503
+ projectId: z.ZodString;
504
+ provider: z.ZodString;
505
+ cacheStatus: z.ZodEnum<{
506
+ computed: "computed";
507
+ reused: "reused";
508
+ }>;
509
+ candidateCount: z.ZodNumber;
510
+ matchedTarget: z.ZodBoolean;
511
+ durationMs: z.ZodNumber;
512
+ summary: z.ZodOptional<z.ZodString>;
513
+ detail: z.ZodOptional<z.ZodUnknown>;
514
+ }, z.core.$strip>>;
515
+ checkpoints: z.ZodArray<z.ZodObject<{
516
+ name: z.ZodString;
517
+ ruleId: z.ZodString;
518
+ projectId: z.ZodString;
519
+ outcome: z.ZodEnum<{
520
+ exclude: "exclude";
521
+ info: "info";
522
+ pass: "pass";
523
+ }>;
524
+ at: z.ZodOptional<z.ZodObject<{
525
+ file: z.ZodString;
526
+ line: z.ZodNumber;
527
+ column: z.ZodNumber;
528
+ endLine: z.ZodNumber;
529
+ endColumn: z.ZodNumber;
530
+ start: z.ZodNumber;
531
+ end: z.ZodNumber;
532
+ }, z.core.$strip>>;
533
+ detail: z.ZodOptional<z.ZodUnknown>;
534
+ }, z.core.$strip>>;
535
+ gaps: z.ZodArray<z.ZodObject<{
536
+ kind: z.ZodString;
537
+ message: z.ZodString;
538
+ at: z.ZodOptional<z.ZodObject<{
539
+ file: z.ZodString;
540
+ line: z.ZodNumber;
541
+ column: z.ZodNumber;
542
+ endLine: z.ZodNumber;
543
+ endColumn: z.ZodNumber;
544
+ start: z.ZodNumber;
545
+ end: z.ZodNumber;
546
+ }, z.core.$strip>>;
547
+ }, z.core.$strip>>;
548
+ providers: z.ZodArray<z.ZodString>;
549
+ cleanupPaths: z.ZodArray<z.ZodObject<{
550
+ instanceKey: z.ZodString;
551
+ allocationLocation: z.ZodOptional<z.ZodObject<{
552
+ file: z.ZodString;
553
+ line: z.ZodNumber;
554
+ column: z.ZodNumber;
555
+ endLine: z.ZodNumber;
556
+ endColumn: z.ZodNumber;
557
+ start: z.ZodNumber;
558
+ end: z.ZodNumber;
559
+ }, z.core.$strip>>;
560
+ scopeLocation: z.ZodObject<{
561
+ file: z.ZodString;
562
+ line: z.ZodNumber;
563
+ column: z.ZodNumber;
564
+ endLine: z.ZodNumber;
565
+ endColumn: z.ZodNumber;
566
+ start: z.ZodNumber;
567
+ end: z.ZodNumber;
568
+ }, z.core.$strip>;
569
+ cleanupLocations: z.ZodArray<z.ZodObject<{
570
+ file: z.ZodString;
571
+ line: z.ZodNumber;
572
+ column: z.ZodNumber;
573
+ endLine: z.ZodNumber;
574
+ endColumn: z.ZodNumber;
575
+ start: z.ZodNumber;
576
+ end: z.ZodNumber;
577
+ }, z.core.$strip>>;
578
+ summaryIds: z.ZodArray<z.ZodString>;
579
+ summary: z.ZodString;
580
+ evidence: z.ZodArray<z.ZodObject<{
581
+ kind: z.ZodEnum<{
582
+ note: "note";
583
+ source: "source";
584
+ summary: "summary";
585
+ type: "type";
586
+ }>;
587
+ message: z.ZodString;
588
+ at: z.ZodOptional<z.ZodObject<{
589
+ file: z.ZodString;
590
+ line: z.ZodNumber;
591
+ column: z.ZodNumber;
592
+ endLine: z.ZodNumber;
593
+ endColumn: z.ZodNumber;
594
+ start: z.ZodNumber;
595
+ end: z.ZodNumber;
596
+ }, z.core.$strip>>;
597
+ summaryId: z.ZodOptional<z.ZodString>;
598
+ summarySource: z.ZodOptional<z.ZodEnum<{
599
+ builtin: "builtin";
600
+ community: "community";
601
+ local: "local";
602
+ package: "package";
603
+ }>>;
604
+ declaration: z.ZodOptional<z.ZodString>;
605
+ }, z.core.$strip>>;
606
+ }, z.core.$strip>>;
607
+ inlineIgnore: z.ZodOptional<z.ZodObject<{
608
+ matched: z.ZodBoolean;
609
+ ruleId: z.ZodOptional<z.ZodString>;
610
+ reason: z.ZodOptional<z.ZodString>;
611
+ commentAt: z.ZodOptional<z.ZodObject<{
612
+ file: z.ZodString;
613
+ line: z.ZodNumber;
614
+ column: z.ZodNumber;
615
+ endLine: z.ZodNumber;
616
+ endColumn: z.ZodNumber;
617
+ start: z.ZodNumber;
618
+ end: z.ZodNumber;
619
+ }, z.core.$strip>>;
620
+ }, z.core.$strip>>;
621
+ }, z.core.$strip>>>;
622
+ sequence: z.ZodNumber;
623
+ trigger: z.ZodEnum<{
624
+ change: "change";
625
+ initial: "initial";
626
+ }>;
627
+ snapshotId: z.ZodNumber;
628
+ recomputation: z.ZodObject<{
629
+ recomputedProjects: z.ZodArray<z.ZodString>;
630
+ reusedProjects: z.ZodArray<z.ZodString>;
631
+ recomputedFiles: z.ZodArray<z.ZodString>;
632
+ reusedFiles: z.ZodArray<z.ZodString>;
633
+ removedFiles: z.ZodArray<z.ZodString>;
634
+ invalidatedBy: z.ZodArray<z.ZodString>;
635
+ }, z.core.$strip>;
636
+ memory: z.ZodObject<{
637
+ hostRssBytes: z.ZodNumber;
638
+ engineRssBytes: z.ZodOptional<z.ZodNumber>;
639
+ }, z.core.$strip>;
640
+ }, z.core.$strip>;
641
+ export type WireWatchReportRecord = z.infer<typeof watchReportRecordSchema>;
642
+ export declare const watchFailureRecordSchema: z.ZodObject<{
643
+ reportVersion: z.ZodLiteral<"1">;
644
+ sequence: z.ZodNumber;
645
+ trigger: z.ZodEnum<{
646
+ change: "change";
647
+ initial: "initial";
648
+ }>;
649
+ code: z.ZodString;
650
+ message: z.ZodString;
651
+ }, z.core.$strip>;
652
+ export type WireWatchFailureRecord = z.infer<typeof watchFailureRecordSchema>;
653
+ export declare function formatWatchReportText(record: WireWatchReportRecord): import("@boringparts/cli-contract").TextFragment | import("@boringparts/cli-contract").TextLine;
654
+ /**
655
+ * Streams complete analysis reports and single-round failures for `verule watch`,
656
+ * preserving the long-lived analysis session across edits until aborted.
657
+ */
658
+ export declare function streamWatchEvents<TReportFact, TFailedFact, TSuccessFact>(workingDirectory: string, configOption: string | undefined, signal: AbortSignal | undefined, outcome: {
659
+ readonly record: {
660
+ readonly report: (payload: WireWatchReportRecord) => TReportFact;
661
+ readonly failed: (payload: WireWatchFailureRecord) => TFailedFact;
662
+ };
663
+ readonly streamSuccess: () => TSuccessFact;
664
+ }): AsyncGenerator<TReportFact | TFailedFact, TSuccessFact, void>;