@viaalink/caddy-api-client 0.0.0-stage → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2243 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const identityConfigSchema: z.ZodObject<{
4
+ identifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5
+ issuers: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ identifiers?: string[] | undefined;
8
+ issuers?: unknown[] | undefined;
9
+ }, {
10
+ identifiers?: string[] | undefined;
11
+ issuers?: unknown[] | undefined;
12
+ }>;
13
+ declare const durationSchema: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
14
+ declare const adminPermissionsSchema: z.ZodObject<{
15
+ paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
+ methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ paths?: string[] | undefined;
19
+ methods?: string[] | undefined;
20
+ }, {
21
+ paths?: string[] | undefined;
22
+ methods?: string[] | undefined;
23
+ }>;
24
+ declare const adminRouterSchema: z.ZodAny;
25
+ declare const adminHandlerSchema: z.ZodAny;
26
+ declare const adminHandlerFuncSchema: z.ZodAny;
27
+ declare const apiErrorSchema: z.ZodObject<{
28
+ error: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ error: string;
31
+ }, {
32
+ error: string;
33
+ }>;
34
+ declare const moduleMapSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
35
+ declare const appSchema$1: z.ZodAny;
36
+ declare const configLoaderSchema: z.ZodAny;
37
+ declare const cloudEventSchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ source: z.ZodString;
40
+ specversion: z.ZodString;
41
+ type: z.ZodString;
42
+ time: z.ZodString;
43
+ datacontenttype: z.ZodOptional<z.ZodString>;
44
+ data: z.ZodOptional<z.ZodUnknown>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ type: string;
47
+ id: string;
48
+ source: string;
49
+ specversion: string;
50
+ time: string;
51
+ datacontenttype?: string | undefined;
52
+ data?: unknown;
53
+ }, {
54
+ type: string;
55
+ id: string;
56
+ source: string;
57
+ specversion: string;
58
+ time: string;
59
+ datacontenttype?: string | undefined;
60
+ data?: unknown;
61
+ }>;
62
+ declare const ctxKeySchema: z.ZodString;
63
+ declare const contextSchema: z.ZodObject<{
64
+ Context: z.ZodUnknown;
65
+ }, "strip", z.ZodTypeAny, {
66
+ Context?: unknown;
67
+ }, {
68
+ Context?: unknown;
69
+ }>;
70
+ declare const fileSystemsSchema: z.ZodAny;
71
+ declare const networkAddressSchema: z.ZodObject<{
72
+ Network: z.ZodString;
73
+ Host: z.ZodString;
74
+ StartPort: z.ZodNumber;
75
+ EndPort: z.ZodNumber;
76
+ }, "strip", z.ZodTypeAny, {
77
+ Network: string;
78
+ Host: string;
79
+ StartPort: number;
80
+ EndPort: number;
81
+ }, {
82
+ Network: string;
83
+ Host: string;
84
+ StartPort: number;
85
+ EndPort: number;
86
+ }>;
87
+ declare const listenerFuncSchema: z.ZodAny;
88
+ declare const listenerWrapperSchema: z.ZodAny;
89
+ declare const packetConnWrapperSchema: z.ZodAny;
90
+ declare const writerOpenerSchema: z.ZodUnknown;
91
+ declare const logSamplingSchema: z.ZodObject<{
92
+ interval: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
93
+ first: z.ZodOptional<z.ZodNumber>;
94
+ thereafter: z.ZodOptional<z.ZodNumber>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ interval?: string | number | undefined;
97
+ first?: number | undefined;
98
+ thereafter?: number | undefined;
99
+ }, {
100
+ interval?: string | number | undefined;
101
+ first?: number | undefined;
102
+ thereafter?: number | undefined;
103
+ }>;
104
+ declare const baseLogSchema: z.ZodObject<{
105
+ writer: z.ZodOptional<z.ZodUnknown>;
106
+ encoder: z.ZodOptional<z.ZodUnknown>;
107
+ core: z.ZodOptional<z.ZodUnknown>;
108
+ level: z.ZodOptional<z.ZodString>;
109
+ sampling: z.ZodOptional<z.ZodObject<{
110
+ interval: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
111
+ first: z.ZodOptional<z.ZodNumber>;
112
+ thereafter: z.ZodOptional<z.ZodNumber>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ interval?: string | number | undefined;
115
+ first?: number | undefined;
116
+ thereafter?: number | undefined;
117
+ }, {
118
+ interval?: string | number | undefined;
119
+ first?: number | undefined;
120
+ thereafter?: number | undefined;
121
+ }>>;
122
+ with_caller: z.ZodOptional<z.ZodBoolean>;
123
+ with_caller_skip: z.ZodOptional<z.ZodNumber>;
124
+ with_stacktrace: z.ZodOptional<z.ZodString>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ writer?: unknown;
127
+ encoder?: unknown;
128
+ core?: unknown;
129
+ level?: string | undefined;
130
+ sampling?: {
131
+ interval?: string | number | undefined;
132
+ first?: number | undefined;
133
+ thereafter?: number | undefined;
134
+ } | undefined;
135
+ with_caller?: boolean | undefined;
136
+ with_caller_skip?: number | undefined;
137
+ with_stacktrace?: string | undefined;
138
+ }, {
139
+ writer?: unknown;
140
+ encoder?: unknown;
141
+ core?: unknown;
142
+ level?: string | undefined;
143
+ sampling?: {
144
+ interval?: string | number | undefined;
145
+ first?: number | undefined;
146
+ thereafter?: number | undefined;
147
+ } | undefined;
148
+ with_caller?: boolean | undefined;
149
+ with_caller_skip?: number | undefined;
150
+ with_stacktrace?: string | undefined;
151
+ }>;
152
+ declare const customLogSchema: z.ZodObject<{
153
+ BaseLog: z.ZodObject<{
154
+ writer: z.ZodOptional<z.ZodUnknown>;
155
+ encoder: z.ZodOptional<z.ZodUnknown>;
156
+ core: z.ZodOptional<z.ZodUnknown>;
157
+ level: z.ZodOptional<z.ZodString>;
158
+ sampling: z.ZodOptional<z.ZodObject<{
159
+ interval: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
160
+ first: z.ZodOptional<z.ZodNumber>;
161
+ thereafter: z.ZodOptional<z.ZodNumber>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ interval?: string | number | undefined;
164
+ first?: number | undefined;
165
+ thereafter?: number | undefined;
166
+ }, {
167
+ interval?: string | number | undefined;
168
+ first?: number | undefined;
169
+ thereafter?: number | undefined;
170
+ }>>;
171
+ with_caller: z.ZodOptional<z.ZodBoolean>;
172
+ with_caller_skip: z.ZodOptional<z.ZodNumber>;
173
+ with_stacktrace: z.ZodOptional<z.ZodString>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ writer?: unknown;
176
+ encoder?: unknown;
177
+ core?: unknown;
178
+ level?: string | undefined;
179
+ sampling?: {
180
+ interval?: string | number | undefined;
181
+ first?: number | undefined;
182
+ thereafter?: number | undefined;
183
+ } | undefined;
184
+ with_caller?: boolean | undefined;
185
+ with_caller_skip?: number | undefined;
186
+ with_stacktrace?: string | undefined;
187
+ }, {
188
+ writer?: unknown;
189
+ encoder?: unknown;
190
+ core?: unknown;
191
+ level?: string | undefined;
192
+ sampling?: {
193
+ interval?: string | number | undefined;
194
+ first?: number | undefined;
195
+ thereafter?: number | undefined;
196
+ } | undefined;
197
+ with_caller?: boolean | undefined;
198
+ with_caller_skip?: number | undefined;
199
+ with_stacktrace?: string | undefined;
200
+ }>;
201
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
202
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ BaseLog: {
205
+ writer?: unknown;
206
+ encoder?: unknown;
207
+ core?: unknown;
208
+ level?: string | undefined;
209
+ sampling?: {
210
+ interval?: string | number | undefined;
211
+ first?: number | undefined;
212
+ thereafter?: number | undefined;
213
+ } | undefined;
214
+ with_caller?: boolean | undefined;
215
+ with_caller_skip?: number | undefined;
216
+ with_stacktrace?: string | undefined;
217
+ };
218
+ include?: string[] | undefined;
219
+ exclude?: string[] | undefined;
220
+ }, {
221
+ BaseLog: {
222
+ writer?: unknown;
223
+ encoder?: unknown;
224
+ core?: unknown;
225
+ level?: string | undefined;
226
+ sampling?: {
227
+ interval?: string | number | undefined;
228
+ first?: number | undefined;
229
+ thereafter?: number | undefined;
230
+ } | undefined;
231
+ with_caller?: boolean | undefined;
232
+ with_caller_skip?: number | undefined;
233
+ with_stacktrace?: string | undefined;
234
+ };
235
+ include?: string[] | undefined;
236
+ exclude?: string[] | undefined;
237
+ }>;
238
+ declare const stdoutWriterSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
239
+ declare const stderrWriterSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
240
+ declare const discardWriterSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
241
+ declare const configuresFormatterDefaultSchema: z.ZodAny;
242
+ declare const moduleSchema: z.ZodAny;
243
+ declare const moduleIdSchema: z.ZodString;
244
+ declare const provisionerSchema: z.ZodAny;
245
+ declare const validatorSchema: z.ZodAny;
246
+ declare const cleanerUpperSchema: z.ZodAny;
247
+ declare const proxyFuncProducerSchema: z.ZodAny;
248
+ declare const replacerSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
249
+ declare const replacerFuncSchema: z.ZodAny;
250
+ declare const replacementFuncSchema: z.ZodAny;
251
+ declare const storageConverterSchema: z.ZodAny;
252
+ declare const usagePoolSchema: z.ZodObject<{
253
+ RWMutex: z.ZodUnknown;
254
+ }, "strip", z.ZodTypeAny, {
255
+ RWMutex?: unknown;
256
+ }, {
257
+ RWMutex?: unknown;
258
+ }>;
259
+ declare const constructorSchema: z.ZodAny;
260
+ declare const destructorSchema: z.ZodAny;
261
+ declare const configSettingsSchema: z.ZodObject<{
262
+ persist: z.ZodOptional<z.ZodBoolean>;
263
+ load: z.ZodOptional<z.ZodUnknown>;
264
+ load_delay: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ persist?: boolean | undefined;
267
+ load?: unknown;
268
+ load_delay?: string | number | undefined;
269
+ }, {
270
+ persist?: boolean | undefined;
271
+ load?: unknown;
272
+ load_delay?: string | number | undefined;
273
+ }>;
274
+ declare const adminAccessSchema: z.ZodObject<{
275
+ public_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
276
+ permissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
277
+ paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
278
+ methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ paths?: string[] | undefined;
281
+ methods?: string[] | undefined;
282
+ }, {
283
+ paths?: string[] | undefined;
284
+ methods?: string[] | undefined;
285
+ }>, "many">>;
286
+ }, "strip", z.ZodTypeAny, {
287
+ public_keys?: string[] | undefined;
288
+ permissions?: {
289
+ paths?: string[] | undefined;
290
+ methods?: string[] | undefined;
291
+ }[] | undefined;
292
+ }, {
293
+ public_keys?: string[] | undefined;
294
+ permissions?: {
295
+ paths?: string[] | undefined;
296
+ methods?: string[] | undefined;
297
+ }[] | undefined;
298
+ }>;
299
+ declare const adminRouteSchema: z.ZodObject<{
300
+ Pattern: z.ZodString;
301
+ Handler: z.ZodAny;
302
+ }, "strip", z.ZodTypeAny, {
303
+ Pattern: string;
304
+ Handler?: any;
305
+ }, {
306
+ Pattern: string;
307
+ Handler?: any;
308
+ }>;
309
+ declare const sinkLogSchema: z.ZodObject<{
310
+ BaseLog: z.ZodObject<{
311
+ writer: z.ZodOptional<z.ZodUnknown>;
312
+ encoder: z.ZodOptional<z.ZodUnknown>;
313
+ core: z.ZodOptional<z.ZodUnknown>;
314
+ level: z.ZodOptional<z.ZodString>;
315
+ sampling: z.ZodOptional<z.ZodObject<{
316
+ interval: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
317
+ first: z.ZodOptional<z.ZodNumber>;
318
+ thereafter: z.ZodOptional<z.ZodNumber>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ interval?: string | number | undefined;
321
+ first?: number | undefined;
322
+ thereafter?: number | undefined;
323
+ }, {
324
+ interval?: string | number | undefined;
325
+ first?: number | undefined;
326
+ thereafter?: number | undefined;
327
+ }>>;
328
+ with_caller: z.ZodOptional<z.ZodBoolean>;
329
+ with_caller_skip: z.ZodOptional<z.ZodNumber>;
330
+ with_stacktrace: z.ZodOptional<z.ZodString>;
331
+ }, "strip", z.ZodTypeAny, {
332
+ writer?: unknown;
333
+ encoder?: unknown;
334
+ core?: unknown;
335
+ level?: string | undefined;
336
+ sampling?: {
337
+ interval?: string | number | undefined;
338
+ first?: number | undefined;
339
+ thereafter?: number | undefined;
340
+ } | undefined;
341
+ with_caller?: boolean | undefined;
342
+ with_caller_skip?: number | undefined;
343
+ with_stacktrace?: string | undefined;
344
+ }, {
345
+ writer?: unknown;
346
+ encoder?: unknown;
347
+ core?: unknown;
348
+ level?: string | undefined;
349
+ sampling?: {
350
+ interval?: string | number | undefined;
351
+ first?: number | undefined;
352
+ thereafter?: number | undefined;
353
+ } | undefined;
354
+ with_caller?: boolean | undefined;
355
+ with_caller_skip?: number | undefined;
356
+ with_stacktrace?: string | undefined;
357
+ }>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ BaseLog: {
360
+ writer?: unknown;
361
+ encoder?: unknown;
362
+ core?: unknown;
363
+ level?: string | undefined;
364
+ sampling?: {
365
+ interval?: string | number | undefined;
366
+ first?: number | undefined;
367
+ thereafter?: number | undefined;
368
+ } | undefined;
369
+ with_caller?: boolean | undefined;
370
+ with_caller_skip?: number | undefined;
371
+ with_stacktrace?: string | undefined;
372
+ };
373
+ }, {
374
+ BaseLog: {
375
+ writer?: unknown;
376
+ encoder?: unknown;
377
+ core?: unknown;
378
+ level?: string | undefined;
379
+ sampling?: {
380
+ interval?: string | number | undefined;
381
+ first?: number | undefined;
382
+ thereafter?: number | undefined;
383
+ } | undefined;
384
+ with_caller?: boolean | undefined;
385
+ with_caller_skip?: number | undefined;
386
+ with_stacktrace?: string | undefined;
387
+ };
388
+ }>;
389
+ declare const moduleInfoSchema: z.ZodObject<{
390
+ ID: z.ZodString;
391
+ New: z.ZodAny;
392
+ }, "strip", z.ZodTypeAny, {
393
+ ID: string;
394
+ New?: any;
395
+ }, {
396
+ ID: string;
397
+ New?: any;
398
+ }>;
399
+ declare const remoteAdminSchema: z.ZodObject<{
400
+ listen: z.ZodOptional<z.ZodString>;
401
+ access_control: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
402
+ public_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
403
+ permissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
404
+ paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
405
+ methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ paths?: string[] | undefined;
408
+ methods?: string[] | undefined;
409
+ }, {
410
+ paths?: string[] | undefined;
411
+ methods?: string[] | undefined;
412
+ }>, "many">>;
413
+ }, "strip", z.ZodTypeAny, {
414
+ public_keys?: string[] | undefined;
415
+ permissions?: {
416
+ paths?: string[] | undefined;
417
+ methods?: string[] | undefined;
418
+ }[] | undefined;
419
+ }, {
420
+ public_keys?: string[] | undefined;
421
+ permissions?: {
422
+ paths?: string[] | undefined;
423
+ methods?: string[] | undefined;
424
+ }[] | undefined;
425
+ }>, z.ZodUndefined]>, "many">>;
426
+ }, "strip", z.ZodTypeAny, {
427
+ listen?: string | undefined;
428
+ access_control?: ({
429
+ public_keys?: string[] | undefined;
430
+ permissions?: {
431
+ paths?: string[] | undefined;
432
+ methods?: string[] | undefined;
433
+ }[] | undefined;
434
+ } | undefined)[] | undefined;
435
+ }, {
436
+ listen?: string | undefined;
437
+ access_control?: ({
438
+ public_keys?: string[] | undefined;
439
+ permissions?: {
440
+ paths?: string[] | undefined;
441
+ methods?: string[] | undefined;
442
+ }[] | undefined;
443
+ } | undefined)[] | undefined;
444
+ }>;
445
+ declare const adminConfigSchema: z.ZodObject<{
446
+ disabled: z.ZodOptional<z.ZodBoolean>;
447
+ listen: z.ZodOptional<z.ZodString>;
448
+ enforce_origin: z.ZodOptional<z.ZodBoolean>;
449
+ origins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
450
+ config: z.ZodOptional<z.ZodObject<{
451
+ persist: z.ZodOptional<z.ZodBoolean>;
452
+ load: z.ZodOptional<z.ZodUnknown>;
453
+ load_delay: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ persist?: boolean | undefined;
456
+ load?: unknown;
457
+ load_delay?: string | number | undefined;
458
+ }, {
459
+ persist?: boolean | undefined;
460
+ load?: unknown;
461
+ load_delay?: string | number | undefined;
462
+ }>>;
463
+ identity: z.ZodOptional<z.ZodObject<{
464
+ identifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
465
+ issuers: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ identifiers?: string[] | undefined;
468
+ issuers?: unknown[] | undefined;
469
+ }, {
470
+ identifiers?: string[] | undefined;
471
+ issuers?: unknown[] | undefined;
472
+ }>>;
473
+ remote: z.ZodOptional<z.ZodObject<{
474
+ listen: z.ZodOptional<z.ZodString>;
475
+ access_control: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
476
+ public_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
477
+ permissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
478
+ paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
479
+ methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ paths?: string[] | undefined;
482
+ methods?: string[] | undefined;
483
+ }, {
484
+ paths?: string[] | undefined;
485
+ methods?: string[] | undefined;
486
+ }>, "many">>;
487
+ }, "strip", z.ZodTypeAny, {
488
+ public_keys?: string[] | undefined;
489
+ permissions?: {
490
+ paths?: string[] | undefined;
491
+ methods?: string[] | undefined;
492
+ }[] | undefined;
493
+ }, {
494
+ public_keys?: string[] | undefined;
495
+ permissions?: {
496
+ paths?: string[] | undefined;
497
+ methods?: string[] | undefined;
498
+ }[] | undefined;
499
+ }>, z.ZodUndefined]>, "many">>;
500
+ }, "strip", z.ZodTypeAny, {
501
+ listen?: string | undefined;
502
+ access_control?: ({
503
+ public_keys?: string[] | undefined;
504
+ permissions?: {
505
+ paths?: string[] | undefined;
506
+ methods?: string[] | undefined;
507
+ }[] | undefined;
508
+ } | undefined)[] | undefined;
509
+ }, {
510
+ listen?: string | undefined;
511
+ access_control?: ({
512
+ public_keys?: string[] | undefined;
513
+ permissions?: {
514
+ paths?: string[] | undefined;
515
+ methods?: string[] | undefined;
516
+ }[] | undefined;
517
+ } | undefined)[] | undefined;
518
+ }>>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ listen?: string | undefined;
521
+ disabled?: boolean | undefined;
522
+ enforce_origin?: boolean | undefined;
523
+ origins?: string[] | undefined;
524
+ config?: {
525
+ persist?: boolean | undefined;
526
+ load?: unknown;
527
+ load_delay?: string | number | undefined;
528
+ } | undefined;
529
+ identity?: {
530
+ identifiers?: string[] | undefined;
531
+ issuers?: unknown[] | undefined;
532
+ } | undefined;
533
+ remote?: {
534
+ listen?: string | undefined;
535
+ access_control?: ({
536
+ public_keys?: string[] | undefined;
537
+ permissions?: {
538
+ paths?: string[] | undefined;
539
+ methods?: string[] | undefined;
540
+ }[] | undefined;
541
+ } | undefined)[] | undefined;
542
+ } | undefined;
543
+ }, {
544
+ listen?: string | undefined;
545
+ disabled?: boolean | undefined;
546
+ enforce_origin?: boolean | undefined;
547
+ origins?: string[] | undefined;
548
+ config?: {
549
+ persist?: boolean | undefined;
550
+ load?: unknown;
551
+ load_delay?: string | number | undefined;
552
+ } | undefined;
553
+ identity?: {
554
+ identifiers?: string[] | undefined;
555
+ issuers?: unknown[] | undefined;
556
+ } | undefined;
557
+ remote?: {
558
+ listen?: string | undefined;
559
+ access_control?: ({
560
+ public_keys?: string[] | undefined;
561
+ permissions?: {
562
+ paths?: string[] | undefined;
563
+ methods?: string[] | undefined;
564
+ }[] | undefined;
565
+ } | undefined)[] | undefined;
566
+ } | undefined;
567
+ }>;
568
+ declare const loggingSchema: z.ZodObject<{
569
+ sink: z.ZodOptional<z.ZodObject<{
570
+ BaseLog: z.ZodObject<{
571
+ writer: z.ZodOptional<z.ZodUnknown>;
572
+ encoder: z.ZodOptional<z.ZodUnknown>;
573
+ core: z.ZodOptional<z.ZodUnknown>;
574
+ level: z.ZodOptional<z.ZodString>;
575
+ sampling: z.ZodOptional<z.ZodObject<{
576
+ interval: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
577
+ first: z.ZodOptional<z.ZodNumber>;
578
+ thereafter: z.ZodOptional<z.ZodNumber>;
579
+ }, "strip", z.ZodTypeAny, {
580
+ interval?: string | number | undefined;
581
+ first?: number | undefined;
582
+ thereafter?: number | undefined;
583
+ }, {
584
+ interval?: string | number | undefined;
585
+ first?: number | undefined;
586
+ thereafter?: number | undefined;
587
+ }>>;
588
+ with_caller: z.ZodOptional<z.ZodBoolean>;
589
+ with_caller_skip: z.ZodOptional<z.ZodNumber>;
590
+ with_stacktrace: z.ZodOptional<z.ZodString>;
591
+ }, "strip", z.ZodTypeAny, {
592
+ writer?: unknown;
593
+ encoder?: unknown;
594
+ core?: unknown;
595
+ level?: string | undefined;
596
+ sampling?: {
597
+ interval?: string | number | undefined;
598
+ first?: number | undefined;
599
+ thereafter?: number | undefined;
600
+ } | undefined;
601
+ with_caller?: boolean | undefined;
602
+ with_caller_skip?: number | undefined;
603
+ with_stacktrace?: string | undefined;
604
+ }, {
605
+ writer?: unknown;
606
+ encoder?: unknown;
607
+ core?: unknown;
608
+ level?: string | undefined;
609
+ sampling?: {
610
+ interval?: string | number | undefined;
611
+ first?: number | undefined;
612
+ thereafter?: number | undefined;
613
+ } | undefined;
614
+ with_caller?: boolean | undefined;
615
+ with_caller_skip?: number | undefined;
616
+ with_stacktrace?: string | undefined;
617
+ }>;
618
+ }, "strip", z.ZodTypeAny, {
619
+ BaseLog: {
620
+ writer?: unknown;
621
+ encoder?: unknown;
622
+ core?: unknown;
623
+ level?: string | undefined;
624
+ sampling?: {
625
+ interval?: string | number | undefined;
626
+ first?: number | undefined;
627
+ thereafter?: number | undefined;
628
+ } | undefined;
629
+ with_caller?: boolean | undefined;
630
+ with_caller_skip?: number | undefined;
631
+ with_stacktrace?: string | undefined;
632
+ };
633
+ }, {
634
+ BaseLog: {
635
+ writer?: unknown;
636
+ encoder?: unknown;
637
+ core?: unknown;
638
+ level?: string | undefined;
639
+ sampling?: {
640
+ interval?: string | number | undefined;
641
+ first?: number | undefined;
642
+ thereafter?: number | undefined;
643
+ } | undefined;
644
+ with_caller?: boolean | undefined;
645
+ with_caller_skip?: number | undefined;
646
+ with_stacktrace?: string | undefined;
647
+ };
648
+ }>>;
649
+ logs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
650
+ BaseLog: z.ZodObject<{
651
+ writer: z.ZodOptional<z.ZodUnknown>;
652
+ encoder: z.ZodOptional<z.ZodUnknown>;
653
+ core: z.ZodOptional<z.ZodUnknown>;
654
+ level: z.ZodOptional<z.ZodString>;
655
+ sampling: z.ZodOptional<z.ZodObject<{
656
+ interval: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
657
+ first: z.ZodOptional<z.ZodNumber>;
658
+ thereafter: z.ZodOptional<z.ZodNumber>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ interval?: string | number | undefined;
661
+ first?: number | undefined;
662
+ thereafter?: number | undefined;
663
+ }, {
664
+ interval?: string | number | undefined;
665
+ first?: number | undefined;
666
+ thereafter?: number | undefined;
667
+ }>>;
668
+ with_caller: z.ZodOptional<z.ZodBoolean>;
669
+ with_caller_skip: z.ZodOptional<z.ZodNumber>;
670
+ with_stacktrace: z.ZodOptional<z.ZodString>;
671
+ }, "strip", z.ZodTypeAny, {
672
+ writer?: unknown;
673
+ encoder?: unknown;
674
+ core?: unknown;
675
+ level?: string | undefined;
676
+ sampling?: {
677
+ interval?: string | number | undefined;
678
+ first?: number | undefined;
679
+ thereafter?: number | undefined;
680
+ } | undefined;
681
+ with_caller?: boolean | undefined;
682
+ with_caller_skip?: number | undefined;
683
+ with_stacktrace?: string | undefined;
684
+ }, {
685
+ writer?: unknown;
686
+ encoder?: unknown;
687
+ core?: unknown;
688
+ level?: string | undefined;
689
+ sampling?: {
690
+ interval?: string | number | undefined;
691
+ first?: number | undefined;
692
+ thereafter?: number | undefined;
693
+ } | undefined;
694
+ with_caller?: boolean | undefined;
695
+ with_caller_skip?: number | undefined;
696
+ with_stacktrace?: string | undefined;
697
+ }>;
698
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
699
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ BaseLog: {
702
+ writer?: unknown;
703
+ encoder?: unknown;
704
+ core?: unknown;
705
+ level?: string | undefined;
706
+ sampling?: {
707
+ interval?: string | number | undefined;
708
+ first?: number | undefined;
709
+ thereafter?: number | undefined;
710
+ } | undefined;
711
+ with_caller?: boolean | undefined;
712
+ with_caller_skip?: number | undefined;
713
+ with_stacktrace?: string | undefined;
714
+ };
715
+ include?: string[] | undefined;
716
+ exclude?: string[] | undefined;
717
+ }, {
718
+ BaseLog: {
719
+ writer?: unknown;
720
+ encoder?: unknown;
721
+ core?: unknown;
722
+ level?: string | undefined;
723
+ sampling?: {
724
+ interval?: string | number | undefined;
725
+ first?: number | undefined;
726
+ thereafter?: number | undefined;
727
+ } | undefined;
728
+ with_caller?: boolean | undefined;
729
+ with_caller_skip?: number | undefined;
730
+ with_stacktrace?: string | undefined;
731
+ };
732
+ include?: string[] | undefined;
733
+ exclude?: string[] | undefined;
734
+ }>, z.ZodUndefined]>>>;
735
+ }, "strip", z.ZodTypeAny, {
736
+ sink?: {
737
+ BaseLog: {
738
+ writer?: unknown;
739
+ encoder?: unknown;
740
+ core?: unknown;
741
+ level?: string | undefined;
742
+ sampling?: {
743
+ interval?: string | number | undefined;
744
+ first?: number | undefined;
745
+ thereafter?: number | undefined;
746
+ } | undefined;
747
+ with_caller?: boolean | undefined;
748
+ with_caller_skip?: number | undefined;
749
+ with_stacktrace?: string | undefined;
750
+ };
751
+ } | undefined;
752
+ logs?: Record<string, {
753
+ BaseLog: {
754
+ writer?: unknown;
755
+ encoder?: unknown;
756
+ core?: unknown;
757
+ level?: string | undefined;
758
+ sampling?: {
759
+ interval?: string | number | undefined;
760
+ first?: number | undefined;
761
+ thereafter?: number | undefined;
762
+ } | undefined;
763
+ with_caller?: boolean | undefined;
764
+ with_caller_skip?: number | undefined;
765
+ with_stacktrace?: string | undefined;
766
+ };
767
+ include?: string[] | undefined;
768
+ exclude?: string[] | undefined;
769
+ } | undefined> | undefined;
770
+ }, {
771
+ sink?: {
772
+ BaseLog: {
773
+ writer?: unknown;
774
+ encoder?: unknown;
775
+ core?: unknown;
776
+ level?: string | undefined;
777
+ sampling?: {
778
+ interval?: string | number | undefined;
779
+ first?: number | undefined;
780
+ thereafter?: number | undefined;
781
+ } | undefined;
782
+ with_caller?: boolean | undefined;
783
+ with_caller_skip?: number | undefined;
784
+ with_stacktrace?: string | undefined;
785
+ };
786
+ } | undefined;
787
+ logs?: Record<string, {
788
+ BaseLog: {
789
+ writer?: unknown;
790
+ encoder?: unknown;
791
+ core?: unknown;
792
+ level?: string | undefined;
793
+ sampling?: {
794
+ interval?: string | number | undefined;
795
+ first?: number | undefined;
796
+ thereafter?: number | undefined;
797
+ } | undefined;
798
+ with_caller?: boolean | undefined;
799
+ with_caller_skip?: number | undefined;
800
+ with_stacktrace?: string | undefined;
801
+ };
802
+ include?: string[] | undefined;
803
+ exclude?: string[] | undefined;
804
+ } | undefined> | undefined;
805
+ }>;
806
+ declare const configSchema: z.ZodObject<{
807
+ admin: z.ZodOptional<z.ZodObject<{
808
+ disabled: z.ZodOptional<z.ZodBoolean>;
809
+ listen: z.ZodOptional<z.ZodString>;
810
+ enforce_origin: z.ZodOptional<z.ZodBoolean>;
811
+ origins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
812
+ config: z.ZodOptional<z.ZodObject<{
813
+ persist: z.ZodOptional<z.ZodBoolean>;
814
+ load: z.ZodOptional<z.ZodUnknown>;
815
+ load_delay: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ persist?: boolean | undefined;
818
+ load?: unknown;
819
+ load_delay?: string | number | undefined;
820
+ }, {
821
+ persist?: boolean | undefined;
822
+ load?: unknown;
823
+ load_delay?: string | number | undefined;
824
+ }>>;
825
+ identity: z.ZodOptional<z.ZodObject<{
826
+ identifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
827
+ issuers: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ identifiers?: string[] | undefined;
830
+ issuers?: unknown[] | undefined;
831
+ }, {
832
+ identifiers?: string[] | undefined;
833
+ issuers?: unknown[] | undefined;
834
+ }>>;
835
+ remote: z.ZodOptional<z.ZodObject<{
836
+ listen: z.ZodOptional<z.ZodString>;
837
+ access_control: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
838
+ public_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
839
+ permissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
840
+ paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
841
+ methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ paths?: string[] | undefined;
844
+ methods?: string[] | undefined;
845
+ }, {
846
+ paths?: string[] | undefined;
847
+ methods?: string[] | undefined;
848
+ }>, "many">>;
849
+ }, "strip", z.ZodTypeAny, {
850
+ public_keys?: string[] | undefined;
851
+ permissions?: {
852
+ paths?: string[] | undefined;
853
+ methods?: string[] | undefined;
854
+ }[] | undefined;
855
+ }, {
856
+ public_keys?: string[] | undefined;
857
+ permissions?: {
858
+ paths?: string[] | undefined;
859
+ methods?: string[] | undefined;
860
+ }[] | undefined;
861
+ }>, z.ZodUndefined]>, "many">>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ listen?: string | undefined;
864
+ access_control?: ({
865
+ public_keys?: string[] | undefined;
866
+ permissions?: {
867
+ paths?: string[] | undefined;
868
+ methods?: string[] | undefined;
869
+ }[] | undefined;
870
+ } | undefined)[] | undefined;
871
+ }, {
872
+ listen?: string | undefined;
873
+ access_control?: ({
874
+ public_keys?: string[] | undefined;
875
+ permissions?: {
876
+ paths?: string[] | undefined;
877
+ methods?: string[] | undefined;
878
+ }[] | undefined;
879
+ } | undefined)[] | undefined;
880
+ }>>;
881
+ }, "strip", z.ZodTypeAny, {
882
+ listen?: string | undefined;
883
+ disabled?: boolean | undefined;
884
+ enforce_origin?: boolean | undefined;
885
+ origins?: string[] | undefined;
886
+ config?: {
887
+ persist?: boolean | undefined;
888
+ load?: unknown;
889
+ load_delay?: string | number | undefined;
890
+ } | undefined;
891
+ identity?: {
892
+ identifiers?: string[] | undefined;
893
+ issuers?: unknown[] | undefined;
894
+ } | undefined;
895
+ remote?: {
896
+ listen?: string | undefined;
897
+ access_control?: ({
898
+ public_keys?: string[] | undefined;
899
+ permissions?: {
900
+ paths?: string[] | undefined;
901
+ methods?: string[] | undefined;
902
+ }[] | undefined;
903
+ } | undefined)[] | undefined;
904
+ } | undefined;
905
+ }, {
906
+ listen?: string | undefined;
907
+ disabled?: boolean | undefined;
908
+ enforce_origin?: boolean | undefined;
909
+ origins?: string[] | undefined;
910
+ config?: {
911
+ persist?: boolean | undefined;
912
+ load?: unknown;
913
+ load_delay?: string | number | undefined;
914
+ } | undefined;
915
+ identity?: {
916
+ identifiers?: string[] | undefined;
917
+ issuers?: unknown[] | undefined;
918
+ } | undefined;
919
+ remote?: {
920
+ listen?: string | undefined;
921
+ access_control?: ({
922
+ public_keys?: string[] | undefined;
923
+ permissions?: {
924
+ paths?: string[] | undefined;
925
+ methods?: string[] | undefined;
926
+ }[] | undefined;
927
+ } | undefined)[] | undefined;
928
+ } | undefined;
929
+ }>>;
930
+ logging: z.ZodOptional<z.ZodObject<{
931
+ sink: z.ZodOptional<z.ZodObject<{
932
+ BaseLog: z.ZodObject<{
933
+ writer: z.ZodOptional<z.ZodUnknown>;
934
+ encoder: z.ZodOptional<z.ZodUnknown>;
935
+ core: z.ZodOptional<z.ZodUnknown>;
936
+ level: z.ZodOptional<z.ZodString>;
937
+ sampling: z.ZodOptional<z.ZodObject<{
938
+ interval: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
939
+ first: z.ZodOptional<z.ZodNumber>;
940
+ thereafter: z.ZodOptional<z.ZodNumber>;
941
+ }, "strip", z.ZodTypeAny, {
942
+ interval?: string | number | undefined;
943
+ first?: number | undefined;
944
+ thereafter?: number | undefined;
945
+ }, {
946
+ interval?: string | number | undefined;
947
+ first?: number | undefined;
948
+ thereafter?: number | undefined;
949
+ }>>;
950
+ with_caller: z.ZodOptional<z.ZodBoolean>;
951
+ with_caller_skip: z.ZodOptional<z.ZodNumber>;
952
+ with_stacktrace: z.ZodOptional<z.ZodString>;
953
+ }, "strip", z.ZodTypeAny, {
954
+ writer?: unknown;
955
+ encoder?: unknown;
956
+ core?: unknown;
957
+ level?: string | undefined;
958
+ sampling?: {
959
+ interval?: string | number | undefined;
960
+ first?: number | undefined;
961
+ thereafter?: number | undefined;
962
+ } | undefined;
963
+ with_caller?: boolean | undefined;
964
+ with_caller_skip?: number | undefined;
965
+ with_stacktrace?: string | undefined;
966
+ }, {
967
+ writer?: unknown;
968
+ encoder?: unknown;
969
+ core?: unknown;
970
+ level?: string | undefined;
971
+ sampling?: {
972
+ interval?: string | number | undefined;
973
+ first?: number | undefined;
974
+ thereafter?: number | undefined;
975
+ } | undefined;
976
+ with_caller?: boolean | undefined;
977
+ with_caller_skip?: number | undefined;
978
+ with_stacktrace?: string | undefined;
979
+ }>;
980
+ }, "strip", z.ZodTypeAny, {
981
+ BaseLog: {
982
+ writer?: unknown;
983
+ encoder?: unknown;
984
+ core?: unknown;
985
+ level?: string | undefined;
986
+ sampling?: {
987
+ interval?: string | number | undefined;
988
+ first?: number | undefined;
989
+ thereafter?: number | undefined;
990
+ } | undefined;
991
+ with_caller?: boolean | undefined;
992
+ with_caller_skip?: number | undefined;
993
+ with_stacktrace?: string | undefined;
994
+ };
995
+ }, {
996
+ BaseLog: {
997
+ writer?: unknown;
998
+ encoder?: unknown;
999
+ core?: unknown;
1000
+ level?: string | undefined;
1001
+ sampling?: {
1002
+ interval?: string | number | undefined;
1003
+ first?: number | undefined;
1004
+ thereafter?: number | undefined;
1005
+ } | undefined;
1006
+ with_caller?: boolean | undefined;
1007
+ with_caller_skip?: number | undefined;
1008
+ with_stacktrace?: string | undefined;
1009
+ };
1010
+ }>>;
1011
+ logs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1012
+ BaseLog: z.ZodObject<{
1013
+ writer: z.ZodOptional<z.ZodUnknown>;
1014
+ encoder: z.ZodOptional<z.ZodUnknown>;
1015
+ core: z.ZodOptional<z.ZodUnknown>;
1016
+ level: z.ZodOptional<z.ZodString>;
1017
+ sampling: z.ZodOptional<z.ZodObject<{
1018
+ interval: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1019
+ first: z.ZodOptional<z.ZodNumber>;
1020
+ thereafter: z.ZodOptional<z.ZodNumber>;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ interval?: string | number | undefined;
1023
+ first?: number | undefined;
1024
+ thereafter?: number | undefined;
1025
+ }, {
1026
+ interval?: string | number | undefined;
1027
+ first?: number | undefined;
1028
+ thereafter?: number | undefined;
1029
+ }>>;
1030
+ with_caller: z.ZodOptional<z.ZodBoolean>;
1031
+ with_caller_skip: z.ZodOptional<z.ZodNumber>;
1032
+ with_stacktrace: z.ZodOptional<z.ZodString>;
1033
+ }, "strip", z.ZodTypeAny, {
1034
+ writer?: unknown;
1035
+ encoder?: unknown;
1036
+ core?: unknown;
1037
+ level?: string | undefined;
1038
+ sampling?: {
1039
+ interval?: string | number | undefined;
1040
+ first?: number | undefined;
1041
+ thereafter?: number | undefined;
1042
+ } | undefined;
1043
+ with_caller?: boolean | undefined;
1044
+ with_caller_skip?: number | undefined;
1045
+ with_stacktrace?: string | undefined;
1046
+ }, {
1047
+ writer?: unknown;
1048
+ encoder?: unknown;
1049
+ core?: unknown;
1050
+ level?: string | undefined;
1051
+ sampling?: {
1052
+ interval?: string | number | undefined;
1053
+ first?: number | undefined;
1054
+ thereafter?: number | undefined;
1055
+ } | undefined;
1056
+ with_caller?: boolean | undefined;
1057
+ with_caller_skip?: number | undefined;
1058
+ with_stacktrace?: string | undefined;
1059
+ }>;
1060
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1061
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1062
+ }, "strip", z.ZodTypeAny, {
1063
+ BaseLog: {
1064
+ writer?: unknown;
1065
+ encoder?: unknown;
1066
+ core?: unknown;
1067
+ level?: string | undefined;
1068
+ sampling?: {
1069
+ interval?: string | number | undefined;
1070
+ first?: number | undefined;
1071
+ thereafter?: number | undefined;
1072
+ } | undefined;
1073
+ with_caller?: boolean | undefined;
1074
+ with_caller_skip?: number | undefined;
1075
+ with_stacktrace?: string | undefined;
1076
+ };
1077
+ include?: string[] | undefined;
1078
+ exclude?: string[] | undefined;
1079
+ }, {
1080
+ BaseLog: {
1081
+ writer?: unknown;
1082
+ encoder?: unknown;
1083
+ core?: unknown;
1084
+ level?: string | undefined;
1085
+ sampling?: {
1086
+ interval?: string | number | undefined;
1087
+ first?: number | undefined;
1088
+ thereafter?: number | undefined;
1089
+ } | undefined;
1090
+ with_caller?: boolean | undefined;
1091
+ with_caller_skip?: number | undefined;
1092
+ with_stacktrace?: string | undefined;
1093
+ };
1094
+ include?: string[] | undefined;
1095
+ exclude?: string[] | undefined;
1096
+ }>, z.ZodUndefined]>>>;
1097
+ }, "strip", z.ZodTypeAny, {
1098
+ sink?: {
1099
+ BaseLog: {
1100
+ writer?: unknown;
1101
+ encoder?: unknown;
1102
+ core?: unknown;
1103
+ level?: string | undefined;
1104
+ sampling?: {
1105
+ interval?: string | number | undefined;
1106
+ first?: number | undefined;
1107
+ thereafter?: number | undefined;
1108
+ } | undefined;
1109
+ with_caller?: boolean | undefined;
1110
+ with_caller_skip?: number | undefined;
1111
+ with_stacktrace?: string | undefined;
1112
+ };
1113
+ } | undefined;
1114
+ logs?: Record<string, {
1115
+ BaseLog: {
1116
+ writer?: unknown;
1117
+ encoder?: unknown;
1118
+ core?: unknown;
1119
+ level?: string | undefined;
1120
+ sampling?: {
1121
+ interval?: string | number | undefined;
1122
+ first?: number | undefined;
1123
+ thereafter?: number | undefined;
1124
+ } | undefined;
1125
+ with_caller?: boolean | undefined;
1126
+ with_caller_skip?: number | undefined;
1127
+ with_stacktrace?: string | undefined;
1128
+ };
1129
+ include?: string[] | undefined;
1130
+ exclude?: string[] | undefined;
1131
+ } | undefined> | undefined;
1132
+ }, {
1133
+ sink?: {
1134
+ BaseLog: {
1135
+ writer?: unknown;
1136
+ encoder?: unknown;
1137
+ core?: unknown;
1138
+ level?: string | undefined;
1139
+ sampling?: {
1140
+ interval?: string | number | undefined;
1141
+ first?: number | undefined;
1142
+ thereafter?: number | undefined;
1143
+ } | undefined;
1144
+ with_caller?: boolean | undefined;
1145
+ with_caller_skip?: number | undefined;
1146
+ with_stacktrace?: string | undefined;
1147
+ };
1148
+ } | undefined;
1149
+ logs?: Record<string, {
1150
+ BaseLog: {
1151
+ writer?: unknown;
1152
+ encoder?: unknown;
1153
+ core?: unknown;
1154
+ level?: string | undefined;
1155
+ sampling?: {
1156
+ interval?: string | number | undefined;
1157
+ first?: number | undefined;
1158
+ thereafter?: number | undefined;
1159
+ } | undefined;
1160
+ with_caller?: boolean | undefined;
1161
+ with_caller_skip?: number | undefined;
1162
+ with_stacktrace?: string | undefined;
1163
+ };
1164
+ include?: string[] | undefined;
1165
+ exclude?: string[] | undefined;
1166
+ } | undefined> | undefined;
1167
+ }>>;
1168
+ storage: z.ZodOptional<z.ZodUnknown>;
1169
+ apps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1170
+ }, "strip", z.ZodTypeAny, {
1171
+ admin?: {
1172
+ listen?: string | undefined;
1173
+ disabled?: boolean | undefined;
1174
+ enforce_origin?: boolean | undefined;
1175
+ origins?: string[] | undefined;
1176
+ config?: {
1177
+ persist?: boolean | undefined;
1178
+ load?: unknown;
1179
+ load_delay?: string | number | undefined;
1180
+ } | undefined;
1181
+ identity?: {
1182
+ identifiers?: string[] | undefined;
1183
+ issuers?: unknown[] | undefined;
1184
+ } | undefined;
1185
+ remote?: {
1186
+ listen?: string | undefined;
1187
+ access_control?: ({
1188
+ public_keys?: string[] | undefined;
1189
+ permissions?: {
1190
+ paths?: string[] | undefined;
1191
+ methods?: string[] | undefined;
1192
+ }[] | undefined;
1193
+ } | undefined)[] | undefined;
1194
+ } | undefined;
1195
+ } | undefined;
1196
+ logging?: {
1197
+ sink?: {
1198
+ BaseLog: {
1199
+ writer?: unknown;
1200
+ encoder?: unknown;
1201
+ core?: unknown;
1202
+ level?: string | undefined;
1203
+ sampling?: {
1204
+ interval?: string | number | undefined;
1205
+ first?: number | undefined;
1206
+ thereafter?: number | undefined;
1207
+ } | undefined;
1208
+ with_caller?: boolean | undefined;
1209
+ with_caller_skip?: number | undefined;
1210
+ with_stacktrace?: string | undefined;
1211
+ };
1212
+ } | undefined;
1213
+ logs?: Record<string, {
1214
+ BaseLog: {
1215
+ writer?: unknown;
1216
+ encoder?: unknown;
1217
+ core?: unknown;
1218
+ level?: string | undefined;
1219
+ sampling?: {
1220
+ interval?: string | number | undefined;
1221
+ first?: number | undefined;
1222
+ thereafter?: number | undefined;
1223
+ } | undefined;
1224
+ with_caller?: boolean | undefined;
1225
+ with_caller_skip?: number | undefined;
1226
+ with_stacktrace?: string | undefined;
1227
+ };
1228
+ include?: string[] | undefined;
1229
+ exclude?: string[] | undefined;
1230
+ } | undefined> | undefined;
1231
+ } | undefined;
1232
+ storage?: unknown;
1233
+ apps?: Record<string, unknown> | undefined;
1234
+ }, {
1235
+ admin?: {
1236
+ listen?: string | undefined;
1237
+ disabled?: boolean | undefined;
1238
+ enforce_origin?: boolean | undefined;
1239
+ origins?: string[] | undefined;
1240
+ config?: {
1241
+ persist?: boolean | undefined;
1242
+ load?: unknown;
1243
+ load_delay?: string | number | undefined;
1244
+ } | undefined;
1245
+ identity?: {
1246
+ identifiers?: string[] | undefined;
1247
+ issuers?: unknown[] | undefined;
1248
+ } | undefined;
1249
+ remote?: {
1250
+ listen?: string | undefined;
1251
+ access_control?: ({
1252
+ public_keys?: string[] | undefined;
1253
+ permissions?: {
1254
+ paths?: string[] | undefined;
1255
+ methods?: string[] | undefined;
1256
+ }[] | undefined;
1257
+ } | undefined)[] | undefined;
1258
+ } | undefined;
1259
+ } | undefined;
1260
+ logging?: {
1261
+ sink?: {
1262
+ BaseLog: {
1263
+ writer?: unknown;
1264
+ encoder?: unknown;
1265
+ core?: unknown;
1266
+ level?: string | undefined;
1267
+ sampling?: {
1268
+ interval?: string | number | undefined;
1269
+ first?: number | undefined;
1270
+ thereafter?: number | undefined;
1271
+ } | undefined;
1272
+ with_caller?: boolean | undefined;
1273
+ with_caller_skip?: number | undefined;
1274
+ with_stacktrace?: string | undefined;
1275
+ };
1276
+ } | undefined;
1277
+ logs?: Record<string, {
1278
+ BaseLog: {
1279
+ writer?: unknown;
1280
+ encoder?: unknown;
1281
+ core?: unknown;
1282
+ level?: string | undefined;
1283
+ sampling?: {
1284
+ interval?: string | number | undefined;
1285
+ first?: number | undefined;
1286
+ thereafter?: number | undefined;
1287
+ } | undefined;
1288
+ with_caller?: boolean | undefined;
1289
+ with_caller_skip?: number | undefined;
1290
+ with_stacktrace?: string | undefined;
1291
+ };
1292
+ include?: string[] | undefined;
1293
+ exclude?: string[] | undefined;
1294
+ } | undefined> | undefined;
1295
+ } | undefined;
1296
+ storage?: unknown;
1297
+ apps?: Record<string, unknown> | undefined;
1298
+ }>;
1299
+
1300
+ declare const autoHttpsConfigSchema: z.ZodObject<{
1301
+ disable: z.ZodOptional<z.ZodBoolean>;
1302
+ disable_redirects: z.ZodOptional<z.ZodBoolean>;
1303
+ disable_certificates: z.ZodOptional<z.ZodBoolean>;
1304
+ skip: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1305
+ skip_certificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1306
+ ignore_loaded_certificates: z.ZodOptional<z.ZodBoolean>;
1307
+ }, "strip", z.ZodTypeAny, {
1308
+ disable?: boolean | undefined;
1309
+ disable_redirects?: boolean | undefined;
1310
+ disable_certificates?: boolean | undefined;
1311
+ skip?: string[] | undefined;
1312
+ skip_certificates?: string[] | undefined;
1313
+ ignore_loaded_certificates?: boolean | undefined;
1314
+ }, {
1315
+ disable?: boolean | undefined;
1316
+ disable_redirects?: boolean | undefined;
1317
+ disable_certificates?: boolean | undefined;
1318
+ skip?: string[] | undefined;
1319
+ skip_certificates?: string[] | undefined;
1320
+ ignore_loaded_certificates?: boolean | undefined;
1321
+ }>;
1322
+ declare const matchExpressionSchema: z.ZodObject<{
1323
+ expr: z.ZodOptional<z.ZodString>;
1324
+ name: z.ZodOptional<z.ZodString>;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ expr?: string | undefined;
1327
+ name?: string | undefined;
1328
+ }, {
1329
+ expr?: string | undefined;
1330
+ name?: string | undefined;
1331
+ }>;
1332
+ declare const invokeSchema: z.ZodObject<{
1333
+ name: z.ZodOptional<z.ZodString>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ name?: string | undefined;
1336
+ }, {
1337
+ name?: string | undefined;
1338
+ }>;
1339
+ declare const matchRemoteIpSchema: z.ZodObject<{
1340
+ ranges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ ranges?: string[] | undefined;
1343
+ }, {
1344
+ ranges?: string[] | undefined;
1345
+ }>;
1346
+ declare const matchClientIpSchema: z.ZodObject<{
1347
+ ranges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1348
+ }, "strip", z.ZodTypeAny, {
1349
+ ranges?: string[] | undefined;
1350
+ }, {
1351
+ ranges?: string[] | undefined;
1352
+ }>;
1353
+ declare const matchHostSchema: z.ZodArray<z.ZodString, "many">;
1354
+ declare const matchPathSchema: z.ZodArray<z.ZodString, "many">;
1355
+ declare const matchMethodSchema: z.ZodArray<z.ZodString, "many">;
1356
+ declare const matchQuerySchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
1357
+ declare const matchHeaderSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
1358
+ declare const matchHeaderReSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1359
+ name: z.ZodOptional<z.ZodString>;
1360
+ pattern: z.ZodString;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ pattern: string;
1363
+ name?: string | undefined;
1364
+ }, {
1365
+ pattern: string;
1366
+ name?: string | undefined;
1367
+ }>, z.ZodUndefined]>>;
1368
+ declare const matchProtocolSchema: z.ZodString;
1369
+ declare const matchTlsSchema: z.ZodObject<{
1370
+ handshake_complete: z.ZodOptional<z.ZodBoolean>;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ handshake_complete?: boolean | undefined;
1373
+ }, {
1374
+ handshake_complete?: boolean | undefined;
1375
+ }>;
1376
+ declare const matchNotSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1377
+ declare const serverLogConfigSchema: z.ZodObject<{
1378
+ default_logger_name: z.ZodOptional<z.ZodString>;
1379
+ logger_names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1380
+ skip_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1381
+ skip_unmapped_hosts: z.ZodOptional<z.ZodBoolean>;
1382
+ should_log_credentials: z.ZodOptional<z.ZodBoolean>;
1383
+ trace: z.ZodOptional<z.ZodBoolean>;
1384
+ }, "strip", z.ZodTypeAny, {
1385
+ default_logger_name?: string | undefined;
1386
+ logger_names?: Record<string, string[]> | undefined;
1387
+ skip_hosts?: string[] | undefined;
1388
+ skip_unmapped_hosts?: boolean | undefined;
1389
+ should_log_credentials?: boolean | undefined;
1390
+ trace?: boolean | undefined;
1391
+ }, {
1392
+ default_logger_name?: string | undefined;
1393
+ logger_names?: Record<string, string[]> | undefined;
1394
+ skip_hosts?: string[] | undefined;
1395
+ skip_unmapped_hosts?: boolean | undefined;
1396
+ should_log_credentials?: boolean | undefined;
1397
+ trace?: boolean | undefined;
1398
+ }>;
1399
+ declare const staticErrorSchema: z.ZodObject<{
1400
+ error: z.ZodOptional<z.ZodString>;
1401
+ status_code: z.ZodOptional<z.ZodString>;
1402
+ }, "strip", z.ZodTypeAny, {
1403
+ error?: string | undefined;
1404
+ status_code?: string | undefined;
1405
+ }, {
1406
+ error?: string | undefined;
1407
+ status_code?: string | undefined;
1408
+ }>;
1409
+ declare const staticResponseSchema: z.ZodObject<{
1410
+ status_code: z.ZodOptional<z.ZodString>;
1411
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1412
+ body: z.ZodOptional<z.ZodString>;
1413
+ close: z.ZodOptional<z.ZodBoolean>;
1414
+ abort: z.ZodOptional<z.ZodBoolean>;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ status_code?: string | undefined;
1417
+ headers?: Record<string, string[]> | undefined;
1418
+ body?: string | undefined;
1419
+ close?: boolean | undefined;
1420
+ abort?: boolean | undefined;
1421
+ }, {
1422
+ status_code?: string | undefined;
1423
+ headers?: Record<string, string[]> | undefined;
1424
+ body?: string | undefined;
1425
+ close?: boolean | undefined;
1426
+ abort?: boolean | undefined;
1427
+ }>;
1428
+ declare const matchPathReSchema: z.ZodObject<{
1429
+ MatchRegexp: z.ZodObject<{
1430
+ name: z.ZodOptional<z.ZodString>;
1431
+ pattern: z.ZodString;
1432
+ }, "strip", z.ZodTypeAny, {
1433
+ pattern: string;
1434
+ name?: string | undefined;
1435
+ }, {
1436
+ pattern: string;
1437
+ name?: string | undefined;
1438
+ }>;
1439
+ }, "strip", z.ZodTypeAny, {
1440
+ MatchRegexp: {
1441
+ pattern: string;
1442
+ name?: string | undefined;
1443
+ };
1444
+ }, {
1445
+ MatchRegexp: {
1446
+ pattern: string;
1447
+ name?: string | undefined;
1448
+ };
1449
+ }>;
1450
+ declare const routeSchema: z.ZodObject<{
1451
+ group: z.ZodOptional<z.ZodString>;
1452
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1453
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1454
+ terminal: z.ZodOptional<z.ZodBoolean>;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ group?: string | undefined;
1457
+ match?: any[] | undefined;
1458
+ handle?: unknown[] | undefined;
1459
+ terminal?: boolean | undefined;
1460
+ }, {
1461
+ group?: string | undefined;
1462
+ match?: any[] | undefined;
1463
+ handle?: unknown[] | undefined;
1464
+ terminal?: boolean | undefined;
1465
+ }>;
1466
+ declare const routeListSchema: z.ZodArray<z.ZodObject<{
1467
+ group: z.ZodOptional<z.ZodString>;
1468
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1469
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1470
+ terminal: z.ZodOptional<z.ZodBoolean>;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ group?: string | undefined;
1473
+ match?: any[] | undefined;
1474
+ handle?: unknown[] | undefined;
1475
+ terminal?: boolean | undefined;
1476
+ }, {
1477
+ group?: string | undefined;
1478
+ match?: any[] | undefined;
1479
+ handle?: unknown[] | undefined;
1480
+ terminal?: boolean | undefined;
1481
+ }>, "many">;
1482
+ declare const serverSchema: z.ZodObject<{
1483
+ listen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1484
+ listener_wrappers: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1485
+ packet_conn_wrappers: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1486
+ read_timeout: z.ZodOptional<z.ZodAny>;
1487
+ read_header_timeout: z.ZodOptional<z.ZodAny>;
1488
+ write_timeout: z.ZodOptional<z.ZodAny>;
1489
+ idle_timeout: z.ZodOptional<z.ZodAny>;
1490
+ keepalive_interval: z.ZodOptional<z.ZodAny>;
1491
+ keepalive_idle: z.ZodOptional<z.ZodAny>;
1492
+ keepalive_count: z.ZodOptional<z.ZodNumber>;
1493
+ max_header_bytes: z.ZodOptional<z.ZodNumber>;
1494
+ enable_full_duplex: z.ZodOptional<z.ZodBoolean>;
1495
+ routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1496
+ group: z.ZodOptional<z.ZodString>;
1497
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1498
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1499
+ terminal: z.ZodOptional<z.ZodBoolean>;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ group?: string | undefined;
1502
+ match?: any[] | undefined;
1503
+ handle?: unknown[] | undefined;
1504
+ terminal?: boolean | undefined;
1505
+ }, {
1506
+ group?: string | undefined;
1507
+ match?: any[] | undefined;
1508
+ handle?: unknown[] | undefined;
1509
+ terminal?: boolean | undefined;
1510
+ }>, "many">>;
1511
+ errors: z.ZodOptional<z.ZodObject<{
1512
+ routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1513
+ group: z.ZodOptional<z.ZodString>;
1514
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1515
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1516
+ terminal: z.ZodOptional<z.ZodBoolean>;
1517
+ }, "strip", z.ZodTypeAny, {
1518
+ group?: string | undefined;
1519
+ match?: any[] | undefined;
1520
+ handle?: unknown[] | undefined;
1521
+ terminal?: boolean | undefined;
1522
+ }, {
1523
+ group?: string | undefined;
1524
+ match?: any[] | undefined;
1525
+ handle?: unknown[] | undefined;
1526
+ terminal?: boolean | undefined;
1527
+ }>, "many">>;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ routes?: {
1530
+ group?: string | undefined;
1531
+ match?: any[] | undefined;
1532
+ handle?: unknown[] | undefined;
1533
+ terminal?: boolean | undefined;
1534
+ }[] | undefined;
1535
+ }, {
1536
+ routes?: {
1537
+ group?: string | undefined;
1538
+ match?: any[] | undefined;
1539
+ handle?: unknown[] | undefined;
1540
+ terminal?: boolean | undefined;
1541
+ }[] | undefined;
1542
+ }>>;
1543
+ named_routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1544
+ group: z.ZodOptional<z.ZodString>;
1545
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1546
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1547
+ terminal: z.ZodOptional<z.ZodBoolean>;
1548
+ }, "strip", z.ZodTypeAny, {
1549
+ group?: string | undefined;
1550
+ match?: any[] | undefined;
1551
+ handle?: unknown[] | undefined;
1552
+ terminal?: boolean | undefined;
1553
+ }, {
1554
+ group?: string | undefined;
1555
+ match?: any[] | undefined;
1556
+ handle?: unknown[] | undefined;
1557
+ terminal?: boolean | undefined;
1558
+ }>, z.ZodUndefined]>>>;
1559
+ tls_connection_policies: z.ZodOptional<z.ZodAny>;
1560
+ automatic_https: z.ZodOptional<z.ZodObject<{
1561
+ disable: z.ZodOptional<z.ZodBoolean>;
1562
+ disable_redirects: z.ZodOptional<z.ZodBoolean>;
1563
+ disable_certificates: z.ZodOptional<z.ZodBoolean>;
1564
+ skip: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1565
+ skip_certificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1566
+ ignore_loaded_certificates: z.ZodOptional<z.ZodBoolean>;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ disable?: boolean | undefined;
1569
+ disable_redirects?: boolean | undefined;
1570
+ disable_certificates?: boolean | undefined;
1571
+ skip?: string[] | undefined;
1572
+ skip_certificates?: string[] | undefined;
1573
+ ignore_loaded_certificates?: boolean | undefined;
1574
+ }, {
1575
+ disable?: boolean | undefined;
1576
+ disable_redirects?: boolean | undefined;
1577
+ disable_certificates?: boolean | undefined;
1578
+ skip?: string[] | undefined;
1579
+ skip_certificates?: string[] | undefined;
1580
+ ignore_loaded_certificates?: boolean | undefined;
1581
+ }>>;
1582
+ strict_sni_host: z.ZodOptional<z.ZodBoolean>;
1583
+ trusted_proxies: z.ZodOptional<z.ZodUnknown>;
1584
+ client_ip_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1585
+ trusted_proxies_strict: z.ZodOptional<z.ZodNumber>;
1586
+ trusted_proxies_unix: z.ZodOptional<z.ZodBoolean>;
1587
+ logs: z.ZodOptional<z.ZodObject<{
1588
+ default_logger_name: z.ZodOptional<z.ZodString>;
1589
+ logger_names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1590
+ skip_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1591
+ skip_unmapped_hosts: z.ZodOptional<z.ZodBoolean>;
1592
+ should_log_credentials: z.ZodOptional<z.ZodBoolean>;
1593
+ trace: z.ZodOptional<z.ZodBoolean>;
1594
+ }, "strip", z.ZodTypeAny, {
1595
+ default_logger_name?: string | undefined;
1596
+ logger_names?: Record<string, string[]> | undefined;
1597
+ skip_hosts?: string[] | undefined;
1598
+ skip_unmapped_hosts?: boolean | undefined;
1599
+ should_log_credentials?: boolean | undefined;
1600
+ trace?: boolean | undefined;
1601
+ }, {
1602
+ default_logger_name?: string | undefined;
1603
+ logger_names?: Record<string, string[]> | undefined;
1604
+ skip_hosts?: string[] | undefined;
1605
+ skip_unmapped_hosts?: boolean | undefined;
1606
+ should_log_credentials?: boolean | undefined;
1607
+ trace?: boolean | undefined;
1608
+ }>>;
1609
+ protocols: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1610
+ listen_protocols: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
1611
+ allow_0rtt: z.ZodOptional<z.ZodBoolean>;
1612
+ metrics: z.ZodOptional<z.ZodObject<{
1613
+ per_host: z.ZodOptional<z.ZodBoolean>;
1614
+ observe_catchall_hosts: z.ZodOptional<z.ZodBoolean>;
1615
+ otlp: z.ZodOptional<z.ZodBoolean>;
1616
+ }, "strip", z.ZodTypeAny, {
1617
+ per_host?: boolean | undefined;
1618
+ observe_catchall_hosts?: boolean | undefined;
1619
+ otlp?: boolean | undefined;
1620
+ }, {
1621
+ per_host?: boolean | undefined;
1622
+ observe_catchall_hosts?: boolean | undefined;
1623
+ otlp?: boolean | undefined;
1624
+ }>>;
1625
+ }, "strip", z.ZodTypeAny, {
1626
+ errors?: {
1627
+ routes?: {
1628
+ group?: string | undefined;
1629
+ match?: any[] | undefined;
1630
+ handle?: unknown[] | undefined;
1631
+ terminal?: boolean | undefined;
1632
+ }[] | undefined;
1633
+ } | undefined;
1634
+ listen?: string[] | undefined;
1635
+ logs?: {
1636
+ default_logger_name?: string | undefined;
1637
+ logger_names?: Record<string, string[]> | undefined;
1638
+ skip_hosts?: string[] | undefined;
1639
+ skip_unmapped_hosts?: boolean | undefined;
1640
+ should_log_credentials?: boolean | undefined;
1641
+ trace?: boolean | undefined;
1642
+ } | undefined;
1643
+ max_header_bytes?: number | undefined;
1644
+ routes?: {
1645
+ group?: string | undefined;
1646
+ match?: any[] | undefined;
1647
+ handle?: unknown[] | undefined;
1648
+ terminal?: boolean | undefined;
1649
+ }[] | undefined;
1650
+ listener_wrappers?: unknown[] | undefined;
1651
+ packet_conn_wrappers?: unknown[] | undefined;
1652
+ read_timeout?: any;
1653
+ read_header_timeout?: any;
1654
+ write_timeout?: any;
1655
+ idle_timeout?: any;
1656
+ keepalive_interval?: any;
1657
+ keepalive_idle?: any;
1658
+ keepalive_count?: number | undefined;
1659
+ enable_full_duplex?: boolean | undefined;
1660
+ named_routes?: Record<string, {
1661
+ group?: string | undefined;
1662
+ match?: any[] | undefined;
1663
+ handle?: unknown[] | undefined;
1664
+ terminal?: boolean | undefined;
1665
+ } | undefined> | undefined;
1666
+ tls_connection_policies?: any;
1667
+ automatic_https?: {
1668
+ disable?: boolean | undefined;
1669
+ disable_redirects?: boolean | undefined;
1670
+ disable_certificates?: boolean | undefined;
1671
+ skip?: string[] | undefined;
1672
+ skip_certificates?: string[] | undefined;
1673
+ ignore_loaded_certificates?: boolean | undefined;
1674
+ } | undefined;
1675
+ strict_sni_host?: boolean | undefined;
1676
+ trusted_proxies?: unknown;
1677
+ client_ip_headers?: string[] | undefined;
1678
+ trusted_proxies_strict?: number | undefined;
1679
+ trusted_proxies_unix?: boolean | undefined;
1680
+ protocols?: string[] | undefined;
1681
+ listen_protocols?: string[][] | undefined;
1682
+ allow_0rtt?: boolean | undefined;
1683
+ metrics?: {
1684
+ per_host?: boolean | undefined;
1685
+ observe_catchall_hosts?: boolean | undefined;
1686
+ otlp?: boolean | undefined;
1687
+ } | undefined;
1688
+ }, {
1689
+ errors?: {
1690
+ routes?: {
1691
+ group?: string | undefined;
1692
+ match?: any[] | undefined;
1693
+ handle?: unknown[] | undefined;
1694
+ terminal?: boolean | undefined;
1695
+ }[] | undefined;
1696
+ } | undefined;
1697
+ listen?: string[] | undefined;
1698
+ logs?: {
1699
+ default_logger_name?: string | undefined;
1700
+ logger_names?: Record<string, string[]> | undefined;
1701
+ skip_hosts?: string[] | undefined;
1702
+ skip_unmapped_hosts?: boolean | undefined;
1703
+ should_log_credentials?: boolean | undefined;
1704
+ trace?: boolean | undefined;
1705
+ } | undefined;
1706
+ max_header_bytes?: number | undefined;
1707
+ routes?: {
1708
+ group?: string | undefined;
1709
+ match?: any[] | undefined;
1710
+ handle?: unknown[] | undefined;
1711
+ terminal?: boolean | undefined;
1712
+ }[] | undefined;
1713
+ listener_wrappers?: unknown[] | undefined;
1714
+ packet_conn_wrappers?: unknown[] | undefined;
1715
+ read_timeout?: any;
1716
+ read_header_timeout?: any;
1717
+ write_timeout?: any;
1718
+ idle_timeout?: any;
1719
+ keepalive_interval?: any;
1720
+ keepalive_idle?: any;
1721
+ keepalive_count?: number | undefined;
1722
+ enable_full_duplex?: boolean | undefined;
1723
+ named_routes?: Record<string, {
1724
+ group?: string | undefined;
1725
+ match?: any[] | undefined;
1726
+ handle?: unknown[] | undefined;
1727
+ terminal?: boolean | undefined;
1728
+ } | undefined> | undefined;
1729
+ tls_connection_policies?: any;
1730
+ automatic_https?: {
1731
+ disable?: boolean | undefined;
1732
+ disable_redirects?: boolean | undefined;
1733
+ disable_certificates?: boolean | undefined;
1734
+ skip?: string[] | undefined;
1735
+ skip_certificates?: string[] | undefined;
1736
+ ignore_loaded_certificates?: boolean | undefined;
1737
+ } | undefined;
1738
+ strict_sni_host?: boolean | undefined;
1739
+ trusted_proxies?: unknown;
1740
+ client_ip_headers?: string[] | undefined;
1741
+ trusted_proxies_strict?: number | undefined;
1742
+ trusted_proxies_unix?: boolean | undefined;
1743
+ protocols?: string[] | undefined;
1744
+ listen_protocols?: string[][] | undefined;
1745
+ allow_0rtt?: boolean | undefined;
1746
+ metrics?: {
1747
+ per_host?: boolean | undefined;
1748
+ observe_catchall_hosts?: boolean | undefined;
1749
+ otlp?: boolean | undefined;
1750
+ } | undefined;
1751
+ }>;
1752
+ declare const responseHandlerSchema: z.ZodObject<{
1753
+ match: z.ZodOptional<z.ZodObject<{
1754
+ status_code: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1755
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1756
+ }, "strip", z.ZodTypeAny, {
1757
+ status_code?: number[] | undefined;
1758
+ headers?: Record<string, string[]> | undefined;
1759
+ }, {
1760
+ status_code?: number[] | undefined;
1761
+ headers?: Record<string, string[]> | undefined;
1762
+ }>>;
1763
+ status_code: z.ZodOptional<z.ZodString>;
1764
+ routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1765
+ group: z.ZodOptional<z.ZodString>;
1766
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1767
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1768
+ terminal: z.ZodOptional<z.ZodBoolean>;
1769
+ }, "strip", z.ZodTypeAny, {
1770
+ group?: string | undefined;
1771
+ match?: any[] | undefined;
1772
+ handle?: unknown[] | undefined;
1773
+ terminal?: boolean | undefined;
1774
+ }, {
1775
+ group?: string | undefined;
1776
+ match?: any[] | undefined;
1777
+ handle?: unknown[] | undefined;
1778
+ terminal?: boolean | undefined;
1779
+ }>, "many">>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ status_code?: string | undefined;
1782
+ match?: {
1783
+ status_code?: number[] | undefined;
1784
+ headers?: Record<string, string[]> | undefined;
1785
+ } | undefined;
1786
+ routes?: {
1787
+ group?: string | undefined;
1788
+ match?: any[] | undefined;
1789
+ handle?: unknown[] | undefined;
1790
+ terminal?: boolean | undefined;
1791
+ }[] | undefined;
1792
+ }, {
1793
+ status_code?: string | undefined;
1794
+ match?: {
1795
+ status_code?: number[] | undefined;
1796
+ headers?: Record<string, string[]> | undefined;
1797
+ } | undefined;
1798
+ routes?: {
1799
+ group?: string | undefined;
1800
+ match?: any[] | undefined;
1801
+ handle?: unknown[] | undefined;
1802
+ terminal?: boolean | undefined;
1803
+ }[] | undefined;
1804
+ }>;
1805
+ declare const appSchema: z.ZodObject<{
1806
+ http_port: z.ZodOptional<z.ZodNumber>;
1807
+ https_port: z.ZodOptional<z.ZodNumber>;
1808
+ grace_period: z.ZodOptional<z.ZodAny>;
1809
+ shutdown_delay: z.ZodOptional<z.ZodAny>;
1810
+ servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1811
+ listen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1812
+ listener_wrappers: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1813
+ packet_conn_wrappers: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1814
+ read_timeout: z.ZodOptional<z.ZodAny>;
1815
+ read_header_timeout: z.ZodOptional<z.ZodAny>;
1816
+ write_timeout: z.ZodOptional<z.ZodAny>;
1817
+ idle_timeout: z.ZodOptional<z.ZodAny>;
1818
+ keepalive_interval: z.ZodOptional<z.ZodAny>;
1819
+ keepalive_idle: z.ZodOptional<z.ZodAny>;
1820
+ keepalive_count: z.ZodOptional<z.ZodNumber>;
1821
+ max_header_bytes: z.ZodOptional<z.ZodNumber>;
1822
+ enable_full_duplex: z.ZodOptional<z.ZodBoolean>;
1823
+ routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1824
+ group: z.ZodOptional<z.ZodString>;
1825
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1826
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1827
+ terminal: z.ZodOptional<z.ZodBoolean>;
1828
+ }, "strip", z.ZodTypeAny, {
1829
+ group?: string | undefined;
1830
+ match?: any[] | undefined;
1831
+ handle?: unknown[] | undefined;
1832
+ terminal?: boolean | undefined;
1833
+ }, {
1834
+ group?: string | undefined;
1835
+ match?: any[] | undefined;
1836
+ handle?: unknown[] | undefined;
1837
+ terminal?: boolean | undefined;
1838
+ }>, "many">>;
1839
+ errors: z.ZodOptional<z.ZodObject<{
1840
+ routes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1841
+ group: z.ZodOptional<z.ZodString>;
1842
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1843
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1844
+ terminal: z.ZodOptional<z.ZodBoolean>;
1845
+ }, "strip", z.ZodTypeAny, {
1846
+ group?: string | undefined;
1847
+ match?: any[] | undefined;
1848
+ handle?: unknown[] | undefined;
1849
+ terminal?: boolean | undefined;
1850
+ }, {
1851
+ group?: string | undefined;
1852
+ match?: any[] | undefined;
1853
+ handle?: unknown[] | undefined;
1854
+ terminal?: boolean | undefined;
1855
+ }>, "many">>;
1856
+ }, "strip", z.ZodTypeAny, {
1857
+ routes?: {
1858
+ group?: string | undefined;
1859
+ match?: any[] | undefined;
1860
+ handle?: unknown[] | undefined;
1861
+ terminal?: boolean | undefined;
1862
+ }[] | undefined;
1863
+ }, {
1864
+ routes?: {
1865
+ group?: string | undefined;
1866
+ match?: any[] | undefined;
1867
+ handle?: unknown[] | undefined;
1868
+ terminal?: boolean | undefined;
1869
+ }[] | undefined;
1870
+ }>>;
1871
+ named_routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1872
+ group: z.ZodOptional<z.ZodString>;
1873
+ match: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1874
+ handle: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1875
+ terminal: z.ZodOptional<z.ZodBoolean>;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ group?: string | undefined;
1878
+ match?: any[] | undefined;
1879
+ handle?: unknown[] | undefined;
1880
+ terminal?: boolean | undefined;
1881
+ }, {
1882
+ group?: string | undefined;
1883
+ match?: any[] | undefined;
1884
+ handle?: unknown[] | undefined;
1885
+ terminal?: boolean | undefined;
1886
+ }>, z.ZodUndefined]>>>;
1887
+ tls_connection_policies: z.ZodOptional<z.ZodAny>;
1888
+ automatic_https: z.ZodOptional<z.ZodObject<{
1889
+ disable: z.ZodOptional<z.ZodBoolean>;
1890
+ disable_redirects: z.ZodOptional<z.ZodBoolean>;
1891
+ disable_certificates: z.ZodOptional<z.ZodBoolean>;
1892
+ skip: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1893
+ skip_certificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1894
+ ignore_loaded_certificates: z.ZodOptional<z.ZodBoolean>;
1895
+ }, "strip", z.ZodTypeAny, {
1896
+ disable?: boolean | undefined;
1897
+ disable_redirects?: boolean | undefined;
1898
+ disable_certificates?: boolean | undefined;
1899
+ skip?: string[] | undefined;
1900
+ skip_certificates?: string[] | undefined;
1901
+ ignore_loaded_certificates?: boolean | undefined;
1902
+ }, {
1903
+ disable?: boolean | undefined;
1904
+ disable_redirects?: boolean | undefined;
1905
+ disable_certificates?: boolean | undefined;
1906
+ skip?: string[] | undefined;
1907
+ skip_certificates?: string[] | undefined;
1908
+ ignore_loaded_certificates?: boolean | undefined;
1909
+ }>>;
1910
+ strict_sni_host: z.ZodOptional<z.ZodBoolean>;
1911
+ trusted_proxies: z.ZodOptional<z.ZodUnknown>;
1912
+ client_ip_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1913
+ trusted_proxies_strict: z.ZodOptional<z.ZodNumber>;
1914
+ trusted_proxies_unix: z.ZodOptional<z.ZodBoolean>;
1915
+ logs: z.ZodOptional<z.ZodObject<{
1916
+ default_logger_name: z.ZodOptional<z.ZodString>;
1917
+ logger_names: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1918
+ skip_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1919
+ skip_unmapped_hosts: z.ZodOptional<z.ZodBoolean>;
1920
+ should_log_credentials: z.ZodOptional<z.ZodBoolean>;
1921
+ trace: z.ZodOptional<z.ZodBoolean>;
1922
+ }, "strip", z.ZodTypeAny, {
1923
+ default_logger_name?: string | undefined;
1924
+ logger_names?: Record<string, string[]> | undefined;
1925
+ skip_hosts?: string[] | undefined;
1926
+ skip_unmapped_hosts?: boolean | undefined;
1927
+ should_log_credentials?: boolean | undefined;
1928
+ trace?: boolean | undefined;
1929
+ }, {
1930
+ default_logger_name?: string | undefined;
1931
+ logger_names?: Record<string, string[]> | undefined;
1932
+ skip_hosts?: string[] | undefined;
1933
+ skip_unmapped_hosts?: boolean | undefined;
1934
+ should_log_credentials?: boolean | undefined;
1935
+ trace?: boolean | undefined;
1936
+ }>>;
1937
+ protocols: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1938
+ listen_protocols: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
1939
+ allow_0rtt: z.ZodOptional<z.ZodBoolean>;
1940
+ metrics: z.ZodOptional<z.ZodObject<{
1941
+ per_host: z.ZodOptional<z.ZodBoolean>;
1942
+ observe_catchall_hosts: z.ZodOptional<z.ZodBoolean>;
1943
+ otlp: z.ZodOptional<z.ZodBoolean>;
1944
+ }, "strip", z.ZodTypeAny, {
1945
+ per_host?: boolean | undefined;
1946
+ observe_catchall_hosts?: boolean | undefined;
1947
+ otlp?: boolean | undefined;
1948
+ }, {
1949
+ per_host?: boolean | undefined;
1950
+ observe_catchall_hosts?: boolean | undefined;
1951
+ otlp?: boolean | undefined;
1952
+ }>>;
1953
+ }, "strip", z.ZodTypeAny, {
1954
+ errors?: {
1955
+ routes?: {
1956
+ group?: string | undefined;
1957
+ match?: any[] | undefined;
1958
+ handle?: unknown[] | undefined;
1959
+ terminal?: boolean | undefined;
1960
+ }[] | undefined;
1961
+ } | undefined;
1962
+ listen?: string[] | undefined;
1963
+ logs?: {
1964
+ default_logger_name?: string | undefined;
1965
+ logger_names?: Record<string, string[]> | undefined;
1966
+ skip_hosts?: string[] | undefined;
1967
+ skip_unmapped_hosts?: boolean | undefined;
1968
+ should_log_credentials?: boolean | undefined;
1969
+ trace?: boolean | undefined;
1970
+ } | undefined;
1971
+ max_header_bytes?: number | undefined;
1972
+ routes?: {
1973
+ group?: string | undefined;
1974
+ match?: any[] | undefined;
1975
+ handle?: unknown[] | undefined;
1976
+ terminal?: boolean | undefined;
1977
+ }[] | undefined;
1978
+ listener_wrappers?: unknown[] | undefined;
1979
+ packet_conn_wrappers?: unknown[] | undefined;
1980
+ read_timeout?: any;
1981
+ read_header_timeout?: any;
1982
+ write_timeout?: any;
1983
+ idle_timeout?: any;
1984
+ keepalive_interval?: any;
1985
+ keepalive_idle?: any;
1986
+ keepalive_count?: number | undefined;
1987
+ enable_full_duplex?: boolean | undefined;
1988
+ named_routes?: Record<string, {
1989
+ group?: string | undefined;
1990
+ match?: any[] | undefined;
1991
+ handle?: unknown[] | undefined;
1992
+ terminal?: boolean | undefined;
1993
+ } | undefined> | undefined;
1994
+ tls_connection_policies?: any;
1995
+ automatic_https?: {
1996
+ disable?: boolean | undefined;
1997
+ disable_redirects?: boolean | undefined;
1998
+ disable_certificates?: boolean | undefined;
1999
+ skip?: string[] | undefined;
2000
+ skip_certificates?: string[] | undefined;
2001
+ ignore_loaded_certificates?: boolean | undefined;
2002
+ } | undefined;
2003
+ strict_sni_host?: boolean | undefined;
2004
+ trusted_proxies?: unknown;
2005
+ client_ip_headers?: string[] | undefined;
2006
+ trusted_proxies_strict?: number | undefined;
2007
+ trusted_proxies_unix?: boolean | undefined;
2008
+ protocols?: string[] | undefined;
2009
+ listen_protocols?: string[][] | undefined;
2010
+ allow_0rtt?: boolean | undefined;
2011
+ metrics?: {
2012
+ per_host?: boolean | undefined;
2013
+ observe_catchall_hosts?: boolean | undefined;
2014
+ otlp?: boolean | undefined;
2015
+ } | undefined;
2016
+ }, {
2017
+ errors?: {
2018
+ routes?: {
2019
+ group?: string | undefined;
2020
+ match?: any[] | undefined;
2021
+ handle?: unknown[] | undefined;
2022
+ terminal?: boolean | undefined;
2023
+ }[] | undefined;
2024
+ } | undefined;
2025
+ listen?: string[] | undefined;
2026
+ logs?: {
2027
+ default_logger_name?: string | undefined;
2028
+ logger_names?: Record<string, string[]> | undefined;
2029
+ skip_hosts?: string[] | undefined;
2030
+ skip_unmapped_hosts?: boolean | undefined;
2031
+ should_log_credentials?: boolean | undefined;
2032
+ trace?: boolean | undefined;
2033
+ } | undefined;
2034
+ max_header_bytes?: number | undefined;
2035
+ routes?: {
2036
+ group?: string | undefined;
2037
+ match?: any[] | undefined;
2038
+ handle?: unknown[] | undefined;
2039
+ terminal?: boolean | undefined;
2040
+ }[] | undefined;
2041
+ listener_wrappers?: unknown[] | undefined;
2042
+ packet_conn_wrappers?: unknown[] | undefined;
2043
+ read_timeout?: any;
2044
+ read_header_timeout?: any;
2045
+ write_timeout?: any;
2046
+ idle_timeout?: any;
2047
+ keepalive_interval?: any;
2048
+ keepalive_idle?: any;
2049
+ keepalive_count?: number | undefined;
2050
+ enable_full_duplex?: boolean | undefined;
2051
+ named_routes?: Record<string, {
2052
+ group?: string | undefined;
2053
+ match?: any[] | undefined;
2054
+ handle?: unknown[] | undefined;
2055
+ terminal?: boolean | undefined;
2056
+ } | undefined> | undefined;
2057
+ tls_connection_policies?: any;
2058
+ automatic_https?: {
2059
+ disable?: boolean | undefined;
2060
+ disable_redirects?: boolean | undefined;
2061
+ disable_certificates?: boolean | undefined;
2062
+ skip?: string[] | undefined;
2063
+ skip_certificates?: string[] | undefined;
2064
+ ignore_loaded_certificates?: boolean | undefined;
2065
+ } | undefined;
2066
+ strict_sni_host?: boolean | undefined;
2067
+ trusted_proxies?: unknown;
2068
+ client_ip_headers?: string[] | undefined;
2069
+ trusted_proxies_strict?: number | undefined;
2070
+ trusted_proxies_unix?: boolean | undefined;
2071
+ protocols?: string[] | undefined;
2072
+ listen_protocols?: string[][] | undefined;
2073
+ allow_0rtt?: boolean | undefined;
2074
+ metrics?: {
2075
+ per_host?: boolean | undefined;
2076
+ observe_catchall_hosts?: boolean | undefined;
2077
+ otlp?: boolean | undefined;
2078
+ } | undefined;
2079
+ }>, z.ZodUndefined]>>>;
2080
+ metrics: z.ZodOptional<z.ZodObject<{
2081
+ per_host: z.ZodOptional<z.ZodBoolean>;
2082
+ observe_catchall_hosts: z.ZodOptional<z.ZodBoolean>;
2083
+ otlp: z.ZodOptional<z.ZodBoolean>;
2084
+ }, "strip", z.ZodTypeAny, {
2085
+ per_host?: boolean | undefined;
2086
+ observe_catchall_hosts?: boolean | undefined;
2087
+ otlp?: boolean | undefined;
2088
+ }, {
2089
+ per_host?: boolean | undefined;
2090
+ observe_catchall_hosts?: boolean | undefined;
2091
+ otlp?: boolean | undefined;
2092
+ }>>;
2093
+ }, "strip", z.ZodTypeAny, {
2094
+ metrics?: {
2095
+ per_host?: boolean | undefined;
2096
+ observe_catchall_hosts?: boolean | undefined;
2097
+ otlp?: boolean | undefined;
2098
+ } | undefined;
2099
+ http_port?: number | undefined;
2100
+ https_port?: number | undefined;
2101
+ grace_period?: any;
2102
+ shutdown_delay?: any;
2103
+ servers?: Record<string, {
2104
+ errors?: {
2105
+ routes?: {
2106
+ group?: string | undefined;
2107
+ match?: any[] | undefined;
2108
+ handle?: unknown[] | undefined;
2109
+ terminal?: boolean | undefined;
2110
+ }[] | undefined;
2111
+ } | undefined;
2112
+ listen?: string[] | undefined;
2113
+ logs?: {
2114
+ default_logger_name?: string | undefined;
2115
+ logger_names?: Record<string, string[]> | undefined;
2116
+ skip_hosts?: string[] | undefined;
2117
+ skip_unmapped_hosts?: boolean | undefined;
2118
+ should_log_credentials?: boolean | undefined;
2119
+ trace?: boolean | undefined;
2120
+ } | undefined;
2121
+ max_header_bytes?: number | undefined;
2122
+ routes?: {
2123
+ group?: string | undefined;
2124
+ match?: any[] | undefined;
2125
+ handle?: unknown[] | undefined;
2126
+ terminal?: boolean | undefined;
2127
+ }[] | undefined;
2128
+ listener_wrappers?: unknown[] | undefined;
2129
+ packet_conn_wrappers?: unknown[] | undefined;
2130
+ read_timeout?: any;
2131
+ read_header_timeout?: any;
2132
+ write_timeout?: any;
2133
+ idle_timeout?: any;
2134
+ keepalive_interval?: any;
2135
+ keepalive_idle?: any;
2136
+ keepalive_count?: number | undefined;
2137
+ enable_full_duplex?: boolean | undefined;
2138
+ named_routes?: Record<string, {
2139
+ group?: string | undefined;
2140
+ match?: any[] | undefined;
2141
+ handle?: unknown[] | undefined;
2142
+ terminal?: boolean | undefined;
2143
+ } | undefined> | undefined;
2144
+ tls_connection_policies?: any;
2145
+ automatic_https?: {
2146
+ disable?: boolean | undefined;
2147
+ disable_redirects?: boolean | undefined;
2148
+ disable_certificates?: boolean | undefined;
2149
+ skip?: string[] | undefined;
2150
+ skip_certificates?: string[] | undefined;
2151
+ ignore_loaded_certificates?: boolean | undefined;
2152
+ } | undefined;
2153
+ strict_sni_host?: boolean | undefined;
2154
+ trusted_proxies?: unknown;
2155
+ client_ip_headers?: string[] | undefined;
2156
+ trusted_proxies_strict?: number | undefined;
2157
+ trusted_proxies_unix?: boolean | undefined;
2158
+ protocols?: string[] | undefined;
2159
+ listen_protocols?: string[][] | undefined;
2160
+ allow_0rtt?: boolean | undefined;
2161
+ metrics?: {
2162
+ per_host?: boolean | undefined;
2163
+ observe_catchall_hosts?: boolean | undefined;
2164
+ otlp?: boolean | undefined;
2165
+ } | undefined;
2166
+ } | undefined> | undefined;
2167
+ }, {
2168
+ metrics?: {
2169
+ per_host?: boolean | undefined;
2170
+ observe_catchall_hosts?: boolean | undefined;
2171
+ otlp?: boolean | undefined;
2172
+ } | undefined;
2173
+ http_port?: number | undefined;
2174
+ https_port?: number | undefined;
2175
+ grace_period?: any;
2176
+ shutdown_delay?: any;
2177
+ servers?: Record<string, {
2178
+ errors?: {
2179
+ routes?: {
2180
+ group?: string | undefined;
2181
+ match?: any[] | undefined;
2182
+ handle?: unknown[] | undefined;
2183
+ terminal?: boolean | undefined;
2184
+ }[] | undefined;
2185
+ } | undefined;
2186
+ listen?: string[] | undefined;
2187
+ logs?: {
2188
+ default_logger_name?: string | undefined;
2189
+ logger_names?: Record<string, string[]> | undefined;
2190
+ skip_hosts?: string[] | undefined;
2191
+ skip_unmapped_hosts?: boolean | undefined;
2192
+ should_log_credentials?: boolean | undefined;
2193
+ trace?: boolean | undefined;
2194
+ } | undefined;
2195
+ max_header_bytes?: number | undefined;
2196
+ routes?: {
2197
+ group?: string | undefined;
2198
+ match?: any[] | undefined;
2199
+ handle?: unknown[] | undefined;
2200
+ terminal?: boolean | undefined;
2201
+ }[] | undefined;
2202
+ listener_wrappers?: unknown[] | undefined;
2203
+ packet_conn_wrappers?: unknown[] | undefined;
2204
+ read_timeout?: any;
2205
+ read_header_timeout?: any;
2206
+ write_timeout?: any;
2207
+ idle_timeout?: any;
2208
+ keepalive_interval?: any;
2209
+ keepalive_idle?: any;
2210
+ keepalive_count?: number | undefined;
2211
+ enable_full_duplex?: boolean | undefined;
2212
+ named_routes?: Record<string, {
2213
+ group?: string | undefined;
2214
+ match?: any[] | undefined;
2215
+ handle?: unknown[] | undefined;
2216
+ terminal?: boolean | undefined;
2217
+ } | undefined> | undefined;
2218
+ tls_connection_policies?: any;
2219
+ automatic_https?: {
2220
+ disable?: boolean | undefined;
2221
+ disable_redirects?: boolean | undefined;
2222
+ disable_certificates?: boolean | undefined;
2223
+ skip?: string[] | undefined;
2224
+ skip_certificates?: string[] | undefined;
2225
+ ignore_loaded_certificates?: boolean | undefined;
2226
+ } | undefined;
2227
+ strict_sni_host?: boolean | undefined;
2228
+ trusted_proxies?: unknown;
2229
+ client_ip_headers?: string[] | undefined;
2230
+ trusted_proxies_strict?: number | undefined;
2231
+ trusted_proxies_unix?: boolean | undefined;
2232
+ protocols?: string[] | undefined;
2233
+ listen_protocols?: string[][] | undefined;
2234
+ allow_0rtt?: boolean | undefined;
2235
+ metrics?: {
2236
+ per_host?: boolean | undefined;
2237
+ observe_catchall_hosts?: boolean | undefined;
2238
+ otlp?: boolean | undefined;
2239
+ } | undefined;
2240
+ } | undefined> | undefined;
2241
+ }>;
2242
+
2243
+ export { remoteAdminSchema as $, identityConfigSchema as A, invokeSchema as B, listenerFuncSchema as C, listenerWrapperSchema as D, logSamplingSchema as E, loggingSchema as F, matchClientIpSchema as G, matchExpressionSchema as H, matchHeaderReSchema as I, matchHeaderSchema as J, matchHostSchema as K, matchMethodSchema as L, matchNotSchema as M, matchPathReSchema as N, matchPathSchema as O, matchProtocolSchema as P, matchQuerySchema as Q, matchRemoteIpSchema as R, matchTlsSchema as S, moduleIdSchema as T, moduleInfoSchema as U, moduleMapSchema as V, moduleSchema as W, networkAddressSchema as X, packetConnWrapperSchema as Y, provisionerSchema as Z, proxyFuncProducerSchema as _, adminAccessSchema as a, replacementFuncSchema as a0, replacerFuncSchema as a1, replacerSchema as a2, responseHandlerSchema as a3, routeListSchema as a4, routeSchema as a5, serverLogConfigSchema as a6, serverSchema as a7, sinkLogSchema as a8, staticErrorSchema as a9, staticResponseSchema as aa, stderrWriterSchema as ab, stdoutWriterSchema as ac, storageConverterSchema as ad, usagePoolSchema as ae, validatorSchema as af, writerOpenerSchema as ag, adminConfigSchema as b, adminHandlerFuncSchema as c, adminHandlerSchema as d, adminPermissionsSchema as e, adminRouteSchema as f, adminRouterSchema as g, apiErrorSchema as h, appSchema$1 as i, appSchema as j, autoHttpsConfigSchema as k, baseLogSchema as l, cleanerUpperSchema as m, cloudEventSchema as n, configLoaderSchema as o, configSchema as p, configSettingsSchema as q, configuresFormatterDefaultSchema as r, constructorSchema as s, contextSchema as t, ctxKeySchema as u, customLogSchema as v, destructorSchema as w, discardWriterSchema as x, durationSchema as y, fileSystemsSchema as z };