@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,1260 @@
1
+ import { z } from "zod";
2
+ import { type CheckReport, type ProjectSummary } from "./index.ts";
3
+ export declare const locationSchema: z.ZodObject<{
4
+ file: z.ZodString;
5
+ line: z.ZodNumber;
6
+ column: z.ZodNumber;
7
+ endLine: z.ZodNumber;
8
+ endColumn: z.ZodNumber;
9
+ start: z.ZodNumber;
10
+ end: z.ZodNumber;
11
+ }, z.core.$strip>;
12
+ export declare const summaryDiscoverySourceSchema: z.ZodEnum<{
13
+ builtin: "builtin";
14
+ community: "community";
15
+ local: "local";
16
+ package: "package";
17
+ }>;
18
+ export declare const evidenceSchema: z.ZodObject<{
19
+ kind: z.ZodEnum<{
20
+ note: "note";
21
+ source: "source";
22
+ summary: "summary";
23
+ type: "type";
24
+ }>;
25
+ message: z.ZodString;
26
+ at: z.ZodOptional<z.ZodObject<{
27
+ file: z.ZodString;
28
+ line: z.ZodNumber;
29
+ column: z.ZodNumber;
30
+ endLine: z.ZodNumber;
31
+ endColumn: z.ZodNumber;
32
+ start: z.ZodNumber;
33
+ end: z.ZodNumber;
34
+ }, z.core.$strip>>;
35
+ summaryId: z.ZodOptional<z.ZodString>;
36
+ summarySource: z.ZodOptional<z.ZodEnum<{
37
+ builtin: "builtin";
38
+ community: "community";
39
+ local: "local";
40
+ package: "package";
41
+ }>>;
42
+ declaration: z.ZodOptional<z.ZodString>;
43
+ }, z.core.$strip>;
44
+ export declare const gapSchema: z.ZodObject<{
45
+ kind: z.ZodString;
46
+ message: z.ZodString;
47
+ at: z.ZodOptional<z.ZodObject<{
48
+ file: z.ZodString;
49
+ line: z.ZodNumber;
50
+ column: z.ZodNumber;
51
+ endLine: z.ZodNumber;
52
+ endColumn: z.ZodNumber;
53
+ start: z.ZodNumber;
54
+ end: z.ZodNumber;
55
+ }, z.core.$strip>>;
56
+ }, z.core.$strip>;
57
+ export declare const diagnosticSchema: z.ZodObject<{
58
+ id: z.ZodString;
59
+ ruleId: z.ZodString;
60
+ at: z.ZodObject<{
61
+ file: z.ZodString;
62
+ line: z.ZodNumber;
63
+ column: z.ZodNumber;
64
+ endLine: z.ZodNumber;
65
+ endColumn: z.ZodNumber;
66
+ start: z.ZodNumber;
67
+ end: z.ZodNumber;
68
+ }, z.core.$strip>;
69
+ message: z.ZodString;
70
+ evidence: z.ZodArray<z.ZodObject<{
71
+ kind: z.ZodEnum<{
72
+ note: "note";
73
+ source: "source";
74
+ summary: "summary";
75
+ type: "type";
76
+ }>;
77
+ message: z.ZodString;
78
+ at: z.ZodOptional<z.ZodObject<{
79
+ file: z.ZodString;
80
+ line: z.ZodNumber;
81
+ column: z.ZodNumber;
82
+ endLine: z.ZodNumber;
83
+ endColumn: z.ZodNumber;
84
+ start: z.ZodNumber;
85
+ end: z.ZodNumber;
86
+ }, z.core.$strip>>;
87
+ summaryId: z.ZodOptional<z.ZodString>;
88
+ summarySource: z.ZodOptional<z.ZodEnum<{
89
+ builtin: "builtin";
90
+ community: "community";
91
+ local: "local";
92
+ package: "package";
93
+ }>>;
94
+ declaration: z.ZodOptional<z.ZodString>;
95
+ }, z.core.$strip>>;
96
+ projects: z.ZodArray<z.ZodString>;
97
+ }, z.core.$strip>;
98
+ export declare const compilerOptionsSummarySchema: z.ZodObject<{
99
+ strict: z.ZodBoolean;
100
+ allowJs: z.ZodBoolean;
101
+ checkJs: z.ZodBoolean;
102
+ composite: z.ZodBoolean;
103
+ target: z.ZodOptional<z.ZodString>;
104
+ module: z.ZodOptional<z.ZodString>;
105
+ moduleResolution: z.ZodOptional<z.ZodString>;
106
+ jsx: z.ZodOptional<z.ZodString>;
107
+ paths: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
108
+ customConditions: z.ZodArray<z.ZodString>;
109
+ }, z.core.$strip>;
110
+ export declare const projectSummarySchema: z.ZodObject<{
111
+ projectId: z.ZodString;
112
+ configFile: z.ZodString;
113
+ entryConfig: z.ZodString;
114
+ entryChain: z.ZodArray<z.ZodString>;
115
+ referencedBy: z.ZodArray<z.ZodString>;
116
+ projectReferences: z.ZodArray<z.ZodString>;
117
+ compilerOptions: z.ZodObject<{
118
+ strict: z.ZodBoolean;
119
+ allowJs: z.ZodBoolean;
120
+ checkJs: z.ZodBoolean;
121
+ composite: z.ZodBoolean;
122
+ target: z.ZodOptional<z.ZodString>;
123
+ module: z.ZodOptional<z.ZodString>;
124
+ moduleResolution: z.ZodOptional<z.ZodString>;
125
+ jsx: z.ZodOptional<z.ZodString>;
126
+ paths: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
127
+ customConditions: z.ZodArray<z.ZodString>;
128
+ }, z.core.$strip>;
129
+ sourceFiles: z.ZodArray<z.ZodString>;
130
+ }, z.core.$strip>;
131
+ export declare const sourceFileProjectOriginSchema: z.ZodObject<{
132
+ projectId: z.ZodString;
133
+ configFile: z.ZodString;
134
+ entryConfig: z.ZodString;
135
+ entryChain: z.ZodArray<z.ZodString>;
136
+ }, z.core.$strip>;
137
+ export declare const sourceFileOriginSchema: z.ZodObject<{
138
+ file: z.ZodString;
139
+ projects: z.ZodArray<z.ZodObject<{
140
+ projectId: z.ZodString;
141
+ configFile: z.ZodString;
142
+ entryConfig: z.ZodString;
143
+ entryChain: z.ZodArray<z.ZodString>;
144
+ }, z.core.$strip>>;
145
+ }, z.core.$strip>;
146
+ export declare const additionalInputSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
147
+ kind: z.ZodLiteral<"config">;
148
+ }, z.core.$strip>, z.ZodObject<{
149
+ kind: z.ZodLiteral<"rule">;
150
+ id: z.ZodString;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ kind: z.ZodLiteral<"summary">;
153
+ id: z.ZodString;
154
+ }, z.core.$strip>], "kind">;
155
+ export declare const additionalInputEntrySchema: z.ZodObject<{
156
+ file: z.ZodString;
157
+ exists: z.ZodBoolean;
158
+ digest: z.ZodOptional<z.ZodString>;
159
+ sources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
160
+ kind: z.ZodLiteral<"config">;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ kind: z.ZodLiteral<"rule">;
163
+ id: z.ZodString;
164
+ }, z.core.$strip>, z.ZodObject<{
165
+ kind: z.ZodLiteral<"summary">;
166
+ id: z.ZodString;
167
+ }, z.core.$strip>], "kind">>;
168
+ }, z.core.$strip>;
169
+ export declare const ruleIdentitySchema: z.ZodObject<{
170
+ id: z.ZodString;
171
+ digest: z.ZodString;
172
+ }, z.core.$strip>;
173
+ export declare const reportIdentitySchema: z.ZodObject<{
174
+ snapshotDigest: z.ZodString;
175
+ configDigest: z.ZodString;
176
+ rules: z.ZodArray<z.ZodObject<{
177
+ id: z.ZodString;
178
+ digest: z.ZodString;
179
+ }, z.core.$strip>>;
180
+ }, z.core.$strip>;
181
+ export declare const observationDetailEntrySchema: z.ZodObject<{
182
+ kind: z.ZodEnum<{
183
+ checkpoint: "checkpoint";
184
+ engineStep: "engineStep";
185
+ query: "query";
186
+ }>;
187
+ ruleId: z.ZodOptional<z.ZodString>;
188
+ projectId: z.ZodOptional<z.ZodString>;
189
+ provider: z.ZodOptional<z.ZodString>;
190
+ name: z.ZodOptional<z.ZodString>;
191
+ outcome: z.ZodOptional<z.ZodEnum<{
192
+ exclude: "exclude";
193
+ info: "info";
194
+ pass: "pass";
195
+ }>>;
196
+ cacheStatus: z.ZodOptional<z.ZodEnum<{
197
+ computed: "computed";
198
+ reused: "reused";
199
+ }>>;
200
+ candidateCount: z.ZodOptional<z.ZodNumber>;
201
+ durationMs: z.ZodOptional<z.ZodNumber>;
202
+ at: z.ZodOptional<z.ZodObject<{
203
+ file: z.ZodString;
204
+ line: z.ZodNumber;
205
+ column: z.ZodNumber;
206
+ endLine: z.ZodNumber;
207
+ endColumn: z.ZodNumber;
208
+ start: z.ZodNumber;
209
+ end: z.ZodNumber;
210
+ }, z.core.$strip>>;
211
+ summary: z.ZodString;
212
+ detail: z.ZodOptional<z.ZodUnknown>;
213
+ }, z.core.$strip>;
214
+ export declare const engineLoweringMetricsSchema: z.ZodObject<{
215
+ functionsLowered: z.ZodNumber;
216
+ verticesCreated: z.ZodNumber;
217
+ durationMs: z.ZodNumber;
218
+ }, z.core.$strip>;
219
+ export declare const engineIrCacheMetricsSchema: z.ZodObject<{
220
+ functionHits: z.ZodNumber;
221
+ functionMisses: z.ZodNumber;
222
+ filesReused: z.ZodNumber;
223
+ filesInvalidated: z.ZodNumber;
224
+ }, z.core.$strip>;
225
+ export declare const engineSummaryLookupMetricsSchema: z.ZodObject<{
226
+ lookups: z.ZodNumber;
227
+ hits: z.ZodNumber;
228
+ misses: z.ZodNumber;
229
+ hitsBySource: z.ZodObject<{
230
+ local: z.ZodNumber;
231
+ package: z.ZodNumber;
232
+ community: z.ZodNumber;
233
+ builtin: z.ZodNumber;
234
+ }, z.core.$strip>;
235
+ }, z.core.$strip>;
236
+ export declare const observationSchema: z.ZodObject<{
237
+ mode: z.ZodEnum<{
238
+ detail: "detail";
239
+ summary: "summary";
240
+ }>;
241
+ phases: z.ZodObject<{
242
+ configAndOpenMs: z.ZodNumber;
243
+ engineQueryMs: z.ZodNumber;
244
+ ruleExecutionMs: z.ZodNumber;
245
+ totalMs: z.ZodNumber;
246
+ }, z.core.$strip>;
247
+ rpc: z.ZodObject<{
248
+ batches: z.ZodNumber;
249
+ queryBatches: z.ZodNumber;
250
+ bytesSent: z.ZodNumber;
251
+ bytesReceived: z.ZodNumber;
252
+ }, z.core.$strip>;
253
+ overhead: z.ZodObject<{
254
+ checkpointMs: z.ZodNumber;
255
+ encodeMs: z.ZodNumber;
256
+ writeMs: z.ZodNumber;
257
+ }, z.core.$strip>;
258
+ queryCount: z.ZodNumber;
259
+ computedQueryCount: z.ZodNumber;
260
+ reusedQueryCount: z.ZodNumber;
261
+ candidateCount: z.ZodNumber;
262
+ checkpointCount: z.ZodNumber;
263
+ providers: z.ZodArray<z.ZodString>;
264
+ lowering: z.ZodObject<{
265
+ functionsLowered: z.ZodNumber;
266
+ verticesCreated: z.ZodNumber;
267
+ durationMs: z.ZodNumber;
268
+ }, z.core.$strip>;
269
+ irCache: z.ZodObject<{
270
+ functionHits: z.ZodNumber;
271
+ functionMisses: z.ZodNumber;
272
+ filesReused: z.ZodNumber;
273
+ filesInvalidated: z.ZodNumber;
274
+ }, z.core.$strip>;
275
+ summaryLookup: z.ZodObject<{
276
+ lookups: z.ZodNumber;
277
+ hits: z.ZodNumber;
278
+ misses: z.ZodNumber;
279
+ hitsBySource: z.ZodObject<{
280
+ local: z.ZodNumber;
281
+ package: z.ZodNumber;
282
+ community: z.ZodNumber;
283
+ builtin: z.ZodNumber;
284
+ }, z.core.$strip>;
285
+ }, z.core.$strip>;
286
+ limit: z.ZodOptional<z.ZodObject<{
287
+ maxItems: z.ZodOptional<z.ZodNumber>;
288
+ maxBytes: z.ZodOptional<z.ZodNumber>;
289
+ }, z.core.$strip>>;
290
+ truncated: z.ZodBoolean;
291
+ droppedCount: z.ZodNumber;
292
+ details: z.ZodOptional<z.ZodArray<z.ZodObject<{
293
+ kind: z.ZodEnum<{
294
+ checkpoint: "checkpoint";
295
+ engineStep: "engineStep";
296
+ query: "query";
297
+ }>;
298
+ ruleId: z.ZodOptional<z.ZodString>;
299
+ projectId: z.ZodOptional<z.ZodString>;
300
+ provider: z.ZodOptional<z.ZodString>;
301
+ name: z.ZodOptional<z.ZodString>;
302
+ outcome: z.ZodOptional<z.ZodEnum<{
303
+ exclude: "exclude";
304
+ info: "info";
305
+ pass: "pass";
306
+ }>>;
307
+ cacheStatus: z.ZodOptional<z.ZodEnum<{
308
+ computed: "computed";
309
+ reused: "reused";
310
+ }>>;
311
+ candidateCount: z.ZodOptional<z.ZodNumber>;
312
+ durationMs: z.ZodOptional<z.ZodNumber>;
313
+ at: z.ZodOptional<z.ZodObject<{
314
+ file: z.ZodString;
315
+ line: z.ZodNumber;
316
+ column: z.ZodNumber;
317
+ endLine: z.ZodNumber;
318
+ endColumn: z.ZodNumber;
319
+ start: z.ZodNumber;
320
+ end: z.ZodNumber;
321
+ }, z.core.$strip>>;
322
+ summary: z.ZodString;
323
+ detail: z.ZodOptional<z.ZodUnknown>;
324
+ }, z.core.$strip>>>;
325
+ }, z.core.$strip>;
326
+ export declare const explainQueryStepSchema: z.ZodObject<{
327
+ queryIndex: z.ZodNumber;
328
+ op: z.ZodString;
329
+ projectId: z.ZodString;
330
+ provider: z.ZodString;
331
+ cacheStatus: z.ZodEnum<{
332
+ computed: "computed";
333
+ reused: "reused";
334
+ }>;
335
+ candidateCount: z.ZodNumber;
336
+ matchedTarget: z.ZodBoolean;
337
+ durationMs: z.ZodNumber;
338
+ summary: z.ZodOptional<z.ZodString>;
339
+ detail: z.ZodOptional<z.ZodUnknown>;
340
+ }, z.core.$strip>;
341
+ export declare const explainCheckpointTraceSchema: z.ZodObject<{
342
+ name: z.ZodString;
343
+ ruleId: z.ZodString;
344
+ projectId: z.ZodString;
345
+ outcome: z.ZodEnum<{
346
+ exclude: "exclude";
347
+ info: "info";
348
+ pass: "pass";
349
+ }>;
350
+ at: z.ZodOptional<z.ZodObject<{
351
+ file: z.ZodString;
352
+ line: z.ZodNumber;
353
+ column: z.ZodNumber;
354
+ endLine: z.ZodNumber;
355
+ endColumn: z.ZodNumber;
356
+ start: z.ZodNumber;
357
+ end: z.ZodNumber;
358
+ }, z.core.$strip>>;
359
+ detail: z.ZodOptional<z.ZodUnknown>;
360
+ }, z.core.$strip>;
361
+ export declare const explainCleanupPathSchema: z.ZodObject<{
362
+ instanceKey: z.ZodString;
363
+ allocationLocation: z.ZodOptional<z.ZodObject<{
364
+ file: z.ZodString;
365
+ line: z.ZodNumber;
366
+ column: z.ZodNumber;
367
+ endLine: z.ZodNumber;
368
+ endColumn: z.ZodNumber;
369
+ start: z.ZodNumber;
370
+ end: z.ZodNumber;
371
+ }, z.core.$strip>>;
372
+ scopeLocation: z.ZodObject<{
373
+ file: z.ZodString;
374
+ line: z.ZodNumber;
375
+ column: z.ZodNumber;
376
+ endLine: z.ZodNumber;
377
+ endColumn: z.ZodNumber;
378
+ start: z.ZodNumber;
379
+ end: z.ZodNumber;
380
+ }, z.core.$strip>;
381
+ cleanupLocations: z.ZodArray<z.ZodObject<{
382
+ file: z.ZodString;
383
+ line: z.ZodNumber;
384
+ column: z.ZodNumber;
385
+ endLine: z.ZodNumber;
386
+ endColumn: z.ZodNumber;
387
+ start: z.ZodNumber;
388
+ end: z.ZodNumber;
389
+ }, z.core.$strip>>;
390
+ summaryIds: z.ZodArray<z.ZodString>;
391
+ summary: z.ZodString;
392
+ evidence: z.ZodArray<z.ZodObject<{
393
+ kind: z.ZodEnum<{
394
+ note: "note";
395
+ source: "source";
396
+ summary: "summary";
397
+ type: "type";
398
+ }>;
399
+ message: z.ZodString;
400
+ at: z.ZodOptional<z.ZodObject<{
401
+ file: z.ZodString;
402
+ line: z.ZodNumber;
403
+ column: z.ZodNumber;
404
+ endLine: z.ZodNumber;
405
+ endColumn: z.ZodNumber;
406
+ start: z.ZodNumber;
407
+ end: z.ZodNumber;
408
+ }, z.core.$strip>>;
409
+ summaryId: z.ZodOptional<z.ZodString>;
410
+ summarySource: z.ZodOptional<z.ZodEnum<{
411
+ builtin: "builtin";
412
+ community: "community";
413
+ local: "local";
414
+ package: "package";
415
+ }>>;
416
+ declaration: z.ZodOptional<z.ZodString>;
417
+ }, z.core.$strip>>;
418
+ }, z.core.$strip>;
419
+ export declare const explainResultSchema: z.ZodObject<{
420
+ ruleId: z.ZodString;
421
+ target: z.ZodObject<{
422
+ file: z.ZodString;
423
+ line: z.ZodOptional<z.ZodNumber>;
424
+ column: z.ZodOptional<z.ZodNumber>;
425
+ }, z.core.$strip>;
426
+ status: z.ZodEnum<{
427
+ blocked_by_gap: "blocked_by_gap";
428
+ covered_by_cleanup: "covered_by_cleanup";
429
+ excluded_by_checkpoint: "excluded_by_checkpoint";
430
+ excluded_by_query: "excluded_by_query";
431
+ not_in_candidates: "not_in_candidates";
432
+ reported: "reported";
433
+ rule_filtered: "rule_filtered";
434
+ suppressed_by_ignore: "suppressed_by_ignore";
435
+ target_not_in_project: "target_not_in_project";
436
+ }>;
437
+ inCandidates: z.ZodBoolean;
438
+ summary: z.ZodString;
439
+ projectsChecked: z.ZodArray<z.ZodString>;
440
+ matchingCandidates: z.ZodArray<z.ZodObject<{
441
+ file: z.ZodString;
442
+ line: z.ZodNumber;
443
+ column: z.ZodNumber;
444
+ endLine: z.ZodNumber;
445
+ endColumn: z.ZodNumber;
446
+ start: z.ZodNumber;
447
+ end: z.ZodNumber;
448
+ }, z.core.$strip>>;
449
+ excludedByQuery: z.ZodOptional<z.ZodObject<{
450
+ queryIndex: z.ZodNumber;
451
+ op: z.ZodString;
452
+ projectId: z.ZodString;
453
+ provider: z.ZodString;
454
+ cacheStatus: z.ZodEnum<{
455
+ computed: "computed";
456
+ reused: "reused";
457
+ }>;
458
+ candidateCount: z.ZodNumber;
459
+ matchedTarget: z.ZodBoolean;
460
+ durationMs: z.ZodNumber;
461
+ summary: z.ZodOptional<z.ZodString>;
462
+ detail: z.ZodOptional<z.ZodUnknown>;
463
+ }, z.core.$strip>>;
464
+ excludedByCheckpoint: z.ZodOptional<z.ZodObject<{
465
+ name: z.ZodString;
466
+ ruleId: z.ZodString;
467
+ projectId: z.ZodString;
468
+ outcome: z.ZodEnum<{
469
+ exclude: "exclude";
470
+ info: "info";
471
+ pass: "pass";
472
+ }>;
473
+ at: z.ZodOptional<z.ZodObject<{
474
+ file: z.ZodString;
475
+ line: z.ZodNumber;
476
+ column: z.ZodNumber;
477
+ endLine: z.ZodNumber;
478
+ endColumn: z.ZodNumber;
479
+ start: z.ZodNumber;
480
+ end: z.ZodNumber;
481
+ }, z.core.$strip>>;
482
+ detail: z.ZodOptional<z.ZodUnknown>;
483
+ }, z.core.$strip>>;
484
+ queries: z.ZodArray<z.ZodObject<{
485
+ queryIndex: z.ZodNumber;
486
+ op: z.ZodString;
487
+ projectId: z.ZodString;
488
+ provider: z.ZodString;
489
+ cacheStatus: z.ZodEnum<{
490
+ computed: "computed";
491
+ reused: "reused";
492
+ }>;
493
+ candidateCount: z.ZodNumber;
494
+ matchedTarget: z.ZodBoolean;
495
+ durationMs: z.ZodNumber;
496
+ summary: z.ZodOptional<z.ZodString>;
497
+ detail: z.ZodOptional<z.ZodUnknown>;
498
+ }, z.core.$strip>>;
499
+ checkpoints: z.ZodArray<z.ZodObject<{
500
+ name: z.ZodString;
501
+ ruleId: z.ZodString;
502
+ projectId: z.ZodString;
503
+ outcome: z.ZodEnum<{
504
+ exclude: "exclude";
505
+ info: "info";
506
+ pass: "pass";
507
+ }>;
508
+ at: z.ZodOptional<z.ZodObject<{
509
+ file: z.ZodString;
510
+ line: z.ZodNumber;
511
+ column: z.ZodNumber;
512
+ endLine: z.ZodNumber;
513
+ endColumn: z.ZodNumber;
514
+ start: z.ZodNumber;
515
+ end: z.ZodNumber;
516
+ }, z.core.$strip>>;
517
+ detail: z.ZodOptional<z.ZodUnknown>;
518
+ }, z.core.$strip>>;
519
+ gaps: z.ZodArray<z.ZodObject<{
520
+ kind: z.ZodString;
521
+ message: z.ZodString;
522
+ at: z.ZodOptional<z.ZodObject<{
523
+ file: z.ZodString;
524
+ line: z.ZodNumber;
525
+ column: z.ZodNumber;
526
+ endLine: z.ZodNumber;
527
+ endColumn: z.ZodNumber;
528
+ start: z.ZodNumber;
529
+ end: z.ZodNumber;
530
+ }, z.core.$strip>>;
531
+ }, z.core.$strip>>;
532
+ providers: z.ZodArray<z.ZodString>;
533
+ cleanupPaths: z.ZodArray<z.ZodObject<{
534
+ instanceKey: z.ZodString;
535
+ allocationLocation: z.ZodOptional<z.ZodObject<{
536
+ file: z.ZodString;
537
+ line: z.ZodNumber;
538
+ column: z.ZodNumber;
539
+ endLine: z.ZodNumber;
540
+ endColumn: z.ZodNumber;
541
+ start: z.ZodNumber;
542
+ end: z.ZodNumber;
543
+ }, z.core.$strip>>;
544
+ scopeLocation: z.ZodObject<{
545
+ file: z.ZodString;
546
+ line: z.ZodNumber;
547
+ column: z.ZodNumber;
548
+ endLine: z.ZodNumber;
549
+ endColumn: z.ZodNumber;
550
+ start: z.ZodNumber;
551
+ end: z.ZodNumber;
552
+ }, z.core.$strip>;
553
+ cleanupLocations: z.ZodArray<z.ZodObject<{
554
+ file: z.ZodString;
555
+ line: z.ZodNumber;
556
+ column: z.ZodNumber;
557
+ endLine: z.ZodNumber;
558
+ endColumn: z.ZodNumber;
559
+ start: z.ZodNumber;
560
+ end: z.ZodNumber;
561
+ }, z.core.$strip>>;
562
+ summaryIds: z.ZodArray<z.ZodString>;
563
+ summary: z.ZodString;
564
+ evidence: z.ZodArray<z.ZodObject<{
565
+ kind: z.ZodEnum<{
566
+ note: "note";
567
+ source: "source";
568
+ summary: "summary";
569
+ type: "type";
570
+ }>;
571
+ message: z.ZodString;
572
+ at: z.ZodOptional<z.ZodObject<{
573
+ file: z.ZodString;
574
+ line: z.ZodNumber;
575
+ column: z.ZodNumber;
576
+ endLine: z.ZodNumber;
577
+ endColumn: z.ZodNumber;
578
+ start: z.ZodNumber;
579
+ end: z.ZodNumber;
580
+ }, z.core.$strip>>;
581
+ summaryId: z.ZodOptional<z.ZodString>;
582
+ summarySource: z.ZodOptional<z.ZodEnum<{
583
+ builtin: "builtin";
584
+ community: "community";
585
+ local: "local";
586
+ package: "package";
587
+ }>>;
588
+ declaration: z.ZodOptional<z.ZodString>;
589
+ }, z.core.$strip>>;
590
+ }, z.core.$strip>>;
591
+ inlineIgnore: z.ZodOptional<z.ZodObject<{
592
+ matched: z.ZodBoolean;
593
+ ruleId: z.ZodOptional<z.ZodString>;
594
+ reason: z.ZodOptional<z.ZodString>;
595
+ commentAt: z.ZodOptional<z.ZodObject<{
596
+ file: z.ZodString;
597
+ line: z.ZodNumber;
598
+ column: z.ZodNumber;
599
+ endLine: z.ZodNumber;
600
+ endColumn: z.ZodNumber;
601
+ start: z.ZodNumber;
602
+ end: z.ZodNumber;
603
+ }, z.core.$strip>>;
604
+ }, z.core.$strip>>;
605
+ }, z.core.$strip>;
606
+ export declare const inlineIgnoreEntrySchema: z.ZodObject<{
607
+ status: z.ZodEnum<{
608
+ ambiguous: "ambiguous";
609
+ malformed: "malformed";
610
+ suppressed: "suppressed";
611
+ undetermined: "undetermined";
612
+ unknown_rule: "unknown_rule";
613
+ unused: "unused";
614
+ }>;
615
+ at: z.ZodObject<{
616
+ file: z.ZodString;
617
+ line: z.ZodNumber;
618
+ column: z.ZodNumber;
619
+ endLine: z.ZodNumber;
620
+ endColumn: z.ZodNumber;
621
+ start: z.ZodNumber;
622
+ end: z.ZodNumber;
623
+ }, z.core.$strip>;
624
+ targetLine: z.ZodOptional<z.ZodNumber>;
625
+ ruleId: z.ZodOptional<z.ZodString>;
626
+ reason: z.ZodOptional<z.ZodString>;
627
+ matchedLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
628
+ file: z.ZodString;
629
+ line: z.ZodNumber;
630
+ column: z.ZodNumber;
631
+ endLine: z.ZodNumber;
632
+ endColumn: z.ZodNumber;
633
+ start: z.ZodNumber;
634
+ end: z.ZodNumber;
635
+ }, z.core.$strip>>>;
636
+ message: z.ZodOptional<z.ZodString>;
637
+ }, z.core.$strip>;
638
+ export declare const checkReportSchema: z.ZodObject<{
639
+ reportVersion: z.ZodLiteral<"1">;
640
+ status: z.ZodEnum<{
641
+ clean: "clean";
642
+ findings: "findings";
643
+ }>;
644
+ projects: z.ZodArray<z.ZodObject<{
645
+ projectId: z.ZodString;
646
+ configFile: z.ZodString;
647
+ entryConfig: z.ZodString;
648
+ entryChain: z.ZodArray<z.ZodString>;
649
+ referencedBy: z.ZodArray<z.ZodString>;
650
+ projectReferences: z.ZodArray<z.ZodString>;
651
+ compilerOptions: z.ZodObject<{
652
+ strict: z.ZodBoolean;
653
+ allowJs: z.ZodBoolean;
654
+ checkJs: z.ZodBoolean;
655
+ composite: z.ZodBoolean;
656
+ target: z.ZodOptional<z.ZodString>;
657
+ module: z.ZodOptional<z.ZodString>;
658
+ moduleResolution: z.ZodOptional<z.ZodString>;
659
+ jsx: z.ZodOptional<z.ZodString>;
660
+ paths: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
661
+ customConditions: z.ZodArray<z.ZodString>;
662
+ }, z.core.$strip>;
663
+ sourceFiles: z.ZodArray<z.ZodString>;
664
+ }, z.core.$strip>>;
665
+ fileOrigins: z.ZodArray<z.ZodObject<{
666
+ file: z.ZodString;
667
+ projects: z.ZodArray<z.ZodObject<{
668
+ projectId: z.ZodString;
669
+ configFile: z.ZodString;
670
+ entryConfig: z.ZodString;
671
+ entryChain: z.ZodArray<z.ZodString>;
672
+ }, z.core.$strip>>;
673
+ }, z.core.$strip>>;
674
+ additionalInputs: z.ZodArray<z.ZodObject<{
675
+ file: z.ZodString;
676
+ exists: z.ZodBoolean;
677
+ digest: z.ZodOptional<z.ZodString>;
678
+ sources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
679
+ kind: z.ZodLiteral<"config">;
680
+ }, z.core.$strip>, z.ZodObject<{
681
+ kind: z.ZodLiteral<"rule">;
682
+ id: z.ZodString;
683
+ }, z.core.$strip>, z.ZodObject<{
684
+ kind: z.ZodLiteral<"summary">;
685
+ id: z.ZodString;
686
+ }, z.core.$strip>], "kind">>;
687
+ }, z.core.$strip>>;
688
+ diagnostics: z.ZodArray<z.ZodObject<{
689
+ id: z.ZodString;
690
+ ruleId: z.ZodString;
691
+ at: z.ZodObject<{
692
+ file: z.ZodString;
693
+ line: z.ZodNumber;
694
+ column: z.ZodNumber;
695
+ endLine: z.ZodNumber;
696
+ endColumn: z.ZodNumber;
697
+ start: z.ZodNumber;
698
+ end: z.ZodNumber;
699
+ }, z.core.$strip>;
700
+ message: z.ZodString;
701
+ evidence: z.ZodArray<z.ZodObject<{
702
+ kind: z.ZodEnum<{
703
+ note: "note";
704
+ source: "source";
705
+ summary: "summary";
706
+ type: "type";
707
+ }>;
708
+ message: z.ZodString;
709
+ at: z.ZodOptional<z.ZodObject<{
710
+ file: z.ZodString;
711
+ line: z.ZodNumber;
712
+ column: z.ZodNumber;
713
+ endLine: z.ZodNumber;
714
+ endColumn: z.ZodNumber;
715
+ start: z.ZodNumber;
716
+ end: z.ZodNumber;
717
+ }, z.core.$strip>>;
718
+ summaryId: z.ZodOptional<z.ZodString>;
719
+ summarySource: z.ZodOptional<z.ZodEnum<{
720
+ builtin: "builtin";
721
+ community: "community";
722
+ local: "local";
723
+ package: "package";
724
+ }>>;
725
+ declaration: z.ZodOptional<z.ZodString>;
726
+ }, z.core.$strip>>;
727
+ projects: z.ZodArray<z.ZodString>;
728
+ }, z.core.$strip>>;
729
+ gaps: z.ZodArray<z.ZodObject<{
730
+ kind: z.ZodString;
731
+ message: z.ZodString;
732
+ at: z.ZodOptional<z.ZodObject<{
733
+ file: z.ZodString;
734
+ line: z.ZodNumber;
735
+ column: z.ZodNumber;
736
+ endLine: z.ZodNumber;
737
+ endColumn: z.ZodNumber;
738
+ start: z.ZodNumber;
739
+ end: z.ZodNumber;
740
+ }, z.core.$strip>>;
741
+ }, z.core.$strip>>;
742
+ identity: z.ZodObject<{
743
+ snapshotDigest: z.ZodString;
744
+ configDigest: z.ZodString;
745
+ rules: z.ZodArray<z.ZodObject<{
746
+ id: z.ZodString;
747
+ digest: z.ZodString;
748
+ }, z.core.$strip>>;
749
+ }, z.core.$strip>;
750
+ inlineIgnores: z.ZodOptional<z.ZodArray<z.ZodObject<{
751
+ status: z.ZodEnum<{
752
+ ambiguous: "ambiguous";
753
+ malformed: "malformed";
754
+ suppressed: "suppressed";
755
+ undetermined: "undetermined";
756
+ unknown_rule: "unknown_rule";
757
+ unused: "unused";
758
+ }>;
759
+ at: z.ZodObject<{
760
+ file: z.ZodString;
761
+ line: z.ZodNumber;
762
+ column: z.ZodNumber;
763
+ endLine: z.ZodNumber;
764
+ endColumn: z.ZodNumber;
765
+ start: z.ZodNumber;
766
+ end: z.ZodNumber;
767
+ }, z.core.$strip>;
768
+ targetLine: z.ZodOptional<z.ZodNumber>;
769
+ ruleId: z.ZodOptional<z.ZodString>;
770
+ reason: z.ZodOptional<z.ZodString>;
771
+ matchedLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
772
+ file: z.ZodString;
773
+ line: z.ZodNumber;
774
+ column: z.ZodNumber;
775
+ endLine: z.ZodNumber;
776
+ endColumn: z.ZodNumber;
777
+ start: z.ZodNumber;
778
+ end: z.ZodNumber;
779
+ }, z.core.$strip>>>;
780
+ message: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$strip>>>;
782
+ observation: z.ZodOptional<z.ZodObject<{
783
+ mode: z.ZodEnum<{
784
+ detail: "detail";
785
+ summary: "summary";
786
+ }>;
787
+ phases: z.ZodObject<{
788
+ configAndOpenMs: z.ZodNumber;
789
+ engineQueryMs: z.ZodNumber;
790
+ ruleExecutionMs: z.ZodNumber;
791
+ totalMs: z.ZodNumber;
792
+ }, z.core.$strip>;
793
+ rpc: z.ZodObject<{
794
+ batches: z.ZodNumber;
795
+ queryBatches: z.ZodNumber;
796
+ bytesSent: z.ZodNumber;
797
+ bytesReceived: z.ZodNumber;
798
+ }, z.core.$strip>;
799
+ overhead: z.ZodObject<{
800
+ checkpointMs: z.ZodNumber;
801
+ encodeMs: z.ZodNumber;
802
+ writeMs: z.ZodNumber;
803
+ }, z.core.$strip>;
804
+ queryCount: z.ZodNumber;
805
+ computedQueryCount: z.ZodNumber;
806
+ reusedQueryCount: z.ZodNumber;
807
+ candidateCount: z.ZodNumber;
808
+ checkpointCount: z.ZodNumber;
809
+ providers: z.ZodArray<z.ZodString>;
810
+ lowering: z.ZodObject<{
811
+ functionsLowered: z.ZodNumber;
812
+ verticesCreated: z.ZodNumber;
813
+ durationMs: z.ZodNumber;
814
+ }, z.core.$strip>;
815
+ irCache: z.ZodObject<{
816
+ functionHits: z.ZodNumber;
817
+ functionMisses: z.ZodNumber;
818
+ filesReused: z.ZodNumber;
819
+ filesInvalidated: z.ZodNumber;
820
+ }, z.core.$strip>;
821
+ summaryLookup: z.ZodObject<{
822
+ lookups: z.ZodNumber;
823
+ hits: z.ZodNumber;
824
+ misses: z.ZodNumber;
825
+ hitsBySource: z.ZodObject<{
826
+ local: z.ZodNumber;
827
+ package: z.ZodNumber;
828
+ community: z.ZodNumber;
829
+ builtin: z.ZodNumber;
830
+ }, z.core.$strip>;
831
+ }, z.core.$strip>;
832
+ limit: z.ZodOptional<z.ZodObject<{
833
+ maxItems: z.ZodOptional<z.ZodNumber>;
834
+ maxBytes: z.ZodOptional<z.ZodNumber>;
835
+ }, z.core.$strip>>;
836
+ truncated: z.ZodBoolean;
837
+ droppedCount: z.ZodNumber;
838
+ details: z.ZodOptional<z.ZodArray<z.ZodObject<{
839
+ kind: z.ZodEnum<{
840
+ checkpoint: "checkpoint";
841
+ engineStep: "engineStep";
842
+ query: "query";
843
+ }>;
844
+ ruleId: z.ZodOptional<z.ZodString>;
845
+ projectId: z.ZodOptional<z.ZodString>;
846
+ provider: z.ZodOptional<z.ZodString>;
847
+ name: z.ZodOptional<z.ZodString>;
848
+ outcome: z.ZodOptional<z.ZodEnum<{
849
+ exclude: "exclude";
850
+ info: "info";
851
+ pass: "pass";
852
+ }>>;
853
+ cacheStatus: z.ZodOptional<z.ZodEnum<{
854
+ computed: "computed";
855
+ reused: "reused";
856
+ }>>;
857
+ candidateCount: z.ZodOptional<z.ZodNumber>;
858
+ durationMs: z.ZodOptional<z.ZodNumber>;
859
+ at: z.ZodOptional<z.ZodObject<{
860
+ file: z.ZodString;
861
+ line: z.ZodNumber;
862
+ column: z.ZodNumber;
863
+ endLine: z.ZodNumber;
864
+ endColumn: z.ZodNumber;
865
+ start: z.ZodNumber;
866
+ end: z.ZodNumber;
867
+ }, z.core.$strip>>;
868
+ summary: z.ZodString;
869
+ detail: z.ZodOptional<z.ZodUnknown>;
870
+ }, z.core.$strip>>>;
871
+ }, z.core.$strip>>;
872
+ explanation: z.ZodOptional<z.ZodObject<{
873
+ ruleId: z.ZodString;
874
+ target: z.ZodObject<{
875
+ file: z.ZodString;
876
+ line: z.ZodOptional<z.ZodNumber>;
877
+ column: z.ZodOptional<z.ZodNumber>;
878
+ }, z.core.$strip>;
879
+ status: z.ZodEnum<{
880
+ blocked_by_gap: "blocked_by_gap";
881
+ covered_by_cleanup: "covered_by_cleanup";
882
+ excluded_by_checkpoint: "excluded_by_checkpoint";
883
+ excluded_by_query: "excluded_by_query";
884
+ not_in_candidates: "not_in_candidates";
885
+ reported: "reported";
886
+ rule_filtered: "rule_filtered";
887
+ suppressed_by_ignore: "suppressed_by_ignore";
888
+ target_not_in_project: "target_not_in_project";
889
+ }>;
890
+ inCandidates: z.ZodBoolean;
891
+ summary: z.ZodString;
892
+ projectsChecked: z.ZodArray<z.ZodString>;
893
+ matchingCandidates: z.ZodArray<z.ZodObject<{
894
+ file: z.ZodString;
895
+ line: z.ZodNumber;
896
+ column: z.ZodNumber;
897
+ endLine: z.ZodNumber;
898
+ endColumn: z.ZodNumber;
899
+ start: z.ZodNumber;
900
+ end: z.ZodNumber;
901
+ }, z.core.$strip>>;
902
+ excludedByQuery: z.ZodOptional<z.ZodObject<{
903
+ queryIndex: z.ZodNumber;
904
+ op: z.ZodString;
905
+ projectId: z.ZodString;
906
+ provider: z.ZodString;
907
+ cacheStatus: z.ZodEnum<{
908
+ computed: "computed";
909
+ reused: "reused";
910
+ }>;
911
+ candidateCount: z.ZodNumber;
912
+ matchedTarget: z.ZodBoolean;
913
+ durationMs: z.ZodNumber;
914
+ summary: z.ZodOptional<z.ZodString>;
915
+ detail: z.ZodOptional<z.ZodUnknown>;
916
+ }, z.core.$strip>>;
917
+ excludedByCheckpoint: z.ZodOptional<z.ZodObject<{
918
+ name: z.ZodString;
919
+ ruleId: z.ZodString;
920
+ projectId: z.ZodString;
921
+ outcome: z.ZodEnum<{
922
+ exclude: "exclude";
923
+ info: "info";
924
+ pass: "pass";
925
+ }>;
926
+ at: z.ZodOptional<z.ZodObject<{
927
+ file: z.ZodString;
928
+ line: z.ZodNumber;
929
+ column: z.ZodNumber;
930
+ endLine: z.ZodNumber;
931
+ endColumn: z.ZodNumber;
932
+ start: z.ZodNumber;
933
+ end: z.ZodNumber;
934
+ }, z.core.$strip>>;
935
+ detail: z.ZodOptional<z.ZodUnknown>;
936
+ }, z.core.$strip>>;
937
+ queries: z.ZodArray<z.ZodObject<{
938
+ queryIndex: z.ZodNumber;
939
+ op: z.ZodString;
940
+ projectId: z.ZodString;
941
+ provider: z.ZodString;
942
+ cacheStatus: z.ZodEnum<{
943
+ computed: "computed";
944
+ reused: "reused";
945
+ }>;
946
+ candidateCount: z.ZodNumber;
947
+ matchedTarget: z.ZodBoolean;
948
+ durationMs: z.ZodNumber;
949
+ summary: z.ZodOptional<z.ZodString>;
950
+ detail: z.ZodOptional<z.ZodUnknown>;
951
+ }, z.core.$strip>>;
952
+ checkpoints: z.ZodArray<z.ZodObject<{
953
+ name: z.ZodString;
954
+ ruleId: z.ZodString;
955
+ projectId: z.ZodString;
956
+ outcome: z.ZodEnum<{
957
+ exclude: "exclude";
958
+ info: "info";
959
+ pass: "pass";
960
+ }>;
961
+ at: z.ZodOptional<z.ZodObject<{
962
+ file: z.ZodString;
963
+ line: z.ZodNumber;
964
+ column: z.ZodNumber;
965
+ endLine: z.ZodNumber;
966
+ endColumn: z.ZodNumber;
967
+ start: z.ZodNumber;
968
+ end: z.ZodNumber;
969
+ }, z.core.$strip>>;
970
+ detail: z.ZodOptional<z.ZodUnknown>;
971
+ }, z.core.$strip>>;
972
+ gaps: z.ZodArray<z.ZodObject<{
973
+ kind: z.ZodString;
974
+ message: z.ZodString;
975
+ at: z.ZodOptional<z.ZodObject<{
976
+ file: z.ZodString;
977
+ line: z.ZodNumber;
978
+ column: z.ZodNumber;
979
+ endLine: z.ZodNumber;
980
+ endColumn: z.ZodNumber;
981
+ start: z.ZodNumber;
982
+ end: z.ZodNumber;
983
+ }, z.core.$strip>>;
984
+ }, z.core.$strip>>;
985
+ providers: z.ZodArray<z.ZodString>;
986
+ cleanupPaths: z.ZodArray<z.ZodObject<{
987
+ instanceKey: z.ZodString;
988
+ allocationLocation: z.ZodOptional<z.ZodObject<{
989
+ file: z.ZodString;
990
+ line: z.ZodNumber;
991
+ column: z.ZodNumber;
992
+ endLine: z.ZodNumber;
993
+ endColumn: z.ZodNumber;
994
+ start: z.ZodNumber;
995
+ end: z.ZodNumber;
996
+ }, z.core.$strip>>;
997
+ scopeLocation: z.ZodObject<{
998
+ file: z.ZodString;
999
+ line: z.ZodNumber;
1000
+ column: z.ZodNumber;
1001
+ endLine: z.ZodNumber;
1002
+ endColumn: z.ZodNumber;
1003
+ start: z.ZodNumber;
1004
+ end: z.ZodNumber;
1005
+ }, z.core.$strip>;
1006
+ cleanupLocations: z.ZodArray<z.ZodObject<{
1007
+ file: z.ZodString;
1008
+ line: z.ZodNumber;
1009
+ column: z.ZodNumber;
1010
+ endLine: z.ZodNumber;
1011
+ endColumn: z.ZodNumber;
1012
+ start: z.ZodNumber;
1013
+ end: z.ZodNumber;
1014
+ }, z.core.$strip>>;
1015
+ summaryIds: z.ZodArray<z.ZodString>;
1016
+ summary: z.ZodString;
1017
+ evidence: z.ZodArray<z.ZodObject<{
1018
+ kind: z.ZodEnum<{
1019
+ note: "note";
1020
+ source: "source";
1021
+ summary: "summary";
1022
+ type: "type";
1023
+ }>;
1024
+ message: z.ZodString;
1025
+ at: z.ZodOptional<z.ZodObject<{
1026
+ file: z.ZodString;
1027
+ line: z.ZodNumber;
1028
+ column: z.ZodNumber;
1029
+ endLine: z.ZodNumber;
1030
+ endColumn: z.ZodNumber;
1031
+ start: z.ZodNumber;
1032
+ end: z.ZodNumber;
1033
+ }, z.core.$strip>>;
1034
+ summaryId: z.ZodOptional<z.ZodString>;
1035
+ summarySource: z.ZodOptional<z.ZodEnum<{
1036
+ builtin: "builtin";
1037
+ community: "community";
1038
+ local: "local";
1039
+ package: "package";
1040
+ }>>;
1041
+ declaration: z.ZodOptional<z.ZodString>;
1042
+ }, z.core.$strip>>;
1043
+ }, z.core.$strip>>;
1044
+ inlineIgnore: z.ZodOptional<z.ZodObject<{
1045
+ matched: z.ZodBoolean;
1046
+ ruleId: z.ZodOptional<z.ZodString>;
1047
+ reason: z.ZodOptional<z.ZodString>;
1048
+ commentAt: z.ZodOptional<z.ZodObject<{
1049
+ file: z.ZodString;
1050
+ line: z.ZodNumber;
1051
+ column: z.ZodNumber;
1052
+ endLine: z.ZodNumber;
1053
+ endColumn: z.ZodNumber;
1054
+ start: z.ZodNumber;
1055
+ end: z.ZodNumber;
1056
+ }, z.core.$strip>>;
1057
+ }, z.core.$strip>>;
1058
+ }, z.core.$strip>>;
1059
+ explanations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1060
+ ruleId: z.ZodString;
1061
+ target: z.ZodObject<{
1062
+ file: z.ZodString;
1063
+ line: z.ZodOptional<z.ZodNumber>;
1064
+ column: z.ZodOptional<z.ZodNumber>;
1065
+ }, z.core.$strip>;
1066
+ status: z.ZodEnum<{
1067
+ blocked_by_gap: "blocked_by_gap";
1068
+ covered_by_cleanup: "covered_by_cleanup";
1069
+ excluded_by_checkpoint: "excluded_by_checkpoint";
1070
+ excluded_by_query: "excluded_by_query";
1071
+ not_in_candidates: "not_in_candidates";
1072
+ reported: "reported";
1073
+ rule_filtered: "rule_filtered";
1074
+ suppressed_by_ignore: "suppressed_by_ignore";
1075
+ target_not_in_project: "target_not_in_project";
1076
+ }>;
1077
+ inCandidates: z.ZodBoolean;
1078
+ summary: z.ZodString;
1079
+ projectsChecked: z.ZodArray<z.ZodString>;
1080
+ matchingCandidates: z.ZodArray<z.ZodObject<{
1081
+ file: z.ZodString;
1082
+ line: z.ZodNumber;
1083
+ column: z.ZodNumber;
1084
+ endLine: z.ZodNumber;
1085
+ endColumn: z.ZodNumber;
1086
+ start: z.ZodNumber;
1087
+ end: z.ZodNumber;
1088
+ }, z.core.$strip>>;
1089
+ excludedByQuery: z.ZodOptional<z.ZodObject<{
1090
+ queryIndex: z.ZodNumber;
1091
+ op: z.ZodString;
1092
+ projectId: z.ZodString;
1093
+ provider: z.ZodString;
1094
+ cacheStatus: z.ZodEnum<{
1095
+ computed: "computed";
1096
+ reused: "reused";
1097
+ }>;
1098
+ candidateCount: z.ZodNumber;
1099
+ matchedTarget: z.ZodBoolean;
1100
+ durationMs: z.ZodNumber;
1101
+ summary: z.ZodOptional<z.ZodString>;
1102
+ detail: z.ZodOptional<z.ZodUnknown>;
1103
+ }, z.core.$strip>>;
1104
+ excludedByCheckpoint: z.ZodOptional<z.ZodObject<{
1105
+ name: z.ZodString;
1106
+ ruleId: z.ZodString;
1107
+ projectId: z.ZodString;
1108
+ outcome: z.ZodEnum<{
1109
+ exclude: "exclude";
1110
+ info: "info";
1111
+ pass: "pass";
1112
+ }>;
1113
+ at: z.ZodOptional<z.ZodObject<{
1114
+ file: z.ZodString;
1115
+ line: z.ZodNumber;
1116
+ column: z.ZodNumber;
1117
+ endLine: z.ZodNumber;
1118
+ endColumn: z.ZodNumber;
1119
+ start: z.ZodNumber;
1120
+ end: z.ZodNumber;
1121
+ }, z.core.$strip>>;
1122
+ detail: z.ZodOptional<z.ZodUnknown>;
1123
+ }, z.core.$strip>>;
1124
+ queries: z.ZodArray<z.ZodObject<{
1125
+ queryIndex: z.ZodNumber;
1126
+ op: z.ZodString;
1127
+ projectId: z.ZodString;
1128
+ provider: z.ZodString;
1129
+ cacheStatus: z.ZodEnum<{
1130
+ computed: "computed";
1131
+ reused: "reused";
1132
+ }>;
1133
+ candidateCount: z.ZodNumber;
1134
+ matchedTarget: z.ZodBoolean;
1135
+ durationMs: z.ZodNumber;
1136
+ summary: z.ZodOptional<z.ZodString>;
1137
+ detail: z.ZodOptional<z.ZodUnknown>;
1138
+ }, z.core.$strip>>;
1139
+ checkpoints: z.ZodArray<z.ZodObject<{
1140
+ name: z.ZodString;
1141
+ ruleId: z.ZodString;
1142
+ projectId: z.ZodString;
1143
+ outcome: z.ZodEnum<{
1144
+ exclude: "exclude";
1145
+ info: "info";
1146
+ pass: "pass";
1147
+ }>;
1148
+ at: z.ZodOptional<z.ZodObject<{
1149
+ file: z.ZodString;
1150
+ line: z.ZodNumber;
1151
+ column: z.ZodNumber;
1152
+ endLine: z.ZodNumber;
1153
+ endColumn: z.ZodNumber;
1154
+ start: z.ZodNumber;
1155
+ end: z.ZodNumber;
1156
+ }, z.core.$strip>>;
1157
+ detail: z.ZodOptional<z.ZodUnknown>;
1158
+ }, z.core.$strip>>;
1159
+ gaps: z.ZodArray<z.ZodObject<{
1160
+ kind: z.ZodString;
1161
+ message: z.ZodString;
1162
+ at: z.ZodOptional<z.ZodObject<{
1163
+ file: z.ZodString;
1164
+ line: z.ZodNumber;
1165
+ column: z.ZodNumber;
1166
+ endLine: z.ZodNumber;
1167
+ endColumn: z.ZodNumber;
1168
+ start: z.ZodNumber;
1169
+ end: z.ZodNumber;
1170
+ }, z.core.$strip>>;
1171
+ }, z.core.$strip>>;
1172
+ providers: z.ZodArray<z.ZodString>;
1173
+ cleanupPaths: z.ZodArray<z.ZodObject<{
1174
+ instanceKey: z.ZodString;
1175
+ allocationLocation: z.ZodOptional<z.ZodObject<{
1176
+ file: z.ZodString;
1177
+ line: z.ZodNumber;
1178
+ column: z.ZodNumber;
1179
+ endLine: z.ZodNumber;
1180
+ endColumn: z.ZodNumber;
1181
+ start: z.ZodNumber;
1182
+ end: z.ZodNumber;
1183
+ }, z.core.$strip>>;
1184
+ scopeLocation: z.ZodObject<{
1185
+ file: z.ZodString;
1186
+ line: z.ZodNumber;
1187
+ column: z.ZodNumber;
1188
+ endLine: z.ZodNumber;
1189
+ endColumn: z.ZodNumber;
1190
+ start: z.ZodNumber;
1191
+ end: z.ZodNumber;
1192
+ }, z.core.$strip>;
1193
+ cleanupLocations: z.ZodArray<z.ZodObject<{
1194
+ file: z.ZodString;
1195
+ line: z.ZodNumber;
1196
+ column: z.ZodNumber;
1197
+ endLine: z.ZodNumber;
1198
+ endColumn: z.ZodNumber;
1199
+ start: z.ZodNumber;
1200
+ end: z.ZodNumber;
1201
+ }, z.core.$strip>>;
1202
+ summaryIds: z.ZodArray<z.ZodString>;
1203
+ summary: z.ZodString;
1204
+ evidence: z.ZodArray<z.ZodObject<{
1205
+ kind: z.ZodEnum<{
1206
+ note: "note";
1207
+ source: "source";
1208
+ summary: "summary";
1209
+ type: "type";
1210
+ }>;
1211
+ message: z.ZodString;
1212
+ at: z.ZodOptional<z.ZodObject<{
1213
+ file: z.ZodString;
1214
+ line: z.ZodNumber;
1215
+ column: z.ZodNumber;
1216
+ endLine: z.ZodNumber;
1217
+ endColumn: z.ZodNumber;
1218
+ start: z.ZodNumber;
1219
+ end: z.ZodNumber;
1220
+ }, z.core.$strip>>;
1221
+ summaryId: z.ZodOptional<z.ZodString>;
1222
+ summarySource: z.ZodOptional<z.ZodEnum<{
1223
+ builtin: "builtin";
1224
+ community: "community";
1225
+ local: "local";
1226
+ package: "package";
1227
+ }>>;
1228
+ declaration: z.ZodOptional<z.ZodString>;
1229
+ }, z.core.$strip>>;
1230
+ }, z.core.$strip>>;
1231
+ inlineIgnore: z.ZodOptional<z.ZodObject<{
1232
+ matched: z.ZodBoolean;
1233
+ ruleId: z.ZodOptional<z.ZodString>;
1234
+ reason: z.ZodOptional<z.ZodString>;
1235
+ commentAt: z.ZodOptional<z.ZodObject<{
1236
+ file: z.ZodString;
1237
+ line: z.ZodNumber;
1238
+ column: z.ZodNumber;
1239
+ endLine: z.ZodNumber;
1240
+ endColumn: z.ZodNumber;
1241
+ start: z.ZodNumber;
1242
+ end: z.ZodNumber;
1243
+ }, z.core.$strip>>;
1244
+ }, z.core.$strip>>;
1245
+ }, z.core.$strip>>>;
1246
+ }, z.core.$strip>;
1247
+ export type WireCheckReport = z.infer<typeof checkReportSchema>;
1248
+ export type WireProjectSummary = z.infer<typeof projectSummarySchema>;
1249
+ export type WireObservation = z.infer<typeof observationSchema>;
1250
+ export type WireExplainResult = z.infer<typeof explainResultSchema>;
1251
+ export declare const checkFailureSchema: z.ZodObject<{
1252
+ reportVersion: z.ZodLiteral<"1">;
1253
+ code: z.ZodString;
1254
+ message: z.ZodString;
1255
+ }, z.core.$strip>;
1256
+ export declare function toWireProjects(projects: readonly ProjectSummary[]): WireProjectSummary[];
1257
+ export declare function toWireReport(report: CheckReport): WireCheckReport;
1258
+ export declare function formatDiagnosticsLines(report: WireCheckReport): string[];
1259
+ export declare function appendGapLines(lines: string[], gaps: WireCheckReport["gaps"]): void;
1260
+ export declare function formatScopeLines(report: WireCheckReport): string[];