@speeq/core 0.4.0 → 0.5.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,2523 @@
1
+ import { z } from 'zod';
2
+
3
+ /** Current on-disk manifest format. */
4
+ declare const MANIFEST_VERSION: 1;
5
+ /** Discovery categories. */
6
+ declare const kindSchema: z.ZodEnum<{
7
+ function: "function";
8
+ route: "route";
9
+ endpoint: "endpoint";
10
+ form: "form";
11
+ "filter-set": "filter-set";
12
+ }>;
13
+ /** Strength of scanner support. */
14
+ declare const supportSchema: z.ZodEnum<{
15
+ proven: "proven";
16
+ "needs-review": "needs-review";
17
+ unsupported: "unsupported";
18
+ }>;
19
+ /** Effect on host data. */
20
+ declare const accessSchema: z.ZodEnum<{
21
+ read: "read";
22
+ write: "write";
23
+ unknown: "unknown";
24
+ }>;
25
+ declare const sensitivity: z.ZodEnum<{
26
+ unknown: "unknown";
27
+ none: "none";
28
+ personal: "personal";
29
+ financial: "financial";
30
+ credentials: "credentials";
31
+ admin: "admin";
32
+ }>;
33
+ declare const framework: z.ZodEnum<{
34
+ "nextjs-app": "nextjs-app";
35
+ "nextjs-pages": "nextjs-pages";
36
+ }>;
37
+ /** A canonical, repo-relative source file. */
38
+ declare const fileSchema: z.ZodString;
39
+ declare const evidence: z.ZodObject<{
40
+ file: z.ZodString;
41
+ line: z.ZodInt;
42
+ detector: z.ZodString;
43
+ note: z.ZodString;
44
+ }, z.core.$strict>;
45
+ declare const auth: z.ZodObject<{
46
+ observed: z.ZodEnum<{
47
+ unknown: "unknown";
48
+ "none-found": "none-found";
49
+ present: "present";
50
+ }>;
51
+ evidence: z.ZodArray<z.ZodObject<{
52
+ file: z.ZodString;
53
+ line: z.ZodInt;
54
+ detector: z.ZodString;
55
+ note: z.ZodString;
56
+ }, z.core.$strict>>;
57
+ }, z.core.$strict>;
58
+ /** Stable framework identity with a nonempty, printable key. */
59
+ declare const idSchema: z.ZodString;
60
+ declare const base: z.ZodObject<{
61
+ id: z.ZodString;
62
+ kind: z.ZodEnum<{
63
+ function: "function";
64
+ route: "route";
65
+ endpoint: "endpoint";
66
+ form: "form";
67
+ "filter-set": "filter-set";
68
+ }>;
69
+ title: z.ZodString;
70
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
71
+ framework: z.ZodEnum<{
72
+ "nextjs-app": "nextjs-app";
73
+ "nextjs-pages": "nextjs-pages";
74
+ }>;
75
+ source: z.ZodObject<{
76
+ file: z.ZodString;
77
+ line: z.ZodInt;
78
+ }, z.core.$strict>;
79
+ evidence: z.ZodArray<z.ZodObject<{
80
+ file: z.ZodString;
81
+ line: z.ZodInt;
82
+ detector: z.ZodString;
83
+ note: z.ZodString;
84
+ }, z.core.$strict>>;
85
+ support: z.ZodEnum<{
86
+ proven: "proven";
87
+ "needs-review": "needs-review";
88
+ unsupported: "unsupported";
89
+ }>;
90
+ supportReason: z.ZodOptional<z.ZodString>;
91
+ access: z.ZodEnum<{
92
+ read: "read";
93
+ write: "write";
94
+ unknown: "unknown";
95
+ }>;
96
+ sensitivity: z.ZodEnum<{
97
+ unknown: "unknown";
98
+ none: "none";
99
+ personal: "personal";
100
+ financial: "financial";
101
+ credentials: "credentials";
102
+ admin: "admin";
103
+ }>;
104
+ auth: z.ZodObject<{
105
+ observed: z.ZodEnum<{
106
+ unknown: "unknown";
107
+ "none-found": "none-found";
108
+ present: "present";
109
+ }>;
110
+ evidence: z.ZodArray<z.ZodObject<{
111
+ file: z.ZodString;
112
+ line: z.ZodInt;
113
+ detector: z.ZodString;
114
+ note: z.ZodString;
115
+ }, z.core.$strict>>;
116
+ }, z.core.$strict>;
117
+ fingerprint: z.ZodString;
118
+ related: z.ZodArray<z.ZodString>;
119
+ }, z.core.$strict>;
120
+ declare const jsonSchema: z.ZodObject<{
121
+ type: z.ZodOptional<z.ZodEnum<{
122
+ string: "string";
123
+ number: "number";
124
+ boolean: "boolean";
125
+ object: "object";
126
+ null: "null";
127
+ array: "array";
128
+ integer: "integer";
129
+ }>>;
130
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
131
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
132
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
133
+ items: z.ZodOptional<typeof jsonSchema>;
134
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
135
+ minimum: z.ZodOptional<z.ZodNumber>;
136
+ maximum: z.ZodOptional<z.ZodNumber>;
137
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
138
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
139
+ minItems: z.ZodOptional<z.ZodInt>;
140
+ maxItems: z.ZodOptional<z.ZodInt>;
141
+ format: z.ZodOptional<z.ZodEnum<{
142
+ email: "email";
143
+ uri: "uri";
144
+ uuid: "uuid";
145
+ }>>;
146
+ minLength: z.ZodOptional<z.ZodInt>;
147
+ maxLength: z.ZodOptional<z.ZodInt>;
148
+ pattern: z.ZodOptional<z.ZodString>;
149
+ default: z.ZodOptional<z.ZodJSONSchema>;
150
+ description: z.ZodOptional<z.ZodString>;
151
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
152
+ }, z.core.$strict>;
153
+ declare const route: z.ZodObject<{
154
+ id: z.ZodString;
155
+ title: z.ZodString;
156
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
157
+ framework: z.ZodEnum<{
158
+ "nextjs-app": "nextjs-app";
159
+ "nextjs-pages": "nextjs-pages";
160
+ }>;
161
+ source: z.ZodObject<{
162
+ file: z.ZodString;
163
+ line: z.ZodInt;
164
+ }, z.core.$strict>;
165
+ evidence: z.ZodArray<z.ZodObject<{
166
+ file: z.ZodString;
167
+ line: z.ZodInt;
168
+ detector: z.ZodString;
169
+ note: z.ZodString;
170
+ }, z.core.$strict>>;
171
+ support: z.ZodEnum<{
172
+ proven: "proven";
173
+ "needs-review": "needs-review";
174
+ unsupported: "unsupported";
175
+ }>;
176
+ supportReason: z.ZodOptional<z.ZodString>;
177
+ access: z.ZodEnum<{
178
+ read: "read";
179
+ write: "write";
180
+ unknown: "unknown";
181
+ }>;
182
+ sensitivity: z.ZodEnum<{
183
+ unknown: "unknown";
184
+ none: "none";
185
+ personal: "personal";
186
+ financial: "financial";
187
+ credentials: "credentials";
188
+ admin: "admin";
189
+ }>;
190
+ auth: z.ZodObject<{
191
+ observed: z.ZodEnum<{
192
+ unknown: "unknown";
193
+ "none-found": "none-found";
194
+ present: "present";
195
+ }>;
196
+ evidence: z.ZodArray<z.ZodObject<{
197
+ file: z.ZodString;
198
+ line: z.ZodInt;
199
+ detector: z.ZodString;
200
+ note: z.ZodString;
201
+ }, z.core.$strict>>;
202
+ }, z.core.$strict>;
203
+ fingerprint: z.ZodString;
204
+ related: z.ZodArray<z.ZodString>;
205
+ kind: z.ZodLiteral<"route">;
206
+ path: z.ZodString;
207
+ pathPattern: z.ZodString;
208
+ dynamic: z.ZodEnum<{
209
+ dynamic: "dynamic";
210
+ static: "static";
211
+ "catch-all": "catch-all";
212
+ "optional-catch-all": "optional-catch-all";
213
+ }>;
214
+ pathParams: z.ZodArray<z.ZodString>;
215
+ queryParams: z.ZodArray<z.ZodObject<{
216
+ name: z.ZodString;
217
+ schema: z.ZodOptional<z.ZodObject<{
218
+ type: z.ZodOptional<z.ZodEnum<{
219
+ string: "string";
220
+ number: "number";
221
+ boolean: "boolean";
222
+ object: "object";
223
+ null: "null";
224
+ array: "array";
225
+ integer: "integer";
226
+ }>>;
227
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
228
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
229
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
230
+ items: z.ZodOptional<typeof jsonSchema>;
231
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
232
+ minimum: z.ZodOptional<z.ZodNumber>;
233
+ maximum: z.ZodOptional<z.ZodNumber>;
234
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
235
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
236
+ minItems: z.ZodOptional<z.ZodInt>;
237
+ maxItems: z.ZodOptional<z.ZodInt>;
238
+ format: z.ZodOptional<z.ZodEnum<{
239
+ email: "email";
240
+ uri: "uri";
241
+ uuid: "uuid";
242
+ }>>;
243
+ minLength: z.ZodOptional<z.ZodInt>;
244
+ maxLength: z.ZodOptional<z.ZodInt>;
245
+ pattern: z.ZodOptional<z.ZodString>;
246
+ default: z.ZodOptional<z.ZodJSONSchema>;
247
+ description: z.ZodOptional<z.ZodString>;
248
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
249
+ }, z.core.$strict>>;
250
+ }, z.core.$strict>>;
251
+ }, z.core.$strict>;
252
+ declare const endpoint: z.ZodObject<{
253
+ id: z.ZodString;
254
+ title: z.ZodString;
255
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
256
+ framework: z.ZodEnum<{
257
+ "nextjs-app": "nextjs-app";
258
+ "nextjs-pages": "nextjs-pages";
259
+ }>;
260
+ source: z.ZodObject<{
261
+ file: z.ZodString;
262
+ line: z.ZodInt;
263
+ }, z.core.$strict>;
264
+ evidence: z.ZodArray<z.ZodObject<{
265
+ file: z.ZodString;
266
+ line: z.ZodInt;
267
+ detector: z.ZodString;
268
+ note: z.ZodString;
269
+ }, z.core.$strict>>;
270
+ support: z.ZodEnum<{
271
+ proven: "proven";
272
+ "needs-review": "needs-review";
273
+ unsupported: "unsupported";
274
+ }>;
275
+ supportReason: z.ZodOptional<z.ZodString>;
276
+ access: z.ZodEnum<{
277
+ read: "read";
278
+ write: "write";
279
+ unknown: "unknown";
280
+ }>;
281
+ sensitivity: z.ZodEnum<{
282
+ unknown: "unknown";
283
+ none: "none";
284
+ personal: "personal";
285
+ financial: "financial";
286
+ credentials: "credentials";
287
+ admin: "admin";
288
+ }>;
289
+ auth: z.ZodObject<{
290
+ observed: z.ZodEnum<{
291
+ unknown: "unknown";
292
+ "none-found": "none-found";
293
+ present: "present";
294
+ }>;
295
+ evidence: z.ZodArray<z.ZodObject<{
296
+ file: z.ZodString;
297
+ line: z.ZodInt;
298
+ detector: z.ZodString;
299
+ note: z.ZodString;
300
+ }, z.core.$strict>>;
301
+ }, z.core.$strict>;
302
+ fingerprint: z.ZodString;
303
+ related: z.ZodArray<z.ZodString>;
304
+ kind: z.ZodLiteral<"endpoint">;
305
+ path: z.ZodString;
306
+ methods: z.ZodArray<z.ZodEnum<{
307
+ GET: "GET";
308
+ POST: "POST";
309
+ PUT: "PUT";
310
+ PATCH: "PATCH";
311
+ DELETE: "DELETE";
312
+ HEAD: "HEAD";
313
+ OPTIONS: "OPTIONS";
314
+ }>>;
315
+ input: z.ZodOptional<z.ZodObject<{
316
+ query: z.ZodOptional<z.ZodObject<{
317
+ type: z.ZodOptional<z.ZodEnum<{
318
+ string: "string";
319
+ number: "number";
320
+ boolean: "boolean";
321
+ object: "object";
322
+ null: "null";
323
+ array: "array";
324
+ integer: "integer";
325
+ }>>;
326
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
327
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
328
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
329
+ items: z.ZodOptional<typeof jsonSchema>;
330
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
331
+ minimum: z.ZodOptional<z.ZodNumber>;
332
+ maximum: z.ZodOptional<z.ZodNumber>;
333
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
334
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
335
+ minItems: z.ZodOptional<z.ZodInt>;
336
+ maxItems: z.ZodOptional<z.ZodInt>;
337
+ format: z.ZodOptional<z.ZodEnum<{
338
+ email: "email";
339
+ uri: "uri";
340
+ uuid: "uuid";
341
+ }>>;
342
+ minLength: z.ZodOptional<z.ZodInt>;
343
+ maxLength: z.ZodOptional<z.ZodInt>;
344
+ pattern: z.ZodOptional<z.ZodString>;
345
+ default: z.ZodOptional<z.ZodJSONSchema>;
346
+ description: z.ZodOptional<z.ZodString>;
347
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
348
+ }, z.core.$strict>>;
349
+ body: z.ZodOptional<z.ZodObject<{
350
+ type: z.ZodOptional<z.ZodEnum<{
351
+ string: "string";
352
+ number: "number";
353
+ boolean: "boolean";
354
+ object: "object";
355
+ null: "null";
356
+ array: "array";
357
+ integer: "integer";
358
+ }>>;
359
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
360
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
361
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
362
+ items: z.ZodOptional<typeof jsonSchema>;
363
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
364
+ minimum: z.ZodOptional<z.ZodNumber>;
365
+ maximum: z.ZodOptional<z.ZodNumber>;
366
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
367
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
368
+ minItems: z.ZodOptional<z.ZodInt>;
369
+ maxItems: z.ZodOptional<z.ZodInt>;
370
+ format: z.ZodOptional<z.ZodEnum<{
371
+ email: "email";
372
+ uri: "uri";
373
+ uuid: "uuid";
374
+ }>>;
375
+ minLength: z.ZodOptional<z.ZodInt>;
376
+ maxLength: z.ZodOptional<z.ZodInt>;
377
+ pattern: z.ZodOptional<z.ZodString>;
378
+ default: z.ZodOptional<z.ZodJSONSchema>;
379
+ description: z.ZodOptional<z.ZodString>;
380
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
381
+ }, z.core.$strict>>;
382
+ source: z.ZodEnum<{
383
+ none: "none";
384
+ zod: "zod";
385
+ openapi: "openapi";
386
+ }>;
387
+ }, z.core.$strict>>;
388
+ }, z.core.$strict>;
389
+ declare const fn: z.ZodObject<{
390
+ id: z.ZodString;
391
+ title: z.ZodString;
392
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
393
+ framework: z.ZodEnum<{
394
+ "nextjs-app": "nextjs-app";
395
+ "nextjs-pages": "nextjs-pages";
396
+ }>;
397
+ source: z.ZodObject<{
398
+ file: z.ZodString;
399
+ line: z.ZodInt;
400
+ }, z.core.$strict>;
401
+ evidence: z.ZodArray<z.ZodObject<{
402
+ file: z.ZodString;
403
+ line: z.ZodInt;
404
+ detector: z.ZodString;
405
+ note: z.ZodString;
406
+ }, z.core.$strict>>;
407
+ support: z.ZodEnum<{
408
+ proven: "proven";
409
+ "needs-review": "needs-review";
410
+ unsupported: "unsupported";
411
+ }>;
412
+ supportReason: z.ZodOptional<z.ZodString>;
413
+ access: z.ZodEnum<{
414
+ read: "read";
415
+ write: "write";
416
+ unknown: "unknown";
417
+ }>;
418
+ sensitivity: z.ZodEnum<{
419
+ unknown: "unknown";
420
+ none: "none";
421
+ personal: "personal";
422
+ financial: "financial";
423
+ credentials: "credentials";
424
+ admin: "admin";
425
+ }>;
426
+ auth: z.ZodObject<{
427
+ observed: z.ZodEnum<{
428
+ unknown: "unknown";
429
+ "none-found": "none-found";
430
+ present: "present";
431
+ }>;
432
+ evidence: z.ZodArray<z.ZodObject<{
433
+ file: z.ZodString;
434
+ line: z.ZodInt;
435
+ detector: z.ZodString;
436
+ note: z.ZodString;
437
+ }, z.core.$strict>>;
438
+ }, z.core.$strict>;
439
+ fingerprint: z.ZodString;
440
+ related: z.ZodArray<z.ZodString>;
441
+ kind: z.ZodLiteral<"function">;
442
+ export: z.ZodObject<{
443
+ file: z.ZodString;
444
+ name: z.ZodString;
445
+ isServerAction: z.ZodBoolean;
446
+ }, z.core.$strict>;
447
+ input: z.ZodOptional<z.ZodObject<{
448
+ schema: z.ZodObject<{
449
+ type: z.ZodOptional<z.ZodEnum<{
450
+ string: "string";
451
+ number: "number";
452
+ boolean: "boolean";
453
+ object: "object";
454
+ null: "null";
455
+ array: "array";
456
+ integer: "integer";
457
+ }>>;
458
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
459
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
460
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
461
+ items: z.ZodOptional<typeof jsonSchema>;
462
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
463
+ minimum: z.ZodOptional<z.ZodNumber>;
464
+ maximum: z.ZodOptional<z.ZodNumber>;
465
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
466
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
467
+ minItems: z.ZodOptional<z.ZodInt>;
468
+ maxItems: z.ZodOptional<z.ZodInt>;
469
+ format: z.ZodOptional<z.ZodEnum<{
470
+ email: "email";
471
+ uri: "uri";
472
+ uuid: "uuid";
473
+ }>>;
474
+ minLength: z.ZodOptional<z.ZodInt>;
475
+ maxLength: z.ZodOptional<z.ZodInt>;
476
+ pattern: z.ZodOptional<z.ZodString>;
477
+ default: z.ZodOptional<z.ZodJSONSchema>;
478
+ description: z.ZodOptional<z.ZodString>;
479
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
480
+ }, z.core.$strict>;
481
+ source: z.ZodEnum<{
482
+ none: "none";
483
+ zod: "zod";
484
+ }>;
485
+ }, z.core.$strict>>;
486
+ validatesAtRuntime: z.ZodBoolean;
487
+ }, z.core.$strict>;
488
+ declare const form: z.ZodObject<{
489
+ id: z.ZodString;
490
+ title: z.ZodString;
491
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
492
+ framework: z.ZodEnum<{
493
+ "nextjs-app": "nextjs-app";
494
+ "nextjs-pages": "nextjs-pages";
495
+ }>;
496
+ source: z.ZodObject<{
497
+ file: z.ZodString;
498
+ line: z.ZodInt;
499
+ }, z.core.$strict>;
500
+ evidence: z.ZodArray<z.ZodObject<{
501
+ file: z.ZodString;
502
+ line: z.ZodInt;
503
+ detector: z.ZodString;
504
+ note: z.ZodString;
505
+ }, z.core.$strict>>;
506
+ support: z.ZodEnum<{
507
+ proven: "proven";
508
+ "needs-review": "needs-review";
509
+ unsupported: "unsupported";
510
+ }>;
511
+ supportReason: z.ZodOptional<z.ZodString>;
512
+ access: z.ZodEnum<{
513
+ read: "read";
514
+ write: "write";
515
+ unknown: "unknown";
516
+ }>;
517
+ sensitivity: z.ZodEnum<{
518
+ unknown: "unknown";
519
+ none: "none";
520
+ personal: "personal";
521
+ financial: "financial";
522
+ credentials: "credentials";
523
+ admin: "admin";
524
+ }>;
525
+ auth: z.ZodObject<{
526
+ observed: z.ZodEnum<{
527
+ unknown: "unknown";
528
+ "none-found": "none-found";
529
+ present: "present";
530
+ }>;
531
+ evidence: z.ZodArray<z.ZodObject<{
532
+ file: z.ZodString;
533
+ line: z.ZodInt;
534
+ detector: z.ZodString;
535
+ note: z.ZodString;
536
+ }, z.core.$strict>>;
537
+ }, z.core.$strict>;
538
+ fingerprint: z.ZodString;
539
+ related: z.ZodArray<z.ZodString>;
540
+ kind: z.ZodLiteral<"form">;
541
+ routeId: z.ZodOptional<z.ZodString>;
542
+ fields: z.ZodArray<z.ZodObject<{
543
+ name: z.ZodString;
544
+ type: z.ZodString;
545
+ required: z.ZodBoolean;
546
+ sensitive: z.ZodBoolean;
547
+ }, z.core.$strict>>;
548
+ actionRef: z.ZodOptional<z.ZodString>;
549
+ runtimeBinding: z.ZodLiteral<"none">;
550
+ }, z.core.$strict>;
551
+ declare const filter: z.ZodObject<{
552
+ id: z.ZodString;
553
+ title: z.ZodString;
554
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
555
+ framework: z.ZodEnum<{
556
+ "nextjs-app": "nextjs-app";
557
+ "nextjs-pages": "nextjs-pages";
558
+ }>;
559
+ source: z.ZodObject<{
560
+ file: z.ZodString;
561
+ line: z.ZodInt;
562
+ }, z.core.$strict>;
563
+ evidence: z.ZodArray<z.ZodObject<{
564
+ file: z.ZodString;
565
+ line: z.ZodInt;
566
+ detector: z.ZodString;
567
+ note: z.ZodString;
568
+ }, z.core.$strict>>;
569
+ support: z.ZodEnum<{
570
+ proven: "proven";
571
+ "needs-review": "needs-review";
572
+ unsupported: "unsupported";
573
+ }>;
574
+ supportReason: z.ZodOptional<z.ZodString>;
575
+ access: z.ZodEnum<{
576
+ read: "read";
577
+ write: "write";
578
+ unknown: "unknown";
579
+ }>;
580
+ sensitivity: z.ZodEnum<{
581
+ unknown: "unknown";
582
+ none: "none";
583
+ personal: "personal";
584
+ financial: "financial";
585
+ credentials: "credentials";
586
+ admin: "admin";
587
+ }>;
588
+ auth: z.ZodObject<{
589
+ observed: z.ZodEnum<{
590
+ unknown: "unknown";
591
+ "none-found": "none-found";
592
+ present: "present";
593
+ }>;
594
+ evidence: z.ZodArray<z.ZodObject<{
595
+ file: z.ZodString;
596
+ line: z.ZodInt;
597
+ detector: z.ZodString;
598
+ note: z.ZodString;
599
+ }, z.core.$strict>>;
600
+ }, z.core.$strict>;
601
+ fingerprint: z.ZodString;
602
+ related: z.ZodArray<z.ZodString>;
603
+ kind: z.ZodLiteral<"filter-set">;
604
+ routeId: z.ZodOptional<z.ZodString>;
605
+ parameters: z.ZodArray<z.ZodObject<{
606
+ name: z.ZodString;
607
+ schema: z.ZodOptional<z.ZodObject<{
608
+ type: z.ZodOptional<z.ZodEnum<{
609
+ string: "string";
610
+ number: "number";
611
+ boolean: "boolean";
612
+ object: "object";
613
+ null: "null";
614
+ array: "array";
615
+ integer: "integer";
616
+ }>>;
617
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
618
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
619
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
620
+ items: z.ZodOptional<typeof jsonSchema>;
621
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
622
+ minimum: z.ZodOptional<z.ZodNumber>;
623
+ maximum: z.ZodOptional<z.ZodNumber>;
624
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
625
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
626
+ minItems: z.ZodOptional<z.ZodInt>;
627
+ maxItems: z.ZodOptional<z.ZodInt>;
628
+ format: z.ZodOptional<z.ZodEnum<{
629
+ email: "email";
630
+ uri: "uri";
631
+ uuid: "uuid";
632
+ }>>;
633
+ minLength: z.ZodOptional<z.ZodInt>;
634
+ maxLength: z.ZodOptional<z.ZodInt>;
635
+ pattern: z.ZodOptional<z.ZodString>;
636
+ default: z.ZodOptional<z.ZodJSONSchema>;
637
+ description: z.ZodOptional<z.ZodString>;
638
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
639
+ }, z.core.$strict>>;
640
+ }, z.core.$strict>>;
641
+ }, z.core.$strict>;
642
+ declare const capability: z.ZodDiscriminatedUnion<[z.ZodObject<{
643
+ id: z.ZodString;
644
+ title: z.ZodString;
645
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
646
+ framework: z.ZodEnum<{
647
+ "nextjs-app": "nextjs-app";
648
+ "nextjs-pages": "nextjs-pages";
649
+ }>;
650
+ source: z.ZodObject<{
651
+ file: z.ZodString;
652
+ line: z.ZodInt;
653
+ }, z.core.$strict>;
654
+ evidence: z.ZodArray<z.ZodObject<{
655
+ file: z.ZodString;
656
+ line: z.ZodInt;
657
+ detector: z.ZodString;
658
+ note: z.ZodString;
659
+ }, z.core.$strict>>;
660
+ support: z.ZodEnum<{
661
+ proven: "proven";
662
+ "needs-review": "needs-review";
663
+ unsupported: "unsupported";
664
+ }>;
665
+ supportReason: z.ZodOptional<z.ZodString>;
666
+ access: z.ZodEnum<{
667
+ read: "read";
668
+ write: "write";
669
+ unknown: "unknown";
670
+ }>;
671
+ sensitivity: z.ZodEnum<{
672
+ unknown: "unknown";
673
+ none: "none";
674
+ personal: "personal";
675
+ financial: "financial";
676
+ credentials: "credentials";
677
+ admin: "admin";
678
+ }>;
679
+ auth: z.ZodObject<{
680
+ observed: z.ZodEnum<{
681
+ unknown: "unknown";
682
+ "none-found": "none-found";
683
+ present: "present";
684
+ }>;
685
+ evidence: z.ZodArray<z.ZodObject<{
686
+ file: z.ZodString;
687
+ line: z.ZodInt;
688
+ detector: z.ZodString;
689
+ note: z.ZodString;
690
+ }, z.core.$strict>>;
691
+ }, z.core.$strict>;
692
+ fingerprint: z.ZodString;
693
+ related: z.ZodArray<z.ZodString>;
694
+ kind: z.ZodLiteral<"route">;
695
+ path: z.ZodString;
696
+ pathPattern: z.ZodString;
697
+ dynamic: z.ZodEnum<{
698
+ dynamic: "dynamic";
699
+ static: "static";
700
+ "catch-all": "catch-all";
701
+ "optional-catch-all": "optional-catch-all";
702
+ }>;
703
+ pathParams: z.ZodArray<z.ZodString>;
704
+ queryParams: z.ZodArray<z.ZodObject<{
705
+ name: z.ZodString;
706
+ schema: z.ZodOptional<z.ZodObject<{
707
+ type: z.ZodOptional<z.ZodEnum<{
708
+ string: "string";
709
+ number: "number";
710
+ boolean: "boolean";
711
+ object: "object";
712
+ null: "null";
713
+ array: "array";
714
+ integer: "integer";
715
+ }>>;
716
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
717
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
718
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
719
+ items: z.ZodOptional<typeof jsonSchema>;
720
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
721
+ minimum: z.ZodOptional<z.ZodNumber>;
722
+ maximum: z.ZodOptional<z.ZodNumber>;
723
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
724
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
725
+ minItems: z.ZodOptional<z.ZodInt>;
726
+ maxItems: z.ZodOptional<z.ZodInt>;
727
+ format: z.ZodOptional<z.ZodEnum<{
728
+ email: "email";
729
+ uri: "uri";
730
+ uuid: "uuid";
731
+ }>>;
732
+ minLength: z.ZodOptional<z.ZodInt>;
733
+ maxLength: z.ZodOptional<z.ZodInt>;
734
+ pattern: z.ZodOptional<z.ZodString>;
735
+ default: z.ZodOptional<z.ZodJSONSchema>;
736
+ description: z.ZodOptional<z.ZodString>;
737
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
738
+ }, z.core.$strict>>;
739
+ }, z.core.$strict>>;
740
+ }, z.core.$strict>, z.ZodObject<{
741
+ id: z.ZodString;
742
+ title: z.ZodString;
743
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
744
+ framework: z.ZodEnum<{
745
+ "nextjs-app": "nextjs-app";
746
+ "nextjs-pages": "nextjs-pages";
747
+ }>;
748
+ source: z.ZodObject<{
749
+ file: z.ZodString;
750
+ line: z.ZodInt;
751
+ }, z.core.$strict>;
752
+ evidence: z.ZodArray<z.ZodObject<{
753
+ file: z.ZodString;
754
+ line: z.ZodInt;
755
+ detector: z.ZodString;
756
+ note: z.ZodString;
757
+ }, z.core.$strict>>;
758
+ support: z.ZodEnum<{
759
+ proven: "proven";
760
+ "needs-review": "needs-review";
761
+ unsupported: "unsupported";
762
+ }>;
763
+ supportReason: z.ZodOptional<z.ZodString>;
764
+ access: z.ZodEnum<{
765
+ read: "read";
766
+ write: "write";
767
+ unknown: "unknown";
768
+ }>;
769
+ sensitivity: z.ZodEnum<{
770
+ unknown: "unknown";
771
+ none: "none";
772
+ personal: "personal";
773
+ financial: "financial";
774
+ credentials: "credentials";
775
+ admin: "admin";
776
+ }>;
777
+ auth: z.ZodObject<{
778
+ observed: z.ZodEnum<{
779
+ unknown: "unknown";
780
+ "none-found": "none-found";
781
+ present: "present";
782
+ }>;
783
+ evidence: z.ZodArray<z.ZodObject<{
784
+ file: z.ZodString;
785
+ line: z.ZodInt;
786
+ detector: z.ZodString;
787
+ note: z.ZodString;
788
+ }, z.core.$strict>>;
789
+ }, z.core.$strict>;
790
+ fingerprint: z.ZodString;
791
+ related: z.ZodArray<z.ZodString>;
792
+ kind: z.ZodLiteral<"endpoint">;
793
+ path: z.ZodString;
794
+ methods: z.ZodArray<z.ZodEnum<{
795
+ GET: "GET";
796
+ POST: "POST";
797
+ PUT: "PUT";
798
+ PATCH: "PATCH";
799
+ DELETE: "DELETE";
800
+ HEAD: "HEAD";
801
+ OPTIONS: "OPTIONS";
802
+ }>>;
803
+ input: z.ZodOptional<z.ZodObject<{
804
+ query: z.ZodOptional<z.ZodObject<{
805
+ type: z.ZodOptional<z.ZodEnum<{
806
+ string: "string";
807
+ number: "number";
808
+ boolean: "boolean";
809
+ object: "object";
810
+ null: "null";
811
+ array: "array";
812
+ integer: "integer";
813
+ }>>;
814
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
815
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
816
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
817
+ items: z.ZodOptional<typeof jsonSchema>;
818
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
819
+ minimum: z.ZodOptional<z.ZodNumber>;
820
+ maximum: z.ZodOptional<z.ZodNumber>;
821
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
822
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
823
+ minItems: z.ZodOptional<z.ZodInt>;
824
+ maxItems: z.ZodOptional<z.ZodInt>;
825
+ format: z.ZodOptional<z.ZodEnum<{
826
+ email: "email";
827
+ uri: "uri";
828
+ uuid: "uuid";
829
+ }>>;
830
+ minLength: z.ZodOptional<z.ZodInt>;
831
+ maxLength: z.ZodOptional<z.ZodInt>;
832
+ pattern: z.ZodOptional<z.ZodString>;
833
+ default: z.ZodOptional<z.ZodJSONSchema>;
834
+ description: z.ZodOptional<z.ZodString>;
835
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
836
+ }, z.core.$strict>>;
837
+ body: z.ZodOptional<z.ZodObject<{
838
+ type: z.ZodOptional<z.ZodEnum<{
839
+ string: "string";
840
+ number: "number";
841
+ boolean: "boolean";
842
+ object: "object";
843
+ null: "null";
844
+ array: "array";
845
+ integer: "integer";
846
+ }>>;
847
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
848
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
849
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
850
+ items: z.ZodOptional<typeof jsonSchema>;
851
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
852
+ minimum: z.ZodOptional<z.ZodNumber>;
853
+ maximum: z.ZodOptional<z.ZodNumber>;
854
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
855
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
856
+ minItems: z.ZodOptional<z.ZodInt>;
857
+ maxItems: z.ZodOptional<z.ZodInt>;
858
+ format: z.ZodOptional<z.ZodEnum<{
859
+ email: "email";
860
+ uri: "uri";
861
+ uuid: "uuid";
862
+ }>>;
863
+ minLength: z.ZodOptional<z.ZodInt>;
864
+ maxLength: z.ZodOptional<z.ZodInt>;
865
+ pattern: z.ZodOptional<z.ZodString>;
866
+ default: z.ZodOptional<z.ZodJSONSchema>;
867
+ description: z.ZodOptional<z.ZodString>;
868
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
869
+ }, z.core.$strict>>;
870
+ source: z.ZodEnum<{
871
+ none: "none";
872
+ zod: "zod";
873
+ openapi: "openapi";
874
+ }>;
875
+ }, z.core.$strict>>;
876
+ }, z.core.$strict>, z.ZodObject<{
877
+ id: z.ZodString;
878
+ title: z.ZodString;
879
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
880
+ framework: z.ZodEnum<{
881
+ "nextjs-app": "nextjs-app";
882
+ "nextjs-pages": "nextjs-pages";
883
+ }>;
884
+ source: z.ZodObject<{
885
+ file: z.ZodString;
886
+ line: z.ZodInt;
887
+ }, z.core.$strict>;
888
+ evidence: z.ZodArray<z.ZodObject<{
889
+ file: z.ZodString;
890
+ line: z.ZodInt;
891
+ detector: z.ZodString;
892
+ note: z.ZodString;
893
+ }, z.core.$strict>>;
894
+ support: z.ZodEnum<{
895
+ proven: "proven";
896
+ "needs-review": "needs-review";
897
+ unsupported: "unsupported";
898
+ }>;
899
+ supportReason: z.ZodOptional<z.ZodString>;
900
+ access: z.ZodEnum<{
901
+ read: "read";
902
+ write: "write";
903
+ unknown: "unknown";
904
+ }>;
905
+ sensitivity: z.ZodEnum<{
906
+ unknown: "unknown";
907
+ none: "none";
908
+ personal: "personal";
909
+ financial: "financial";
910
+ credentials: "credentials";
911
+ admin: "admin";
912
+ }>;
913
+ auth: z.ZodObject<{
914
+ observed: z.ZodEnum<{
915
+ unknown: "unknown";
916
+ "none-found": "none-found";
917
+ present: "present";
918
+ }>;
919
+ evidence: z.ZodArray<z.ZodObject<{
920
+ file: z.ZodString;
921
+ line: z.ZodInt;
922
+ detector: z.ZodString;
923
+ note: z.ZodString;
924
+ }, z.core.$strict>>;
925
+ }, z.core.$strict>;
926
+ fingerprint: z.ZodString;
927
+ related: z.ZodArray<z.ZodString>;
928
+ kind: z.ZodLiteral<"function">;
929
+ export: z.ZodObject<{
930
+ file: z.ZodString;
931
+ name: z.ZodString;
932
+ isServerAction: z.ZodBoolean;
933
+ }, z.core.$strict>;
934
+ input: z.ZodOptional<z.ZodObject<{
935
+ schema: z.ZodObject<{
936
+ type: z.ZodOptional<z.ZodEnum<{
937
+ string: "string";
938
+ number: "number";
939
+ boolean: "boolean";
940
+ object: "object";
941
+ null: "null";
942
+ array: "array";
943
+ integer: "integer";
944
+ }>>;
945
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
946
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
947
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
948
+ items: z.ZodOptional<typeof jsonSchema>;
949
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
950
+ minimum: z.ZodOptional<z.ZodNumber>;
951
+ maximum: z.ZodOptional<z.ZodNumber>;
952
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
953
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
954
+ minItems: z.ZodOptional<z.ZodInt>;
955
+ maxItems: z.ZodOptional<z.ZodInt>;
956
+ format: z.ZodOptional<z.ZodEnum<{
957
+ email: "email";
958
+ uri: "uri";
959
+ uuid: "uuid";
960
+ }>>;
961
+ minLength: z.ZodOptional<z.ZodInt>;
962
+ maxLength: z.ZodOptional<z.ZodInt>;
963
+ pattern: z.ZodOptional<z.ZodString>;
964
+ default: z.ZodOptional<z.ZodJSONSchema>;
965
+ description: z.ZodOptional<z.ZodString>;
966
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
967
+ }, z.core.$strict>;
968
+ source: z.ZodEnum<{
969
+ none: "none";
970
+ zod: "zod";
971
+ }>;
972
+ }, z.core.$strict>>;
973
+ validatesAtRuntime: z.ZodBoolean;
974
+ }, z.core.$strict>, z.ZodObject<{
975
+ id: z.ZodString;
976
+ title: z.ZodString;
977
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
978
+ framework: z.ZodEnum<{
979
+ "nextjs-app": "nextjs-app";
980
+ "nextjs-pages": "nextjs-pages";
981
+ }>;
982
+ source: z.ZodObject<{
983
+ file: z.ZodString;
984
+ line: z.ZodInt;
985
+ }, z.core.$strict>;
986
+ evidence: z.ZodArray<z.ZodObject<{
987
+ file: z.ZodString;
988
+ line: z.ZodInt;
989
+ detector: z.ZodString;
990
+ note: z.ZodString;
991
+ }, z.core.$strict>>;
992
+ support: z.ZodEnum<{
993
+ proven: "proven";
994
+ "needs-review": "needs-review";
995
+ unsupported: "unsupported";
996
+ }>;
997
+ supportReason: z.ZodOptional<z.ZodString>;
998
+ access: z.ZodEnum<{
999
+ read: "read";
1000
+ write: "write";
1001
+ unknown: "unknown";
1002
+ }>;
1003
+ sensitivity: z.ZodEnum<{
1004
+ unknown: "unknown";
1005
+ none: "none";
1006
+ personal: "personal";
1007
+ financial: "financial";
1008
+ credentials: "credentials";
1009
+ admin: "admin";
1010
+ }>;
1011
+ auth: z.ZodObject<{
1012
+ observed: z.ZodEnum<{
1013
+ unknown: "unknown";
1014
+ "none-found": "none-found";
1015
+ present: "present";
1016
+ }>;
1017
+ evidence: z.ZodArray<z.ZodObject<{
1018
+ file: z.ZodString;
1019
+ line: z.ZodInt;
1020
+ detector: z.ZodString;
1021
+ note: z.ZodString;
1022
+ }, z.core.$strict>>;
1023
+ }, z.core.$strict>;
1024
+ fingerprint: z.ZodString;
1025
+ related: z.ZodArray<z.ZodString>;
1026
+ kind: z.ZodLiteral<"form">;
1027
+ routeId: z.ZodOptional<z.ZodString>;
1028
+ fields: z.ZodArray<z.ZodObject<{
1029
+ name: z.ZodString;
1030
+ type: z.ZodString;
1031
+ required: z.ZodBoolean;
1032
+ sensitive: z.ZodBoolean;
1033
+ }, z.core.$strict>>;
1034
+ actionRef: z.ZodOptional<z.ZodString>;
1035
+ runtimeBinding: z.ZodLiteral<"none">;
1036
+ }, z.core.$strict>, z.ZodObject<{
1037
+ id: z.ZodString;
1038
+ title: z.ZodString;
1039
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1040
+ framework: z.ZodEnum<{
1041
+ "nextjs-app": "nextjs-app";
1042
+ "nextjs-pages": "nextjs-pages";
1043
+ }>;
1044
+ source: z.ZodObject<{
1045
+ file: z.ZodString;
1046
+ line: z.ZodInt;
1047
+ }, z.core.$strict>;
1048
+ evidence: z.ZodArray<z.ZodObject<{
1049
+ file: z.ZodString;
1050
+ line: z.ZodInt;
1051
+ detector: z.ZodString;
1052
+ note: z.ZodString;
1053
+ }, z.core.$strict>>;
1054
+ support: z.ZodEnum<{
1055
+ proven: "proven";
1056
+ "needs-review": "needs-review";
1057
+ unsupported: "unsupported";
1058
+ }>;
1059
+ supportReason: z.ZodOptional<z.ZodString>;
1060
+ access: z.ZodEnum<{
1061
+ read: "read";
1062
+ write: "write";
1063
+ unknown: "unknown";
1064
+ }>;
1065
+ sensitivity: z.ZodEnum<{
1066
+ unknown: "unknown";
1067
+ none: "none";
1068
+ personal: "personal";
1069
+ financial: "financial";
1070
+ credentials: "credentials";
1071
+ admin: "admin";
1072
+ }>;
1073
+ auth: z.ZodObject<{
1074
+ observed: z.ZodEnum<{
1075
+ unknown: "unknown";
1076
+ "none-found": "none-found";
1077
+ present: "present";
1078
+ }>;
1079
+ evidence: z.ZodArray<z.ZodObject<{
1080
+ file: z.ZodString;
1081
+ line: z.ZodInt;
1082
+ detector: z.ZodString;
1083
+ note: z.ZodString;
1084
+ }, z.core.$strict>>;
1085
+ }, z.core.$strict>;
1086
+ fingerprint: z.ZodString;
1087
+ related: z.ZodArray<z.ZodString>;
1088
+ kind: z.ZodLiteral<"filter-set">;
1089
+ routeId: z.ZodOptional<z.ZodString>;
1090
+ parameters: z.ZodArray<z.ZodObject<{
1091
+ name: z.ZodString;
1092
+ schema: z.ZodOptional<z.ZodObject<{
1093
+ type: z.ZodOptional<z.ZodEnum<{
1094
+ string: "string";
1095
+ number: "number";
1096
+ boolean: "boolean";
1097
+ object: "object";
1098
+ null: "null";
1099
+ array: "array";
1100
+ integer: "integer";
1101
+ }>>;
1102
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
1103
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1104
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
1105
+ items: z.ZodOptional<typeof jsonSchema>;
1106
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1107
+ minimum: z.ZodOptional<z.ZodNumber>;
1108
+ maximum: z.ZodOptional<z.ZodNumber>;
1109
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1110
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1111
+ minItems: z.ZodOptional<z.ZodInt>;
1112
+ maxItems: z.ZodOptional<z.ZodInt>;
1113
+ format: z.ZodOptional<z.ZodEnum<{
1114
+ email: "email";
1115
+ uri: "uri";
1116
+ uuid: "uuid";
1117
+ }>>;
1118
+ minLength: z.ZodOptional<z.ZodInt>;
1119
+ maxLength: z.ZodOptional<z.ZodInt>;
1120
+ pattern: z.ZodOptional<z.ZodString>;
1121
+ default: z.ZodOptional<z.ZodJSONSchema>;
1122
+ description: z.ZodOptional<z.ZodString>;
1123
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
1124
+ }, z.core.$strict>>;
1125
+ }, z.core.$strict>>;
1126
+ }, z.core.$strict>], "kind">;
1127
+ declare const diagnostic: z.ZodObject<{
1128
+ code: z.ZodString;
1129
+ severity: z.ZodEnum<{
1130
+ error: "error";
1131
+ info: "info";
1132
+ warning: "warning";
1133
+ }>;
1134
+ message: z.ZodString;
1135
+ file: z.ZodOptional<z.ZodString>;
1136
+ line: z.ZodOptional<z.ZodInt>;
1137
+ }, z.core.$strict>;
1138
+ /** Versioned discovery output. */
1139
+ declare const manifestSchema: z.ZodObject<{
1140
+ manifestVersion: z.ZodLiteral<1>;
1141
+ generator: z.ZodObject<{
1142
+ name: z.ZodLiteral<"speeq">;
1143
+ version: z.ZodString;
1144
+ }, z.core.$strict>;
1145
+ project: z.ZodObject<{
1146
+ root: z.ZodUnion<readonly [z.ZodLiteral<".">, z.ZodString]>;
1147
+ framework: z.ZodEnum<{
1148
+ unknown: "unknown";
1149
+ "nextjs-app": "nextjs-app";
1150
+ "nextjs-pages": "nextjs-pages";
1151
+ }>;
1152
+ packageManager: z.ZodEnum<{
1153
+ unknown: "unknown";
1154
+ npm: "npm";
1155
+ pnpm: "pnpm";
1156
+ yarn: "yarn";
1157
+ bun: "bun";
1158
+ }>;
1159
+ appDir: z.ZodOptional<z.ZodString>;
1160
+ language: z.ZodEnum<{
1161
+ typescript: "typescript";
1162
+ javascript: "javascript";
1163
+ mixed: "mixed";
1164
+ }>;
1165
+ }, z.core.$strict>;
1166
+ capabilities: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1167
+ id: z.ZodString;
1168
+ title: z.ZodString;
1169
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1170
+ framework: z.ZodEnum<{
1171
+ "nextjs-app": "nextjs-app";
1172
+ "nextjs-pages": "nextjs-pages";
1173
+ }>;
1174
+ source: z.ZodObject<{
1175
+ file: z.ZodString;
1176
+ line: z.ZodInt;
1177
+ }, z.core.$strict>;
1178
+ evidence: z.ZodArray<z.ZodObject<{
1179
+ file: z.ZodString;
1180
+ line: z.ZodInt;
1181
+ detector: z.ZodString;
1182
+ note: z.ZodString;
1183
+ }, z.core.$strict>>;
1184
+ support: z.ZodEnum<{
1185
+ proven: "proven";
1186
+ "needs-review": "needs-review";
1187
+ unsupported: "unsupported";
1188
+ }>;
1189
+ supportReason: z.ZodOptional<z.ZodString>;
1190
+ access: z.ZodEnum<{
1191
+ read: "read";
1192
+ write: "write";
1193
+ unknown: "unknown";
1194
+ }>;
1195
+ sensitivity: z.ZodEnum<{
1196
+ unknown: "unknown";
1197
+ none: "none";
1198
+ personal: "personal";
1199
+ financial: "financial";
1200
+ credentials: "credentials";
1201
+ admin: "admin";
1202
+ }>;
1203
+ auth: z.ZodObject<{
1204
+ observed: z.ZodEnum<{
1205
+ unknown: "unknown";
1206
+ "none-found": "none-found";
1207
+ present: "present";
1208
+ }>;
1209
+ evidence: z.ZodArray<z.ZodObject<{
1210
+ file: z.ZodString;
1211
+ line: z.ZodInt;
1212
+ detector: z.ZodString;
1213
+ note: z.ZodString;
1214
+ }, z.core.$strict>>;
1215
+ }, z.core.$strict>;
1216
+ fingerprint: z.ZodString;
1217
+ related: z.ZodArray<z.ZodString>;
1218
+ kind: z.ZodLiteral<"route">;
1219
+ path: z.ZodString;
1220
+ pathPattern: z.ZodString;
1221
+ dynamic: z.ZodEnum<{
1222
+ dynamic: "dynamic";
1223
+ static: "static";
1224
+ "catch-all": "catch-all";
1225
+ "optional-catch-all": "optional-catch-all";
1226
+ }>;
1227
+ pathParams: z.ZodArray<z.ZodString>;
1228
+ queryParams: z.ZodArray<z.ZodObject<{
1229
+ name: z.ZodString;
1230
+ schema: z.ZodOptional<z.ZodObject<{
1231
+ type: z.ZodOptional<z.ZodEnum<{
1232
+ string: "string";
1233
+ number: "number";
1234
+ boolean: "boolean";
1235
+ object: "object";
1236
+ null: "null";
1237
+ array: "array";
1238
+ integer: "integer";
1239
+ }>>;
1240
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
1241
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1242
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
1243
+ items: z.ZodOptional<typeof jsonSchema>;
1244
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1245
+ minimum: z.ZodOptional<z.ZodNumber>;
1246
+ maximum: z.ZodOptional<z.ZodNumber>;
1247
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1248
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1249
+ minItems: z.ZodOptional<z.ZodInt>;
1250
+ maxItems: z.ZodOptional<z.ZodInt>;
1251
+ format: z.ZodOptional<z.ZodEnum<{
1252
+ email: "email";
1253
+ uri: "uri";
1254
+ uuid: "uuid";
1255
+ }>>;
1256
+ minLength: z.ZodOptional<z.ZodInt>;
1257
+ maxLength: z.ZodOptional<z.ZodInt>;
1258
+ pattern: z.ZodOptional<z.ZodString>;
1259
+ default: z.ZodOptional<z.ZodJSONSchema>;
1260
+ description: z.ZodOptional<z.ZodString>;
1261
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
1262
+ }, z.core.$strict>>;
1263
+ }, z.core.$strict>>;
1264
+ }, z.core.$strict>, z.ZodObject<{
1265
+ id: z.ZodString;
1266
+ title: z.ZodString;
1267
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1268
+ framework: z.ZodEnum<{
1269
+ "nextjs-app": "nextjs-app";
1270
+ "nextjs-pages": "nextjs-pages";
1271
+ }>;
1272
+ source: z.ZodObject<{
1273
+ file: z.ZodString;
1274
+ line: z.ZodInt;
1275
+ }, z.core.$strict>;
1276
+ evidence: z.ZodArray<z.ZodObject<{
1277
+ file: z.ZodString;
1278
+ line: z.ZodInt;
1279
+ detector: z.ZodString;
1280
+ note: z.ZodString;
1281
+ }, z.core.$strict>>;
1282
+ support: z.ZodEnum<{
1283
+ proven: "proven";
1284
+ "needs-review": "needs-review";
1285
+ unsupported: "unsupported";
1286
+ }>;
1287
+ supportReason: z.ZodOptional<z.ZodString>;
1288
+ access: z.ZodEnum<{
1289
+ read: "read";
1290
+ write: "write";
1291
+ unknown: "unknown";
1292
+ }>;
1293
+ sensitivity: z.ZodEnum<{
1294
+ unknown: "unknown";
1295
+ none: "none";
1296
+ personal: "personal";
1297
+ financial: "financial";
1298
+ credentials: "credentials";
1299
+ admin: "admin";
1300
+ }>;
1301
+ auth: z.ZodObject<{
1302
+ observed: z.ZodEnum<{
1303
+ unknown: "unknown";
1304
+ "none-found": "none-found";
1305
+ present: "present";
1306
+ }>;
1307
+ evidence: z.ZodArray<z.ZodObject<{
1308
+ file: z.ZodString;
1309
+ line: z.ZodInt;
1310
+ detector: z.ZodString;
1311
+ note: z.ZodString;
1312
+ }, z.core.$strict>>;
1313
+ }, z.core.$strict>;
1314
+ fingerprint: z.ZodString;
1315
+ related: z.ZodArray<z.ZodString>;
1316
+ kind: z.ZodLiteral<"endpoint">;
1317
+ path: z.ZodString;
1318
+ methods: z.ZodArray<z.ZodEnum<{
1319
+ GET: "GET";
1320
+ POST: "POST";
1321
+ PUT: "PUT";
1322
+ PATCH: "PATCH";
1323
+ DELETE: "DELETE";
1324
+ HEAD: "HEAD";
1325
+ OPTIONS: "OPTIONS";
1326
+ }>>;
1327
+ input: z.ZodOptional<z.ZodObject<{
1328
+ query: z.ZodOptional<z.ZodObject<{
1329
+ type: z.ZodOptional<z.ZodEnum<{
1330
+ string: "string";
1331
+ number: "number";
1332
+ boolean: "boolean";
1333
+ object: "object";
1334
+ null: "null";
1335
+ array: "array";
1336
+ integer: "integer";
1337
+ }>>;
1338
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
1339
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1340
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
1341
+ items: z.ZodOptional<typeof jsonSchema>;
1342
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1343
+ minimum: z.ZodOptional<z.ZodNumber>;
1344
+ maximum: z.ZodOptional<z.ZodNumber>;
1345
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1346
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1347
+ minItems: z.ZodOptional<z.ZodInt>;
1348
+ maxItems: z.ZodOptional<z.ZodInt>;
1349
+ format: z.ZodOptional<z.ZodEnum<{
1350
+ email: "email";
1351
+ uri: "uri";
1352
+ uuid: "uuid";
1353
+ }>>;
1354
+ minLength: z.ZodOptional<z.ZodInt>;
1355
+ maxLength: z.ZodOptional<z.ZodInt>;
1356
+ pattern: z.ZodOptional<z.ZodString>;
1357
+ default: z.ZodOptional<z.ZodJSONSchema>;
1358
+ description: z.ZodOptional<z.ZodString>;
1359
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
1360
+ }, z.core.$strict>>;
1361
+ body: z.ZodOptional<z.ZodObject<{
1362
+ type: z.ZodOptional<z.ZodEnum<{
1363
+ string: "string";
1364
+ number: "number";
1365
+ boolean: "boolean";
1366
+ object: "object";
1367
+ null: "null";
1368
+ array: "array";
1369
+ integer: "integer";
1370
+ }>>;
1371
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
1372
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1373
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
1374
+ items: z.ZodOptional<typeof jsonSchema>;
1375
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1376
+ minimum: z.ZodOptional<z.ZodNumber>;
1377
+ maximum: z.ZodOptional<z.ZodNumber>;
1378
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1379
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1380
+ minItems: z.ZodOptional<z.ZodInt>;
1381
+ maxItems: z.ZodOptional<z.ZodInt>;
1382
+ format: z.ZodOptional<z.ZodEnum<{
1383
+ email: "email";
1384
+ uri: "uri";
1385
+ uuid: "uuid";
1386
+ }>>;
1387
+ minLength: z.ZodOptional<z.ZodInt>;
1388
+ maxLength: z.ZodOptional<z.ZodInt>;
1389
+ pattern: z.ZodOptional<z.ZodString>;
1390
+ default: z.ZodOptional<z.ZodJSONSchema>;
1391
+ description: z.ZodOptional<z.ZodString>;
1392
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
1393
+ }, z.core.$strict>>;
1394
+ source: z.ZodEnum<{
1395
+ none: "none";
1396
+ zod: "zod";
1397
+ openapi: "openapi";
1398
+ }>;
1399
+ }, z.core.$strict>>;
1400
+ }, z.core.$strict>, z.ZodObject<{
1401
+ id: z.ZodString;
1402
+ title: z.ZodString;
1403
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1404
+ framework: z.ZodEnum<{
1405
+ "nextjs-app": "nextjs-app";
1406
+ "nextjs-pages": "nextjs-pages";
1407
+ }>;
1408
+ source: z.ZodObject<{
1409
+ file: z.ZodString;
1410
+ line: z.ZodInt;
1411
+ }, z.core.$strict>;
1412
+ evidence: z.ZodArray<z.ZodObject<{
1413
+ file: z.ZodString;
1414
+ line: z.ZodInt;
1415
+ detector: z.ZodString;
1416
+ note: z.ZodString;
1417
+ }, z.core.$strict>>;
1418
+ support: z.ZodEnum<{
1419
+ proven: "proven";
1420
+ "needs-review": "needs-review";
1421
+ unsupported: "unsupported";
1422
+ }>;
1423
+ supportReason: z.ZodOptional<z.ZodString>;
1424
+ access: z.ZodEnum<{
1425
+ read: "read";
1426
+ write: "write";
1427
+ unknown: "unknown";
1428
+ }>;
1429
+ sensitivity: z.ZodEnum<{
1430
+ unknown: "unknown";
1431
+ none: "none";
1432
+ personal: "personal";
1433
+ financial: "financial";
1434
+ credentials: "credentials";
1435
+ admin: "admin";
1436
+ }>;
1437
+ auth: z.ZodObject<{
1438
+ observed: z.ZodEnum<{
1439
+ unknown: "unknown";
1440
+ "none-found": "none-found";
1441
+ present: "present";
1442
+ }>;
1443
+ evidence: z.ZodArray<z.ZodObject<{
1444
+ file: z.ZodString;
1445
+ line: z.ZodInt;
1446
+ detector: z.ZodString;
1447
+ note: z.ZodString;
1448
+ }, z.core.$strict>>;
1449
+ }, z.core.$strict>;
1450
+ fingerprint: z.ZodString;
1451
+ related: z.ZodArray<z.ZodString>;
1452
+ kind: z.ZodLiteral<"function">;
1453
+ export: z.ZodObject<{
1454
+ file: z.ZodString;
1455
+ name: z.ZodString;
1456
+ isServerAction: z.ZodBoolean;
1457
+ }, z.core.$strict>;
1458
+ input: z.ZodOptional<z.ZodObject<{
1459
+ schema: z.ZodObject<{
1460
+ type: z.ZodOptional<z.ZodEnum<{
1461
+ string: "string";
1462
+ number: "number";
1463
+ boolean: "boolean";
1464
+ object: "object";
1465
+ null: "null";
1466
+ array: "array";
1467
+ integer: "integer";
1468
+ }>>;
1469
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
1470
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1471
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
1472
+ items: z.ZodOptional<typeof jsonSchema>;
1473
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1474
+ minimum: z.ZodOptional<z.ZodNumber>;
1475
+ maximum: z.ZodOptional<z.ZodNumber>;
1476
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1477
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1478
+ minItems: z.ZodOptional<z.ZodInt>;
1479
+ maxItems: z.ZodOptional<z.ZodInt>;
1480
+ format: z.ZodOptional<z.ZodEnum<{
1481
+ email: "email";
1482
+ uri: "uri";
1483
+ uuid: "uuid";
1484
+ }>>;
1485
+ minLength: z.ZodOptional<z.ZodInt>;
1486
+ maxLength: z.ZodOptional<z.ZodInt>;
1487
+ pattern: z.ZodOptional<z.ZodString>;
1488
+ default: z.ZodOptional<z.ZodJSONSchema>;
1489
+ description: z.ZodOptional<z.ZodString>;
1490
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
1491
+ }, z.core.$strict>;
1492
+ source: z.ZodEnum<{
1493
+ none: "none";
1494
+ zod: "zod";
1495
+ }>;
1496
+ }, z.core.$strict>>;
1497
+ validatesAtRuntime: z.ZodBoolean;
1498
+ }, z.core.$strict>, z.ZodObject<{
1499
+ id: z.ZodString;
1500
+ title: z.ZodString;
1501
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1502
+ framework: z.ZodEnum<{
1503
+ "nextjs-app": "nextjs-app";
1504
+ "nextjs-pages": "nextjs-pages";
1505
+ }>;
1506
+ source: z.ZodObject<{
1507
+ file: z.ZodString;
1508
+ line: z.ZodInt;
1509
+ }, z.core.$strict>;
1510
+ evidence: z.ZodArray<z.ZodObject<{
1511
+ file: z.ZodString;
1512
+ line: z.ZodInt;
1513
+ detector: z.ZodString;
1514
+ note: z.ZodString;
1515
+ }, z.core.$strict>>;
1516
+ support: z.ZodEnum<{
1517
+ proven: "proven";
1518
+ "needs-review": "needs-review";
1519
+ unsupported: "unsupported";
1520
+ }>;
1521
+ supportReason: z.ZodOptional<z.ZodString>;
1522
+ access: z.ZodEnum<{
1523
+ read: "read";
1524
+ write: "write";
1525
+ unknown: "unknown";
1526
+ }>;
1527
+ sensitivity: z.ZodEnum<{
1528
+ unknown: "unknown";
1529
+ none: "none";
1530
+ personal: "personal";
1531
+ financial: "financial";
1532
+ credentials: "credentials";
1533
+ admin: "admin";
1534
+ }>;
1535
+ auth: z.ZodObject<{
1536
+ observed: z.ZodEnum<{
1537
+ unknown: "unknown";
1538
+ "none-found": "none-found";
1539
+ present: "present";
1540
+ }>;
1541
+ evidence: z.ZodArray<z.ZodObject<{
1542
+ file: z.ZodString;
1543
+ line: z.ZodInt;
1544
+ detector: z.ZodString;
1545
+ note: z.ZodString;
1546
+ }, z.core.$strict>>;
1547
+ }, z.core.$strict>;
1548
+ fingerprint: z.ZodString;
1549
+ related: z.ZodArray<z.ZodString>;
1550
+ kind: z.ZodLiteral<"form">;
1551
+ routeId: z.ZodOptional<z.ZodString>;
1552
+ fields: z.ZodArray<z.ZodObject<{
1553
+ name: z.ZodString;
1554
+ type: z.ZodString;
1555
+ required: z.ZodBoolean;
1556
+ sensitive: z.ZodBoolean;
1557
+ }, z.core.$strict>>;
1558
+ actionRef: z.ZodOptional<z.ZodString>;
1559
+ runtimeBinding: z.ZodLiteral<"none">;
1560
+ }, z.core.$strict>, z.ZodObject<{
1561
+ id: z.ZodString;
1562
+ title: z.ZodString;
1563
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1564
+ framework: z.ZodEnum<{
1565
+ "nextjs-app": "nextjs-app";
1566
+ "nextjs-pages": "nextjs-pages";
1567
+ }>;
1568
+ source: z.ZodObject<{
1569
+ file: z.ZodString;
1570
+ line: z.ZodInt;
1571
+ }, z.core.$strict>;
1572
+ evidence: z.ZodArray<z.ZodObject<{
1573
+ file: z.ZodString;
1574
+ line: z.ZodInt;
1575
+ detector: z.ZodString;
1576
+ note: z.ZodString;
1577
+ }, z.core.$strict>>;
1578
+ support: z.ZodEnum<{
1579
+ proven: "proven";
1580
+ "needs-review": "needs-review";
1581
+ unsupported: "unsupported";
1582
+ }>;
1583
+ supportReason: z.ZodOptional<z.ZodString>;
1584
+ access: z.ZodEnum<{
1585
+ read: "read";
1586
+ write: "write";
1587
+ unknown: "unknown";
1588
+ }>;
1589
+ sensitivity: z.ZodEnum<{
1590
+ unknown: "unknown";
1591
+ none: "none";
1592
+ personal: "personal";
1593
+ financial: "financial";
1594
+ credentials: "credentials";
1595
+ admin: "admin";
1596
+ }>;
1597
+ auth: z.ZodObject<{
1598
+ observed: z.ZodEnum<{
1599
+ unknown: "unknown";
1600
+ "none-found": "none-found";
1601
+ present: "present";
1602
+ }>;
1603
+ evidence: z.ZodArray<z.ZodObject<{
1604
+ file: z.ZodString;
1605
+ line: z.ZodInt;
1606
+ detector: z.ZodString;
1607
+ note: z.ZodString;
1608
+ }, z.core.$strict>>;
1609
+ }, z.core.$strict>;
1610
+ fingerprint: z.ZodString;
1611
+ related: z.ZodArray<z.ZodString>;
1612
+ kind: z.ZodLiteral<"filter-set">;
1613
+ routeId: z.ZodOptional<z.ZodString>;
1614
+ parameters: z.ZodArray<z.ZodObject<{
1615
+ name: z.ZodString;
1616
+ schema: z.ZodOptional<z.ZodObject<{
1617
+ type: z.ZodOptional<z.ZodEnum<{
1618
+ string: "string";
1619
+ number: "number";
1620
+ boolean: "boolean";
1621
+ object: "object";
1622
+ null: "null";
1623
+ array: "array";
1624
+ integer: "integer";
1625
+ }>>;
1626
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, typeof jsonSchema>>;
1627
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1628
+ enum: z.ZodOptional<z.ZodArray<z.ZodJSONSchema>>;
1629
+ items: z.ZodOptional<typeof jsonSchema>;
1630
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1631
+ minimum: z.ZodOptional<z.ZodNumber>;
1632
+ maximum: z.ZodOptional<z.ZodNumber>;
1633
+ exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1634
+ exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1635
+ minItems: z.ZodOptional<z.ZodInt>;
1636
+ maxItems: z.ZodOptional<z.ZodInt>;
1637
+ format: z.ZodOptional<z.ZodEnum<{
1638
+ email: "email";
1639
+ uri: "uri";
1640
+ uuid: "uuid";
1641
+ }>>;
1642
+ minLength: z.ZodOptional<z.ZodInt>;
1643
+ maxLength: z.ZodOptional<z.ZodInt>;
1644
+ pattern: z.ZodOptional<z.ZodString>;
1645
+ default: z.ZodOptional<z.ZodJSONSchema>;
1646
+ description: z.ZodOptional<z.ZodString>;
1647
+ anyOf: z.ZodOptional<z.ZodArray<typeof jsonSchema>>;
1648
+ }, z.core.$strict>>;
1649
+ }, z.core.$strict>>;
1650
+ }, z.core.$strict>], "kind">>;
1651
+ diagnostics: z.ZodArray<z.ZodObject<{
1652
+ code: z.ZodString;
1653
+ severity: z.ZodEnum<{
1654
+ error: "error";
1655
+ info: "info";
1656
+ warning: "warning";
1657
+ }>;
1658
+ message: z.ZodString;
1659
+ file: z.ZodOptional<z.ZodString>;
1660
+ line: z.ZodOptional<z.ZodInt>;
1661
+ }, z.core.$strict>>;
1662
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1663
+ }, z.core.$strict>;
1664
+ declare const decision: z.ZodObject<{
1665
+ review: z.ZodEnum<{
1666
+ approved: "approved";
1667
+ disabled: "disabled";
1668
+ }>;
1669
+ approvedFingerprint: z.ZodOptional<z.ZodString>;
1670
+ access: z.ZodOptional<z.ZodEnum<{
1671
+ read: "read";
1672
+ write: "write";
1673
+ }>>;
1674
+ auth: z.ZodOptional<z.ZodObject<{
1675
+ requirement: z.ZodEnum<{
1676
+ public: "public";
1677
+ authenticated: "authenticated";
1678
+ roles: "roles";
1679
+ }>;
1680
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1681
+ }, z.core.$strict>>;
1682
+ confirm: z.ZodOptional<z.ZodBoolean>;
1683
+ allowSensitive: z.ZodOptional<z.ZodBoolean>;
1684
+ forwardAuth: z.ZodOptional<z.ZodBoolean>;
1685
+ name: z.ZodOptional<z.ZodString>;
1686
+ title: z.ZodOptional<z.ZodString>;
1687
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1688
+ rateLimitPerMinute: z.ZodOptional<z.ZodInt>;
1689
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1690
+ note: z.ZodOptional<z.ZodString>;
1691
+ }, z.core.$strict>;
1692
+ /** Developer-owned decisions keyed by capability id. */
1693
+ declare const decisionsSchema: z.ZodObject<{
1694
+ decisionsVersion: z.ZodLiteral<1>;
1695
+ capabilities: z.ZodRecord<z.ZodString, z.ZodObject<{
1696
+ review: z.ZodEnum<{
1697
+ approved: "approved";
1698
+ disabled: "disabled";
1699
+ }>;
1700
+ approvedFingerprint: z.ZodOptional<z.ZodString>;
1701
+ access: z.ZodOptional<z.ZodEnum<{
1702
+ read: "read";
1703
+ write: "write";
1704
+ }>>;
1705
+ auth: z.ZodOptional<z.ZodObject<{
1706
+ requirement: z.ZodEnum<{
1707
+ public: "public";
1708
+ authenticated: "authenticated";
1709
+ roles: "roles";
1710
+ }>;
1711
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1712
+ }, z.core.$strict>>;
1713
+ confirm: z.ZodOptional<z.ZodBoolean>;
1714
+ allowSensitive: z.ZodOptional<z.ZodBoolean>;
1715
+ forwardAuth: z.ZodOptional<z.ZodBoolean>;
1716
+ name: z.ZodOptional<z.ZodString>;
1717
+ title: z.ZodOptional<z.ZodString>;
1718
+ description: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
1719
+ rateLimitPerMinute: z.ZodOptional<z.ZodInt>;
1720
+ timeoutMs: z.ZodOptional<z.ZodInt>;
1721
+ note: z.ZodOptional<z.ZodString>;
1722
+ }, z.core.$strict>>;
1723
+ }, z.core.$strict>;
1724
+ /** Validate discovery output and retain Zod issue paths. */
1725
+ declare function parseManifest(value: unknown): {
1726
+ manifestVersion: 1;
1727
+ generator: {
1728
+ name: "speeq";
1729
+ version: string;
1730
+ };
1731
+ project: {
1732
+ root: string;
1733
+ framework: "unknown" | "nextjs-app" | "nextjs-pages";
1734
+ packageManager: "unknown" | "npm" | "pnpm" | "yarn" | "bun";
1735
+ language: "typescript" | "javascript" | "mixed";
1736
+ appDir?: string | undefined;
1737
+ };
1738
+ capabilities: ({
1739
+ id: string;
1740
+ title: string;
1741
+ framework: "nextjs-app" | "nextjs-pages";
1742
+ source: {
1743
+ file: string;
1744
+ line: number;
1745
+ };
1746
+ evidence: {
1747
+ file: string;
1748
+ line: number;
1749
+ detector: string;
1750
+ note: string;
1751
+ }[];
1752
+ support: "proven" | "needs-review" | "unsupported";
1753
+ access: "read" | "write" | "unknown";
1754
+ sensitivity: "unknown" | "none" | "personal" | "financial" | "credentials" | "admin";
1755
+ auth: {
1756
+ observed: "unknown" | "none-found" | "present";
1757
+ evidence: {
1758
+ file: string;
1759
+ line: number;
1760
+ detector: string;
1761
+ note: string;
1762
+ }[];
1763
+ };
1764
+ fingerprint: string;
1765
+ related: string[];
1766
+ kind: "route";
1767
+ path: string;
1768
+ pathPattern: string;
1769
+ dynamic: "dynamic" | "static" | "catch-all" | "optional-catch-all";
1770
+ pathParams: string[];
1771
+ queryParams: {
1772
+ name: string;
1773
+ schema?: {
1774
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1775
+ properties?: Record<string, {
1776
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1777
+ properties?: Record<string, /*elided*/ any> | undefined;
1778
+ required?: string[] | undefined;
1779
+ enum?: z.core.util.JSONType[] | undefined;
1780
+ items?: /*elided*/ any | undefined;
1781
+ additionalProperties?: boolean | undefined;
1782
+ minimum?: number | undefined;
1783
+ maximum?: number | undefined;
1784
+ exclusiveMinimum?: number | undefined;
1785
+ exclusiveMaximum?: number | undefined;
1786
+ minItems?: number | undefined;
1787
+ maxItems?: number | undefined;
1788
+ format?: "email" | "uri" | "uuid" | undefined;
1789
+ minLength?: number | undefined;
1790
+ maxLength?: number | undefined;
1791
+ pattern?: string | undefined;
1792
+ default?: z.core.util.JSONType | undefined;
1793
+ description?: string | undefined;
1794
+ anyOf?: {
1795
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1796
+ properties?: Record<string, /*elided*/ any> | undefined;
1797
+ required?: string[] | undefined;
1798
+ enum?: z.core.util.JSONType[] | undefined;
1799
+ items?: /*elided*/ any | undefined;
1800
+ additionalProperties?: boolean | undefined;
1801
+ minimum?: number | undefined;
1802
+ maximum?: number | undefined;
1803
+ exclusiveMinimum?: number | undefined;
1804
+ exclusiveMaximum?: number | undefined;
1805
+ minItems?: number | undefined;
1806
+ maxItems?: number | undefined;
1807
+ format?: "email" | "uri" | "uuid" | undefined;
1808
+ minLength?: number | undefined;
1809
+ maxLength?: number | undefined;
1810
+ pattern?: string | undefined;
1811
+ default?: z.core.util.JSONType | undefined;
1812
+ description?: string | undefined;
1813
+ anyOf?: /*elided*/ any[] | undefined;
1814
+ }[] | undefined;
1815
+ }> | undefined;
1816
+ required?: string[] | undefined;
1817
+ enum?: z.core.util.JSONType[] | undefined;
1818
+ items?: /*elided*/ any | undefined;
1819
+ additionalProperties?: boolean | undefined;
1820
+ minimum?: number | undefined;
1821
+ maximum?: number | undefined;
1822
+ exclusiveMinimum?: number | undefined;
1823
+ exclusiveMaximum?: number | undefined;
1824
+ minItems?: number | undefined;
1825
+ maxItems?: number | undefined;
1826
+ format?: "email" | "uri" | "uuid" | undefined;
1827
+ minLength?: number | undefined;
1828
+ maxLength?: number | undefined;
1829
+ pattern?: string | undefined;
1830
+ default?: z.core.util.JSONType | undefined;
1831
+ description?: string | undefined;
1832
+ anyOf?: {
1833
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1834
+ properties?: Record<string, {
1835
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1836
+ properties?: Record<string, /*elided*/ any> | undefined;
1837
+ required?: string[] | undefined;
1838
+ enum?: z.core.util.JSONType[] | undefined;
1839
+ items?: /*elided*/ any | undefined;
1840
+ additionalProperties?: boolean | undefined;
1841
+ minimum?: number | undefined;
1842
+ maximum?: number | undefined;
1843
+ exclusiveMinimum?: number | undefined;
1844
+ exclusiveMaximum?: number | undefined;
1845
+ minItems?: number | undefined;
1846
+ maxItems?: number | undefined;
1847
+ format?: "email" | "uri" | "uuid" | undefined;
1848
+ minLength?: number | undefined;
1849
+ maxLength?: number | undefined;
1850
+ pattern?: string | undefined;
1851
+ default?: z.core.util.JSONType | undefined;
1852
+ description?: string | undefined;
1853
+ anyOf?: /*elided*/ any[] | undefined;
1854
+ }> | undefined;
1855
+ required?: string[] | undefined;
1856
+ enum?: z.core.util.JSONType[] | undefined;
1857
+ items?: /*elided*/ any | undefined;
1858
+ additionalProperties?: boolean | undefined;
1859
+ minimum?: number | undefined;
1860
+ maximum?: number | undefined;
1861
+ exclusiveMinimum?: number | undefined;
1862
+ exclusiveMaximum?: number | undefined;
1863
+ minItems?: number | undefined;
1864
+ maxItems?: number | undefined;
1865
+ format?: "email" | "uri" | "uuid" | undefined;
1866
+ minLength?: number | undefined;
1867
+ maxLength?: number | undefined;
1868
+ pattern?: string | undefined;
1869
+ default?: z.core.util.JSONType | undefined;
1870
+ description?: string | undefined;
1871
+ anyOf?: /*elided*/ any[] | undefined;
1872
+ }[] | undefined;
1873
+ } | undefined;
1874
+ }[];
1875
+ description?: string | undefined;
1876
+ supportReason?: string | undefined;
1877
+ } | {
1878
+ id: string;
1879
+ title: string;
1880
+ framework: "nextjs-app" | "nextjs-pages";
1881
+ source: {
1882
+ file: string;
1883
+ line: number;
1884
+ };
1885
+ evidence: {
1886
+ file: string;
1887
+ line: number;
1888
+ detector: string;
1889
+ note: string;
1890
+ }[];
1891
+ support: "proven" | "needs-review" | "unsupported";
1892
+ access: "read" | "write" | "unknown";
1893
+ sensitivity: "unknown" | "none" | "personal" | "financial" | "credentials" | "admin";
1894
+ auth: {
1895
+ observed: "unknown" | "none-found" | "present";
1896
+ evidence: {
1897
+ file: string;
1898
+ line: number;
1899
+ detector: string;
1900
+ note: string;
1901
+ }[];
1902
+ };
1903
+ fingerprint: string;
1904
+ related: string[];
1905
+ kind: "endpoint";
1906
+ path: string;
1907
+ methods: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS")[];
1908
+ description?: string | undefined;
1909
+ supportReason?: string | undefined;
1910
+ input?: {
1911
+ source: "none" | "zod" | "openapi";
1912
+ query?: {
1913
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1914
+ properties?: Record<string, {
1915
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1916
+ properties?: Record<string, /*elided*/ any> | undefined;
1917
+ required?: string[] | undefined;
1918
+ enum?: z.core.util.JSONType[] | undefined;
1919
+ items?: /*elided*/ any | undefined;
1920
+ additionalProperties?: boolean | undefined;
1921
+ minimum?: number | undefined;
1922
+ maximum?: number | undefined;
1923
+ exclusiveMinimum?: number | undefined;
1924
+ exclusiveMaximum?: number | undefined;
1925
+ minItems?: number | undefined;
1926
+ maxItems?: number | undefined;
1927
+ format?: "email" | "uri" | "uuid" | undefined;
1928
+ minLength?: number | undefined;
1929
+ maxLength?: number | undefined;
1930
+ pattern?: string | undefined;
1931
+ default?: z.core.util.JSONType | undefined;
1932
+ description?: string | undefined;
1933
+ anyOf?: {
1934
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1935
+ properties?: Record<string, /*elided*/ any> | undefined;
1936
+ required?: string[] | undefined;
1937
+ enum?: z.core.util.JSONType[] | undefined;
1938
+ items?: /*elided*/ any | undefined;
1939
+ additionalProperties?: boolean | undefined;
1940
+ minimum?: number | undefined;
1941
+ maximum?: number | undefined;
1942
+ exclusiveMinimum?: number | undefined;
1943
+ exclusiveMaximum?: number | undefined;
1944
+ minItems?: number | undefined;
1945
+ maxItems?: number | undefined;
1946
+ format?: "email" | "uri" | "uuid" | undefined;
1947
+ minLength?: number | undefined;
1948
+ maxLength?: number | undefined;
1949
+ pattern?: string | undefined;
1950
+ default?: z.core.util.JSONType | undefined;
1951
+ description?: string | undefined;
1952
+ anyOf?: /*elided*/ any[] | undefined;
1953
+ }[] | undefined;
1954
+ }> | undefined;
1955
+ required?: string[] | undefined;
1956
+ enum?: z.core.util.JSONType[] | undefined;
1957
+ items?: /*elided*/ any | undefined;
1958
+ additionalProperties?: boolean | undefined;
1959
+ minimum?: number | undefined;
1960
+ maximum?: number | undefined;
1961
+ exclusiveMinimum?: number | undefined;
1962
+ exclusiveMaximum?: number | undefined;
1963
+ minItems?: number | undefined;
1964
+ maxItems?: number | undefined;
1965
+ format?: "email" | "uri" | "uuid" | undefined;
1966
+ minLength?: number | undefined;
1967
+ maxLength?: number | undefined;
1968
+ pattern?: string | undefined;
1969
+ default?: z.core.util.JSONType | undefined;
1970
+ description?: string | undefined;
1971
+ anyOf?: {
1972
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1973
+ properties?: Record<string, {
1974
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
1975
+ properties?: Record<string, /*elided*/ any> | undefined;
1976
+ required?: string[] | undefined;
1977
+ enum?: z.core.util.JSONType[] | undefined;
1978
+ items?: /*elided*/ any | undefined;
1979
+ additionalProperties?: boolean | undefined;
1980
+ minimum?: number | undefined;
1981
+ maximum?: number | undefined;
1982
+ exclusiveMinimum?: number | undefined;
1983
+ exclusiveMaximum?: number | undefined;
1984
+ minItems?: number | undefined;
1985
+ maxItems?: number | undefined;
1986
+ format?: "email" | "uri" | "uuid" | undefined;
1987
+ minLength?: number | undefined;
1988
+ maxLength?: number | undefined;
1989
+ pattern?: string | undefined;
1990
+ default?: z.core.util.JSONType | undefined;
1991
+ description?: string | undefined;
1992
+ anyOf?: /*elided*/ any[] | undefined;
1993
+ }> | undefined;
1994
+ required?: string[] | undefined;
1995
+ enum?: z.core.util.JSONType[] | undefined;
1996
+ items?: /*elided*/ any | undefined;
1997
+ additionalProperties?: boolean | undefined;
1998
+ minimum?: number | undefined;
1999
+ maximum?: number | undefined;
2000
+ exclusiveMinimum?: number | undefined;
2001
+ exclusiveMaximum?: number | undefined;
2002
+ minItems?: number | undefined;
2003
+ maxItems?: number | undefined;
2004
+ format?: "email" | "uri" | "uuid" | undefined;
2005
+ minLength?: number | undefined;
2006
+ maxLength?: number | undefined;
2007
+ pattern?: string | undefined;
2008
+ default?: z.core.util.JSONType | undefined;
2009
+ description?: string | undefined;
2010
+ anyOf?: /*elided*/ any[] | undefined;
2011
+ }[] | undefined;
2012
+ } | undefined;
2013
+ body?: {
2014
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2015
+ properties?: Record<string, {
2016
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2017
+ properties?: Record<string, /*elided*/ any> | undefined;
2018
+ required?: string[] | undefined;
2019
+ enum?: z.core.util.JSONType[] | undefined;
2020
+ items?: /*elided*/ any | undefined;
2021
+ additionalProperties?: boolean | undefined;
2022
+ minimum?: number | undefined;
2023
+ maximum?: number | undefined;
2024
+ exclusiveMinimum?: number | undefined;
2025
+ exclusiveMaximum?: number | undefined;
2026
+ minItems?: number | undefined;
2027
+ maxItems?: number | undefined;
2028
+ format?: "email" | "uri" | "uuid" | undefined;
2029
+ minLength?: number | undefined;
2030
+ maxLength?: number | undefined;
2031
+ pattern?: string | undefined;
2032
+ default?: z.core.util.JSONType | undefined;
2033
+ description?: string | undefined;
2034
+ anyOf?: {
2035
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2036
+ properties?: Record<string, /*elided*/ any> | undefined;
2037
+ required?: string[] | undefined;
2038
+ enum?: z.core.util.JSONType[] | undefined;
2039
+ items?: /*elided*/ any | undefined;
2040
+ additionalProperties?: boolean | undefined;
2041
+ minimum?: number | undefined;
2042
+ maximum?: number | undefined;
2043
+ exclusiveMinimum?: number | undefined;
2044
+ exclusiveMaximum?: number | undefined;
2045
+ minItems?: number | undefined;
2046
+ maxItems?: number | undefined;
2047
+ format?: "email" | "uri" | "uuid" | undefined;
2048
+ minLength?: number | undefined;
2049
+ maxLength?: number | undefined;
2050
+ pattern?: string | undefined;
2051
+ default?: z.core.util.JSONType | undefined;
2052
+ description?: string | undefined;
2053
+ anyOf?: /*elided*/ any[] | undefined;
2054
+ }[] | undefined;
2055
+ }> | undefined;
2056
+ required?: string[] | undefined;
2057
+ enum?: z.core.util.JSONType[] | undefined;
2058
+ items?: /*elided*/ any | undefined;
2059
+ additionalProperties?: boolean | undefined;
2060
+ minimum?: number | undefined;
2061
+ maximum?: number | undefined;
2062
+ exclusiveMinimum?: number | undefined;
2063
+ exclusiveMaximum?: number | undefined;
2064
+ minItems?: number | undefined;
2065
+ maxItems?: number | undefined;
2066
+ format?: "email" | "uri" | "uuid" | undefined;
2067
+ minLength?: number | undefined;
2068
+ maxLength?: number | undefined;
2069
+ pattern?: string | undefined;
2070
+ default?: z.core.util.JSONType | undefined;
2071
+ description?: string | undefined;
2072
+ anyOf?: {
2073
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2074
+ properties?: Record<string, {
2075
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2076
+ properties?: Record<string, /*elided*/ any> | undefined;
2077
+ required?: string[] | undefined;
2078
+ enum?: z.core.util.JSONType[] | undefined;
2079
+ items?: /*elided*/ any | undefined;
2080
+ additionalProperties?: boolean | undefined;
2081
+ minimum?: number | undefined;
2082
+ maximum?: number | undefined;
2083
+ exclusiveMinimum?: number | undefined;
2084
+ exclusiveMaximum?: number | undefined;
2085
+ minItems?: number | undefined;
2086
+ maxItems?: number | undefined;
2087
+ format?: "email" | "uri" | "uuid" | undefined;
2088
+ minLength?: number | undefined;
2089
+ maxLength?: number | undefined;
2090
+ pattern?: string | undefined;
2091
+ default?: z.core.util.JSONType | undefined;
2092
+ description?: string | undefined;
2093
+ anyOf?: /*elided*/ any[] | undefined;
2094
+ }> | undefined;
2095
+ required?: string[] | undefined;
2096
+ enum?: z.core.util.JSONType[] | undefined;
2097
+ items?: /*elided*/ any | undefined;
2098
+ additionalProperties?: boolean | undefined;
2099
+ minimum?: number | undefined;
2100
+ maximum?: number | undefined;
2101
+ exclusiveMinimum?: number | undefined;
2102
+ exclusiveMaximum?: number | undefined;
2103
+ minItems?: number | undefined;
2104
+ maxItems?: number | undefined;
2105
+ format?: "email" | "uri" | "uuid" | undefined;
2106
+ minLength?: number | undefined;
2107
+ maxLength?: number | undefined;
2108
+ pattern?: string | undefined;
2109
+ default?: z.core.util.JSONType | undefined;
2110
+ description?: string | undefined;
2111
+ anyOf?: /*elided*/ any[] | undefined;
2112
+ }[] | undefined;
2113
+ } | undefined;
2114
+ } | undefined;
2115
+ } | {
2116
+ id: string;
2117
+ title: string;
2118
+ framework: "nextjs-app" | "nextjs-pages";
2119
+ source: {
2120
+ file: string;
2121
+ line: number;
2122
+ };
2123
+ evidence: {
2124
+ file: string;
2125
+ line: number;
2126
+ detector: string;
2127
+ note: string;
2128
+ }[];
2129
+ support: "proven" | "needs-review" | "unsupported";
2130
+ access: "read" | "write" | "unknown";
2131
+ sensitivity: "unknown" | "none" | "personal" | "financial" | "credentials" | "admin";
2132
+ auth: {
2133
+ observed: "unknown" | "none-found" | "present";
2134
+ evidence: {
2135
+ file: string;
2136
+ line: number;
2137
+ detector: string;
2138
+ note: string;
2139
+ }[];
2140
+ };
2141
+ fingerprint: string;
2142
+ related: string[];
2143
+ kind: "function";
2144
+ export: {
2145
+ file: string;
2146
+ name: string;
2147
+ isServerAction: boolean;
2148
+ };
2149
+ validatesAtRuntime: boolean;
2150
+ description?: string | undefined;
2151
+ supportReason?: string | undefined;
2152
+ input?: {
2153
+ schema: {
2154
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2155
+ properties?: Record<string, {
2156
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2157
+ properties?: Record<string, /*elided*/ any> | undefined;
2158
+ required?: string[] | undefined;
2159
+ enum?: z.core.util.JSONType[] | undefined;
2160
+ items?: /*elided*/ any | undefined;
2161
+ additionalProperties?: boolean | undefined;
2162
+ minimum?: number | undefined;
2163
+ maximum?: number | undefined;
2164
+ exclusiveMinimum?: number | undefined;
2165
+ exclusiveMaximum?: number | undefined;
2166
+ minItems?: number | undefined;
2167
+ maxItems?: number | undefined;
2168
+ format?: "email" | "uri" | "uuid" | undefined;
2169
+ minLength?: number | undefined;
2170
+ maxLength?: number | undefined;
2171
+ pattern?: string | undefined;
2172
+ default?: z.core.util.JSONType | undefined;
2173
+ description?: string | undefined;
2174
+ anyOf?: {
2175
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2176
+ properties?: Record<string, /*elided*/ any> | undefined;
2177
+ required?: string[] | undefined;
2178
+ enum?: z.core.util.JSONType[] | undefined;
2179
+ items?: /*elided*/ any | undefined;
2180
+ additionalProperties?: boolean | undefined;
2181
+ minimum?: number | undefined;
2182
+ maximum?: number | undefined;
2183
+ exclusiveMinimum?: number | undefined;
2184
+ exclusiveMaximum?: number | undefined;
2185
+ minItems?: number | undefined;
2186
+ maxItems?: number | undefined;
2187
+ format?: "email" | "uri" | "uuid" | undefined;
2188
+ minLength?: number | undefined;
2189
+ maxLength?: number | undefined;
2190
+ pattern?: string | undefined;
2191
+ default?: z.core.util.JSONType | undefined;
2192
+ description?: string | undefined;
2193
+ anyOf?: /*elided*/ any[] | undefined;
2194
+ }[] | undefined;
2195
+ }> | undefined;
2196
+ required?: string[] | undefined;
2197
+ enum?: z.core.util.JSONType[] | undefined;
2198
+ items?: /*elided*/ any | undefined;
2199
+ additionalProperties?: boolean | undefined;
2200
+ minimum?: number | undefined;
2201
+ maximum?: number | undefined;
2202
+ exclusiveMinimum?: number | undefined;
2203
+ exclusiveMaximum?: number | undefined;
2204
+ minItems?: number | undefined;
2205
+ maxItems?: number | undefined;
2206
+ format?: "email" | "uri" | "uuid" | undefined;
2207
+ minLength?: number | undefined;
2208
+ maxLength?: number | undefined;
2209
+ pattern?: string | undefined;
2210
+ default?: z.core.util.JSONType | undefined;
2211
+ description?: string | undefined;
2212
+ anyOf?: {
2213
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2214
+ properties?: Record<string, {
2215
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2216
+ properties?: Record<string, /*elided*/ any> | undefined;
2217
+ required?: string[] | undefined;
2218
+ enum?: z.core.util.JSONType[] | undefined;
2219
+ items?: /*elided*/ any | undefined;
2220
+ additionalProperties?: boolean | undefined;
2221
+ minimum?: number | undefined;
2222
+ maximum?: number | undefined;
2223
+ exclusiveMinimum?: number | undefined;
2224
+ exclusiveMaximum?: number | undefined;
2225
+ minItems?: number | undefined;
2226
+ maxItems?: number | undefined;
2227
+ format?: "email" | "uri" | "uuid" | undefined;
2228
+ minLength?: number | undefined;
2229
+ maxLength?: number | undefined;
2230
+ pattern?: string | undefined;
2231
+ default?: z.core.util.JSONType | undefined;
2232
+ description?: string | undefined;
2233
+ anyOf?: /*elided*/ any[] | undefined;
2234
+ }> | undefined;
2235
+ required?: string[] | undefined;
2236
+ enum?: z.core.util.JSONType[] | undefined;
2237
+ items?: /*elided*/ any | undefined;
2238
+ additionalProperties?: boolean | undefined;
2239
+ minimum?: number | undefined;
2240
+ maximum?: number | undefined;
2241
+ exclusiveMinimum?: number | undefined;
2242
+ exclusiveMaximum?: number | undefined;
2243
+ minItems?: number | undefined;
2244
+ maxItems?: number | undefined;
2245
+ format?: "email" | "uri" | "uuid" | undefined;
2246
+ minLength?: number | undefined;
2247
+ maxLength?: number | undefined;
2248
+ pattern?: string | undefined;
2249
+ default?: z.core.util.JSONType | undefined;
2250
+ description?: string | undefined;
2251
+ anyOf?: /*elided*/ any[] | undefined;
2252
+ }[] | undefined;
2253
+ };
2254
+ source: "none" | "zod";
2255
+ } | undefined;
2256
+ } | {
2257
+ id: string;
2258
+ title: string;
2259
+ framework: "nextjs-app" | "nextjs-pages";
2260
+ source: {
2261
+ file: string;
2262
+ line: number;
2263
+ };
2264
+ evidence: {
2265
+ file: string;
2266
+ line: number;
2267
+ detector: string;
2268
+ note: string;
2269
+ }[];
2270
+ support: "proven" | "needs-review" | "unsupported";
2271
+ access: "read" | "write" | "unknown";
2272
+ sensitivity: "unknown" | "none" | "personal" | "financial" | "credentials" | "admin";
2273
+ auth: {
2274
+ observed: "unknown" | "none-found" | "present";
2275
+ evidence: {
2276
+ file: string;
2277
+ line: number;
2278
+ detector: string;
2279
+ note: string;
2280
+ }[];
2281
+ };
2282
+ fingerprint: string;
2283
+ related: string[];
2284
+ kind: "form";
2285
+ fields: {
2286
+ name: string;
2287
+ type: string;
2288
+ required: boolean;
2289
+ sensitive: boolean;
2290
+ }[];
2291
+ runtimeBinding: "none";
2292
+ description?: string | undefined;
2293
+ supportReason?: string | undefined;
2294
+ routeId?: string | undefined;
2295
+ actionRef?: string | undefined;
2296
+ } | {
2297
+ id: string;
2298
+ title: string;
2299
+ framework: "nextjs-app" | "nextjs-pages";
2300
+ source: {
2301
+ file: string;
2302
+ line: number;
2303
+ };
2304
+ evidence: {
2305
+ file: string;
2306
+ line: number;
2307
+ detector: string;
2308
+ note: string;
2309
+ }[];
2310
+ support: "proven" | "needs-review" | "unsupported";
2311
+ access: "read" | "write" | "unknown";
2312
+ sensitivity: "unknown" | "none" | "personal" | "financial" | "credentials" | "admin";
2313
+ auth: {
2314
+ observed: "unknown" | "none-found" | "present";
2315
+ evidence: {
2316
+ file: string;
2317
+ line: number;
2318
+ detector: string;
2319
+ note: string;
2320
+ }[];
2321
+ };
2322
+ fingerprint: string;
2323
+ related: string[];
2324
+ kind: "filter-set";
2325
+ parameters: {
2326
+ name: string;
2327
+ schema?: {
2328
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2329
+ properties?: Record<string, {
2330
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2331
+ properties?: Record<string, /*elided*/ any> | undefined;
2332
+ required?: string[] | undefined;
2333
+ enum?: z.core.util.JSONType[] | undefined;
2334
+ items?: /*elided*/ any | undefined;
2335
+ additionalProperties?: boolean | undefined;
2336
+ minimum?: number | undefined;
2337
+ maximum?: number | undefined;
2338
+ exclusiveMinimum?: number | undefined;
2339
+ exclusiveMaximum?: number | undefined;
2340
+ minItems?: number | undefined;
2341
+ maxItems?: number | undefined;
2342
+ format?: "email" | "uri" | "uuid" | undefined;
2343
+ minLength?: number | undefined;
2344
+ maxLength?: number | undefined;
2345
+ pattern?: string | undefined;
2346
+ default?: z.core.util.JSONType | undefined;
2347
+ description?: string | undefined;
2348
+ anyOf?: {
2349
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2350
+ properties?: Record<string, /*elided*/ any> | undefined;
2351
+ required?: string[] | undefined;
2352
+ enum?: z.core.util.JSONType[] | undefined;
2353
+ items?: /*elided*/ any | undefined;
2354
+ additionalProperties?: boolean | undefined;
2355
+ minimum?: number | undefined;
2356
+ maximum?: number | undefined;
2357
+ exclusiveMinimum?: number | undefined;
2358
+ exclusiveMaximum?: number | undefined;
2359
+ minItems?: number | undefined;
2360
+ maxItems?: number | undefined;
2361
+ format?: "email" | "uri" | "uuid" | undefined;
2362
+ minLength?: number | undefined;
2363
+ maxLength?: number | undefined;
2364
+ pattern?: string | undefined;
2365
+ default?: z.core.util.JSONType | undefined;
2366
+ description?: string | undefined;
2367
+ anyOf?: /*elided*/ any[] | undefined;
2368
+ }[] | undefined;
2369
+ }> | undefined;
2370
+ required?: string[] | undefined;
2371
+ enum?: z.core.util.JSONType[] | undefined;
2372
+ items?: /*elided*/ any | undefined;
2373
+ additionalProperties?: boolean | undefined;
2374
+ minimum?: number | undefined;
2375
+ maximum?: number | undefined;
2376
+ exclusiveMinimum?: number | undefined;
2377
+ exclusiveMaximum?: number | undefined;
2378
+ minItems?: number | undefined;
2379
+ maxItems?: number | undefined;
2380
+ format?: "email" | "uri" | "uuid" | undefined;
2381
+ minLength?: number | undefined;
2382
+ maxLength?: number | undefined;
2383
+ pattern?: string | undefined;
2384
+ default?: z.core.util.JSONType | undefined;
2385
+ description?: string | undefined;
2386
+ anyOf?: {
2387
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2388
+ properties?: Record<string, {
2389
+ type?: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer" | undefined;
2390
+ properties?: Record<string, /*elided*/ any> | undefined;
2391
+ required?: string[] | undefined;
2392
+ enum?: z.core.util.JSONType[] | undefined;
2393
+ items?: /*elided*/ any | undefined;
2394
+ additionalProperties?: boolean | undefined;
2395
+ minimum?: number | undefined;
2396
+ maximum?: number | undefined;
2397
+ exclusiveMinimum?: number | undefined;
2398
+ exclusiveMaximum?: number | undefined;
2399
+ minItems?: number | undefined;
2400
+ maxItems?: number | undefined;
2401
+ format?: "email" | "uri" | "uuid" | undefined;
2402
+ minLength?: number | undefined;
2403
+ maxLength?: number | undefined;
2404
+ pattern?: string | undefined;
2405
+ default?: z.core.util.JSONType | undefined;
2406
+ description?: string | undefined;
2407
+ anyOf?: /*elided*/ any[] | undefined;
2408
+ }> | undefined;
2409
+ required?: string[] | undefined;
2410
+ enum?: z.core.util.JSONType[] | undefined;
2411
+ items?: /*elided*/ any | undefined;
2412
+ additionalProperties?: boolean | undefined;
2413
+ minimum?: number | undefined;
2414
+ maximum?: number | undefined;
2415
+ exclusiveMinimum?: number | undefined;
2416
+ exclusiveMaximum?: number | undefined;
2417
+ minItems?: number | undefined;
2418
+ maxItems?: number | undefined;
2419
+ format?: "email" | "uri" | "uuid" | undefined;
2420
+ minLength?: number | undefined;
2421
+ maxLength?: number | undefined;
2422
+ pattern?: string | undefined;
2423
+ default?: z.core.util.JSONType | undefined;
2424
+ description?: string | undefined;
2425
+ anyOf?: /*elided*/ any[] | undefined;
2426
+ }[] | undefined;
2427
+ } | undefined;
2428
+ }[];
2429
+ description?: string | undefined;
2430
+ supportReason?: string | undefined;
2431
+ routeId?: string | undefined;
2432
+ })[];
2433
+ diagnostics: {
2434
+ code: string;
2435
+ severity: "error" | "info" | "warning";
2436
+ message: string;
2437
+ file?: string | undefined;
2438
+ line?: number | undefined;
2439
+ }[];
2440
+ extensions?: Record<string, unknown> | undefined;
2441
+ };
2442
+ /** Validate developer decisions and retain Zod issue paths. */
2443
+ declare function parseDecisions(value: unknown): {
2444
+ decisionsVersion: 1;
2445
+ capabilities: Record<string, {
2446
+ review: "approved" | "disabled";
2447
+ approvedFingerprint?: string | undefined;
2448
+ access?: "read" | "write" | undefined;
2449
+ auth?: {
2450
+ requirement: "public" | "authenticated" | "roles";
2451
+ roles?: string[] | undefined;
2452
+ } | undefined;
2453
+ confirm?: boolean | undefined;
2454
+ allowSensitive?: boolean | undefined;
2455
+ forwardAuth?: boolean | undefined;
2456
+ name?: string | undefined;
2457
+ title?: string | undefined;
2458
+ description?: string | undefined;
2459
+ rateLimitPerMinute?: number | undefined;
2460
+ timeoutMs?: number | undefined;
2461
+ note?: string | undefined;
2462
+ }>;
2463
+ };
2464
+ /** Parsed CapabilityKind contract. */
2465
+ type CapabilityKind = z.infer<typeof kindSchema>;
2466
+ /** Parsed Support contract. */
2467
+ type Support = z.infer<typeof supportSchema>;
2468
+ /** Parsed Access contract. */
2469
+ type Access = z.infer<typeof accessSchema>;
2470
+ /** Parsed Sensitivity contract. */
2471
+ type Sensitivity = z.infer<typeof sensitivity>;
2472
+ /** Parsed Framework contract. */
2473
+ type Framework = z.infer<typeof framework>;
2474
+ /** Parsed Evidence contract. */
2475
+ type Evidence = z.infer<typeof evidence>;
2476
+ /** Parsed AuthObservation contract. */
2477
+ type AuthObservation = z.infer<typeof auth>;
2478
+ /** Parsed CapabilityBase contract. */
2479
+ type CapabilityBase = z.infer<typeof base>;
2480
+ /** Parsed JsonSchemaLite contract. */
2481
+ type JsonSchemaLite = z.infer<typeof jsonSchema>;
2482
+ /** Parsed RouteCapability contract. */
2483
+ type RouteCapability = z.infer<typeof route>;
2484
+ /** Parsed EndpointCapability contract. */
2485
+ type EndpointCapability = z.infer<typeof endpoint>;
2486
+ /** Parsed FunctionCapability contract. */
2487
+ type FunctionCapability = z.infer<typeof fn>;
2488
+ /** Parsed FormCapability contract. */
2489
+ type FormCapability = z.infer<typeof form>;
2490
+ /** Parsed FilterSetCapability contract. */
2491
+ type FilterSetCapability = z.infer<typeof filter>;
2492
+ /** Parsed Capability contract. */
2493
+ type Capability = z.infer<typeof capability>;
2494
+ /** Parsed Diagnostic contract. */
2495
+ type Diagnostic = z.infer<typeof diagnostic>;
2496
+ /** Parsed Manifest contract. */
2497
+ type Manifest = z.infer<typeof manifestSchema>;
2498
+ /** Parsed CapabilityDecision contract. */
2499
+ type CapabilityDecision = z.infer<typeof decision>;
2500
+ /** Parsed DecisionsFile contract. */
2501
+ type DecisionsFile = z.infer<typeof decisionsSchema>;
2502
+
2503
+ /** Runtime binding and verification observed by the caller. */
2504
+ interface StatusContext {
2505
+ binding: "none" | "bound";
2506
+ verification: "unverified" | "verified" | "failed";
2507
+ }
2508
+ /** Independent review, policy and runtime dimensions. */
2509
+ interface CapabilityStatus extends StatusContext {
2510
+ support: Support;
2511
+ review: "pending" | "approved" | "disabled";
2512
+ blocked: false | {
2513
+ reason: "credentials" | "sensitive-not-allowed";
2514
+ };
2515
+ freshness: "current" | "stale";
2516
+ executable: boolean;
2517
+ headline: "executable" | "stale" | "blocked" | "unsupported" | "disabled" | "needs-review" | "pending";
2518
+ }
2519
+ /** Resolve effective policy per ADR-0015. Verification is reported independently. */
2520
+ declare function resolveStatus(c: Capability, d: CapabilityDecision | undefined, ctx: StatusContext): CapabilityStatus;
2521
+
2522
+ export { MANIFEST_VERSION, accessSchema, decisionsSchema, fileSchema, idSchema, kindSchema, manifestSchema, parseDecisions, parseManifest, resolveStatus, supportSchema };
2523
+ export type { Access, AuthObservation, Capability, CapabilityBase, CapabilityDecision, CapabilityKind, CapabilityStatus, DecisionsFile, Diagnostic, EndpointCapability, Evidence, FilterSetCapability, FormCapability, Framework, FunctionCapability, JsonSchemaLite, Manifest, RouteCapability, Sensitivity, StatusContext, Support };