@zeltjs/cli 0.0.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,1692 @@
1
+ import { ResultAsync } from "neverthrow";
2
+
3
+ //#region ../../node_modules/.pnpm/valibot@1.3.1_typescript@6.0.2/node_modules/valibot/dist/index.d.mts
4
+ //#endregion
5
+ //#region src/methods/fallback/fallback.d.ts
6
+ /**
7
+ * Fallback type.
8
+ */
9
+ type Fallback<TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>> = MaybeDeepReadonly<InferOutput<TSchema>> | ((dataset?: OutputDataset<InferOutput<TSchema>, InferIssue<TSchema>>, config?: Config<InferIssue<TSchema>>) => MaybeDeepReadonly<InferOutput<TSchema>>);
10
+ /**
11
+ * Schema with fallback type.
12
+ */
13
+ type SchemaWithFallback<TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, TFallback$1 extends Fallback<TSchema>> = TSchema & {
14
+ /**
15
+ * The fallback value.
16
+ */
17
+ readonly fallback: TFallback$1;
18
+ };
19
+ /**
20
+ * Returns a fallback value as output if the input does not match the schema.
21
+ *
22
+ * @param schema The schema to catch.
23
+ * @param fallback The fallback value.
24
+ *
25
+ * @returns The passed schema.
26
+ */
27
+ //#endregion
28
+ //#region src/methods/fallback/fallbackAsync.d.ts
29
+ /**
30
+ * Fallback async type.
31
+ */
32
+ type FallbackAsync<TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>> = MaybeDeepReadonly<InferOutput<TSchema>> | ((dataset?: OutputDataset<InferOutput<TSchema>, InferIssue<TSchema>>, config?: Config<InferIssue<TSchema>>) => MaybePromise<MaybeDeepReadonly<InferOutput<TSchema>>>);
33
+ /**
34
+ * Schema with fallback async type.
35
+ */
36
+ type SchemaWithFallbackAsync<TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, TFallback$1 extends FallbackAsync<TSchema>> = Omit<TSchema, "async" | "~standard" | "~run"> & {
37
+ /**
38
+ * The fallback value.
39
+ */
40
+ readonly fallback: TFallback$1;
41
+ /**
42
+ * Whether it's async.
43
+ */
44
+ readonly async: true;
45
+ /**
46
+ * The Standard Schema properties.
47
+ *
48
+ * @internal
49
+ */
50
+ readonly "~standard": StandardProps<InferInput<TSchema>, InferOutput<TSchema>>;
51
+ /**
52
+ * Parses unknown input values.
53
+ *
54
+ * @param dataset The input dataset.
55
+ * @param config The configuration.
56
+ *
57
+ * @returns The output dataset.
58
+ *
59
+ * @internal
60
+ */
61
+ readonly "~run": (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<InferOutput<TSchema>, InferIssue<TSchema>>>;
62
+ };
63
+ /**
64
+ * Returns a fallback value as output if the input does not match the schema.
65
+ *
66
+ * @param schema The schema to catch.
67
+ * @param fallback The fallback value.
68
+ *
69
+ * @returns The passed schema.
70
+ */
71
+ //#endregion
72
+ //#region src/methods/pipe/pipe.d.ts
73
+ /**
74
+ * Schema with pipe type.
75
+ */
76
+ type SchemaWithPipe<TPipe$1 extends readonly [BaseSchema<unknown, unknown, BaseIssue<unknown>>, ...PipeItem<any, unknown, BaseIssue<unknown>>[]]> = Omit<FirstTupleItem<TPipe$1>, "pipe" | "~standard" | "~run" | "~types"> & {
77
+ /**
78
+ * The pipe items.
79
+ */
80
+ readonly pipe: TPipe$1;
81
+ /**
82
+ * The Standard Schema properties.
83
+ *
84
+ * @internal
85
+ */
86
+ readonly "~standard": StandardProps<InferInput<FirstTupleItem<TPipe$1>>, InferOutput<LastTupleItem<TPipe$1>>>;
87
+ /**
88
+ * Parses unknown input values.
89
+ *
90
+ * @param dataset The input dataset.
91
+ * @param config The configuration.
92
+ *
93
+ * @returns The output dataset.
94
+ *
95
+ * @internal
96
+ */
97
+ readonly "~run": (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => OutputDataset<InferOutput<LastTupleItem<TPipe$1>>, InferIssue<TPipe$1[number]>>;
98
+ /**
99
+ * The input, output and issue type.
100
+ *
101
+ * @internal
102
+ */
103
+ readonly "~types"?: {
104
+ readonly input: InferInput<FirstTupleItem<TPipe$1>>;
105
+ readonly output: InferOutput<LastTupleItem<TPipe$1>>;
106
+ readonly issue: InferIssue<TPipe$1[number]>;
107
+ } | undefined;
108
+ };
109
+ /**
110
+ * Adds a pipeline to a schema, that can validate and transform its input.
111
+ *
112
+ * @param schema The root schema.
113
+ * @param item1 The first pipe item.
114
+ *
115
+ * @returns A schema with a pipeline.
116
+ */
117
+ //#endregion
118
+ //#region src/methods/pipe/pipeAsync.d.ts
119
+ /**
120
+ * Schema with pipe async type.
121
+ */
122
+ type SchemaWithPipeAsync<TPipe$1 extends readonly [(BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>), ...(PipeItem<any, unknown, BaseIssue<unknown>> | PipeItemAsync<any, unknown, BaseIssue<unknown>>)[]]> = Omit<FirstTupleItem<TPipe$1>, "async" | "pipe" | "~standard" | "~run" | "~types"> & {
123
+ /**
124
+ * The pipe items.
125
+ */
126
+ readonly pipe: TPipe$1;
127
+ /**
128
+ * Whether it's async.
129
+ */
130
+ readonly async: true;
131
+ /**
132
+ * The Standard Schema properties.
133
+ *
134
+ * @internal
135
+ */
136
+ readonly "~standard": StandardProps<InferInput<FirstTupleItem<TPipe$1>>, InferOutput<LastTupleItem<TPipe$1>>>;
137
+ /**
138
+ * Parses unknown input values.
139
+ *
140
+ * @param dataset The input dataset.
141
+ * @param config The configuration.
142
+ *
143
+ * @returns The output dataset.
144
+ *
145
+ * @internal
146
+ */
147
+ readonly "~run": (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<InferOutput<LastTupleItem<TPipe$1>>, InferIssue<TPipe$1[number]>>>;
148
+ /**
149
+ * The input, output and issue type.
150
+ *
151
+ * @internal
152
+ */
153
+ readonly "~types"?: {
154
+ readonly input: InferInput<FirstTupleItem<TPipe$1>>;
155
+ readonly output: InferOutput<LastTupleItem<TPipe$1>>;
156
+ readonly issue: InferIssue<TPipe$1[number]>;
157
+ } | undefined;
158
+ };
159
+ /**
160
+ * Adds a pipeline to a schema, that can validate and transform its input.
161
+ *
162
+ * @param schema The root schema.
163
+ * @param item1 The first pipe item.
164
+ *
165
+ * @returns A schema with a pipeline.
166
+ */
167
+ //#endregion
168
+ //#region src/types/metadata.d.ts
169
+ /**
170
+ * Base metadata interface.
171
+ */
172
+ interface BaseMetadata<TInput$1> {
173
+ /**
174
+ * The object kind.
175
+ */
176
+ readonly kind: "metadata";
177
+ /**
178
+ * The metadata type.
179
+ */
180
+ readonly type: string;
181
+ /**
182
+ * The metadata reference.
183
+ */
184
+ readonly reference: (...args: any[]) => BaseMetadata<any>;
185
+ /**
186
+ * The input, output and issue type.
187
+ *
188
+ * @internal
189
+ */
190
+ readonly "~types"?: {
191
+ readonly input: TInput$1;
192
+ readonly output: TInput$1;
193
+ readonly issue: never;
194
+ } | undefined;
195
+ }
196
+ /**
197
+ * Generic metadata type.
198
+ */
199
+ //#endregion
200
+ //#region src/types/dataset.d.ts
201
+ /**
202
+ * Unknown dataset interface.
203
+ */
204
+ interface UnknownDataset {
205
+ /**
206
+ * Whether is's typed.
207
+ */
208
+ typed?: false;
209
+ /**
210
+ * The dataset value.
211
+ */
212
+ value: unknown;
213
+ /**
214
+ * The dataset issues.
215
+ */
216
+ issues?: undefined;
217
+ }
218
+ /**
219
+ * Success dataset interface.
220
+ */
221
+ interface SuccessDataset<TValue$1> {
222
+ /**
223
+ * Whether is's typed.
224
+ */
225
+ typed: true;
226
+ /**
227
+ * The dataset value.
228
+ */
229
+ value: TValue$1;
230
+ /**
231
+ * The dataset issues.
232
+ */
233
+ issues?: undefined;
234
+ }
235
+ /**
236
+ * Partial dataset interface.
237
+ */
238
+ interface PartialDataset<TValue$1, TIssue extends BaseIssue<unknown>> {
239
+ /**
240
+ * Whether is's typed.
241
+ */
242
+ typed: true;
243
+ /**
244
+ * The dataset value.
245
+ */
246
+ value: TValue$1;
247
+ /**
248
+ * The dataset issues.
249
+ */
250
+ issues: [TIssue, ...TIssue[]];
251
+ }
252
+ /**
253
+ * Failure dataset interface.
254
+ */
255
+ interface FailureDataset<TIssue extends BaseIssue<unknown>> {
256
+ /**
257
+ * Whether is's typed.
258
+ */
259
+ typed: false;
260
+ /**
261
+ * The dataset value.
262
+ */
263
+ value: unknown;
264
+ /**
265
+ * The dataset issues.
266
+ */
267
+ issues: [TIssue, ...TIssue[]];
268
+ }
269
+ /**
270
+ * Output dataset type.
271
+ */
272
+ type OutputDataset<TValue$1, TIssue extends BaseIssue<unknown>> = SuccessDataset<TValue$1> | PartialDataset<TValue$1, TIssue> | FailureDataset<TIssue>; //#endregion
273
+ //#region src/types/standard.d.ts
274
+ /**
275
+ * The Standard Schema properties interface.
276
+ */
277
+ interface StandardProps<TInput$1, TOutput$1> {
278
+ /**
279
+ * The version number of the standard.
280
+ */
281
+ readonly version: 1;
282
+ /**
283
+ * The vendor name of the schema library.
284
+ */
285
+ readonly vendor: "valibot";
286
+ /**
287
+ * Validates unknown input values.
288
+ */
289
+ readonly validate: (value: unknown) => StandardResult<TOutput$1> | Promise<StandardResult<TOutput$1>>;
290
+ /**
291
+ * Inferred types associated with the schema.
292
+ */
293
+ readonly types?: StandardTypes<TInput$1, TOutput$1> | undefined;
294
+ }
295
+ /**
296
+ * The result interface of the validate function.
297
+ */
298
+ type StandardResult<TOutput$1> = StandardSuccessResult<TOutput$1> | StandardFailureResult;
299
+ /**
300
+ * The result interface if validation succeeds.
301
+ */
302
+ interface StandardSuccessResult<TOutput$1> {
303
+ /**
304
+ * The typed output value.
305
+ */
306
+ readonly value: TOutput$1;
307
+ /**
308
+ * The non-existent issues.
309
+ */
310
+ readonly issues?: undefined;
311
+ }
312
+ /**
313
+ * The result interface if validation fails.
314
+ */
315
+ interface StandardFailureResult {
316
+ /**
317
+ * The issues of failed validation.
318
+ */
319
+ readonly issues: readonly StandardIssue[];
320
+ }
321
+ /**
322
+ * The issue interface of the failure output.
323
+ */
324
+ interface StandardIssue {
325
+ /**
326
+ * The error message of the issue.
327
+ */
328
+ readonly message: string;
329
+ /**
330
+ * The path of the issue, if any.
331
+ */
332
+ readonly path?: readonly (PropertyKey | StandardPathItem)[] | undefined;
333
+ }
334
+ /**
335
+ * The path item interface of the issue.
336
+ */
337
+ interface StandardPathItem {
338
+ /**
339
+ * The key of the path item.
340
+ */
341
+ readonly key: PropertyKey;
342
+ }
343
+ /**
344
+ * The Standard Schema types interface.
345
+ */
346
+ interface StandardTypes<TInput$1, TOutput$1> {
347
+ /**
348
+ * The input type of the schema.
349
+ */
350
+ readonly input: TInput$1;
351
+ /**
352
+ * The output type of the schema.
353
+ */
354
+ readonly output: TOutput$1;
355
+ } //#endregion
356
+ //#region src/types/schema.d.ts
357
+ /**
358
+ * Base schema interface.
359
+ */
360
+ interface BaseSchema<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> {
361
+ /**
362
+ * The object kind.
363
+ */
364
+ readonly kind: "schema";
365
+ /**
366
+ * The schema type.
367
+ */
368
+ readonly type: string;
369
+ /**
370
+ * The schema reference.
371
+ */
372
+ readonly reference: (...args: any[]) => BaseSchema<unknown, unknown, BaseIssue<unknown>>;
373
+ /**
374
+ * The expected property.
375
+ */
376
+ readonly expects: string;
377
+ /**
378
+ * Whether it's async.
379
+ */
380
+ readonly async: false;
381
+ /**
382
+ * The Standard Schema properties.
383
+ *
384
+ * @internal
385
+ */
386
+ readonly "~standard": StandardProps<TInput$1, TOutput$1>;
387
+ /**
388
+ * Parses unknown input values.
389
+ *
390
+ * @param dataset The input dataset.
391
+ * @param config The configuration.
392
+ *
393
+ * @returns The output dataset.
394
+ *
395
+ * @internal
396
+ */
397
+ readonly "~run": (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => OutputDataset<TOutput$1, TIssue>;
398
+ /**
399
+ * The input, output and issue type.
400
+ *
401
+ * @internal
402
+ */
403
+ readonly "~types"?: {
404
+ readonly input: TInput$1;
405
+ readonly output: TOutput$1;
406
+ readonly issue: TIssue;
407
+ } | undefined;
408
+ }
409
+ /**
410
+ * Base schema async interface.
411
+ */
412
+ interface BaseSchemaAsync<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> extends Omit<BaseSchema<TInput$1, TOutput$1, TIssue>, "reference" | "async" | "~run"> {
413
+ /**
414
+ * The schema reference.
415
+ */
416
+ readonly reference: (...args: any[]) => BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>;
417
+ /**
418
+ * Whether it's async.
419
+ */
420
+ readonly async: true;
421
+ /**
422
+ * Parses unknown input values.
423
+ *
424
+ * @param dataset The input dataset.
425
+ * @param config The configuration.
426
+ *
427
+ * @returns The output dataset.
428
+ *
429
+ * @internal
430
+ */
431
+ readonly "~run": (dataset: UnknownDataset, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<TOutput$1, TIssue>>;
432
+ }
433
+ /**
434
+ * Generic schema type.
435
+ */
436
+ //#endregion
437
+ //#region src/types/transformation.d.ts
438
+ /**
439
+ * Base transformation interface.
440
+ */
441
+ interface BaseTransformation<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> {
442
+ /**
443
+ * The object kind.
444
+ */
445
+ readonly kind: "transformation";
446
+ /**
447
+ * The transformation type.
448
+ */
449
+ readonly type: string;
450
+ /**
451
+ * The transformation reference.
452
+ */
453
+ readonly reference: (...args: any[]) => BaseTransformation<any, any, BaseIssue<unknown>>;
454
+ /**
455
+ * Whether it's async.
456
+ */
457
+ readonly async: false;
458
+ /**
459
+ * Transforms known input values.
460
+ *
461
+ * @param dataset The input dataset.
462
+ * @param config The configuration.
463
+ *
464
+ * @returns The output dataset.
465
+ *
466
+ * @internal
467
+ */
468
+ readonly "~run": (dataset: SuccessDataset<TInput$1>, config: Config<BaseIssue<unknown>>) => OutputDataset<TOutput$1, BaseIssue<unknown> | TIssue>;
469
+ /**
470
+ * The input, output and issue type.
471
+ *
472
+ * @internal
473
+ */
474
+ readonly "~types"?: {
475
+ readonly input: TInput$1;
476
+ readonly output: TOutput$1;
477
+ readonly issue: TIssue;
478
+ } | undefined;
479
+ }
480
+ /**
481
+ * Base transformation async interface.
482
+ */
483
+ interface BaseTransformationAsync<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> extends Omit<BaseTransformation<TInput$1, TOutput$1, TIssue>, "reference" | "async" | "~run"> {
484
+ /**
485
+ * The transformation reference.
486
+ */
487
+ readonly reference: (...args: any[]) => BaseTransformation<any, any, BaseIssue<unknown>> | BaseTransformationAsync<any, any, BaseIssue<unknown>>;
488
+ /**
489
+ * Whether it's async.
490
+ */
491
+ readonly async: true;
492
+ /**
493
+ * Transforms known input values.
494
+ *
495
+ * @param dataset The input dataset.
496
+ * @param config The configuration.
497
+ *
498
+ * @returns The output dataset.
499
+ *
500
+ * @internal
501
+ */
502
+ readonly "~run": (dataset: SuccessDataset<TInput$1>, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<TOutput$1, BaseIssue<unknown> | TIssue>>;
503
+ }
504
+ /**
505
+ * Generic transformation type.
506
+ */
507
+ //#endregion
508
+ //#region src/types/validation.d.ts
509
+ /**
510
+ * Base validation interface.
511
+ */
512
+ interface BaseValidation<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> {
513
+ /**
514
+ * The object kind.
515
+ */
516
+ readonly kind: "validation";
517
+ /**
518
+ * The validation type.
519
+ */
520
+ readonly type: string;
521
+ /**
522
+ * The validation reference.
523
+ */
524
+ readonly reference: (...args: any[]) => BaseValidation<any, any, BaseIssue<unknown>>;
525
+ /**
526
+ * The expected property.
527
+ */
528
+ readonly expects: string | null;
529
+ /**
530
+ * Whether it's async.
531
+ */
532
+ readonly async: false;
533
+ /**
534
+ * Validates known input values.
535
+ *
536
+ * @param dataset The input dataset.
537
+ * @param config The configuration.
538
+ *
539
+ * @returns The output dataset.
540
+ *
541
+ * @internal
542
+ */
543
+ readonly "~run": (dataset: OutputDataset<TInput$1, BaseIssue<unknown>>, config: Config<BaseIssue<unknown>>) => OutputDataset<TOutput$1, BaseIssue<unknown> | TIssue>;
544
+ /**
545
+ * The input, output and issue type.
546
+ *
547
+ * @internal
548
+ */
549
+ readonly "~types"?: {
550
+ readonly input: TInput$1;
551
+ readonly output: TOutput$1;
552
+ readonly issue: TIssue;
553
+ } | undefined;
554
+ }
555
+ /**
556
+ * Base validation async interface.
557
+ */
558
+ interface BaseValidationAsync<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> extends Omit<BaseValidation<TInput$1, TOutput$1, TIssue>, "reference" | "async" | "~run"> {
559
+ /**
560
+ * The validation reference.
561
+ */
562
+ readonly reference: (...args: any[]) => BaseValidation<any, any, BaseIssue<unknown>> | BaseValidationAsync<any, any, BaseIssue<unknown>>;
563
+ /**
564
+ * Whether it's async.
565
+ */
566
+ readonly async: true;
567
+ /**
568
+ * Validates known input values.
569
+ *
570
+ * @param dataset The input dataset.
571
+ * @param config The configuration.
572
+ *
573
+ * @returns The output dataset.
574
+ *
575
+ * @internal
576
+ */
577
+ readonly "~run": (dataset: OutputDataset<TInput$1, BaseIssue<unknown>>, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<TOutput$1, BaseIssue<unknown> | TIssue>>;
578
+ }
579
+ /**
580
+ * Generic validation type.
581
+ */
582
+ //#endregion
583
+ //#region src/types/infer.d.ts
584
+ /**
585
+ * Infer input type.
586
+ */
587
+ type InferInput<TItem$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>> | BaseValidation<any, unknown, BaseIssue<unknown>> | BaseValidationAsync<any, unknown, BaseIssue<unknown>> | BaseTransformation<any, unknown, BaseIssue<unknown>> | BaseTransformationAsync<any, unknown, BaseIssue<unknown>> | BaseMetadata<any>> = NonNullable<TItem$1["~types"]>["input"];
588
+ /**
589
+ * Infer output type.
590
+ */
591
+ type InferOutput<TItem$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>> | BaseValidation<any, unknown, BaseIssue<unknown>> | BaseValidationAsync<any, unknown, BaseIssue<unknown>> | BaseTransformation<any, unknown, BaseIssue<unknown>> | BaseTransformationAsync<any, unknown, BaseIssue<unknown>> | BaseMetadata<any>> = NonNullable<TItem$1["~types"]>["output"];
592
+ /**
593
+ * Infer issue type.
594
+ */
595
+ type InferIssue<TItem$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>> | BaseValidation<any, unknown, BaseIssue<unknown>> | BaseValidationAsync<any, unknown, BaseIssue<unknown>> | BaseTransformation<any, unknown, BaseIssue<unknown>> | BaseTransformationAsync<any, unknown, BaseIssue<unknown>> | BaseMetadata<any>> = NonNullable<TItem$1["~types"]>["issue"]; //#endregion
596
+ //#region src/types/utils.d.ts
597
+ /**
598
+ * Checks if a type is `any`.
599
+ */
600
+ /**
601
+ * Constructs a type that is maybe readonly.
602
+ */
603
+ type MaybeReadonly<TValue$1> = TValue$1 | Readonly<TValue$1>;
604
+ /**
605
+ * Constructs a type that is deeply readonly.
606
+ */
607
+ type DeepReadonly<TValue$1> = TValue$1 extends Record<string, unknown> | readonly unknown[] ? { readonly [TKey in keyof TValue$1]: DeepReadonly<TValue$1[TKey]> } : TValue$1;
608
+ /**
609
+ * Constructs a type that is maybe deeply readonly.
610
+ */
611
+ type MaybeDeepReadonly<TValue$1> = TValue$1 | DeepReadonly<TValue$1>;
612
+ /**
613
+ * Constructs a type that is maybe a promise.
614
+ */
615
+ type MaybePromise<TValue$1> = TValue$1 | Promise<TValue$1>;
616
+ /**
617
+ * Prettifies a type for better readability.
618
+ *
619
+ * Hint: This type has no effect and is only used so that TypeScript displays
620
+ * the final type in the preview instead of the utility types used.
621
+ */
622
+ type Prettify<TObject> = { [TKey in keyof TObject]: TObject[TKey] } & {};
623
+ /**
624
+ * Marks specific keys as optional.
625
+ */
626
+ type MarkOptional<TObject, TKeys extends keyof TObject> = { [TKey in keyof TObject]?: unknown } & Omit<TObject, TKeys> & Partial<Pick<TObject, TKeys>>;
627
+ /**
628
+ * Merges two objects. Overlapping entries from the second object overwrite
629
+ * properties from the first object.
630
+ */
631
+ /**
632
+ * Extracts first tuple item.
633
+ */
634
+ type FirstTupleItem<TTuple extends readonly [unknown, ...unknown[]]> = TTuple[0];
635
+ /**
636
+ * Extracts last tuple item.
637
+ */
638
+ type LastTupleItem<TTuple extends readonly [unknown, ...unknown[]]> = TTuple[TTuple extends readonly [unknown, ...infer TRest] ? TRest["length"] : never];
639
+ /**
640
+ * Converts union to intersection type.
641
+ */
642
+ //#endregion
643
+ //#region src/types/other.d.ts
644
+ /**
645
+ * Error message type.
646
+ */
647
+ type ErrorMessage<TIssue extends BaseIssue<unknown>> = ((issue: TIssue) => string) | string;
648
+ /**
649
+ * Default type.
650
+ */
651
+ type Default<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, TInput$1 extends null | undefined> = MaybeDeepReadonly<InferInput<TWrapped$1> | TInput$1> | ((dataset?: UnknownDataset, config?: Config<InferIssue<TWrapped$1>>) => MaybeDeepReadonly<InferInput<TWrapped$1> | TInput$1>) | undefined;
652
+ /**
653
+ * Default async type.
654
+ */
655
+ type DefaultAsync<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, TInput$1 extends null | undefined> = MaybeDeepReadonly<InferInput<TWrapped$1> | TInput$1> | ((dataset?: UnknownDataset, config?: Config<InferIssue<TWrapped$1>>) => MaybePromise<MaybeDeepReadonly<InferInput<TWrapped$1> | TInput$1>>) | undefined;
656
+ /**
657
+ * Default value type.
658
+ */
659
+ type DefaultValue<TDefault extends Default<BaseSchema<unknown, unknown, BaseIssue<unknown>>, null | undefined> | DefaultAsync<BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, null | undefined>> = TDefault extends DefaultAsync<infer TWrapped extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, infer TInput> ? TDefault extends ((dataset?: UnknownDataset, config?: Config<InferIssue<TWrapped>>) => MaybePromise<MaybeDeepReadonly<InferInput<TWrapped> | TInput>>) ? Awaited<ReturnType<TDefault>> : TDefault : never; //#endregion
660
+ //#region src/types/object.d.ts
661
+ /**
662
+ * Optional entry schema type.
663
+ */
664
+ type OptionalEntrySchema = ExactOptionalSchema<BaseSchema<unknown, unknown, BaseIssue<unknown>>, unknown> | NullishSchema<BaseSchema<unknown, unknown, BaseIssue<unknown>>, unknown> | OptionalSchema<BaseSchema<unknown, unknown, BaseIssue<unknown>>, unknown>;
665
+ /**
666
+ * Optional entry schema async type.
667
+ */
668
+ type OptionalEntrySchemaAsync = ExactOptionalSchemaAsync<BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, unknown> | NullishSchemaAsync<BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, unknown> | OptionalSchemaAsync<BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, unknown>;
669
+ /**
670
+ * Object entries interface.
671
+ */
672
+ interface ObjectEntries {
673
+ [key: string]: BaseSchema<unknown, unknown, BaseIssue<unknown>> | SchemaWithFallback<BaseSchema<unknown, unknown, BaseIssue<unknown>>, unknown> | OptionalEntrySchema;
674
+ }
675
+ /**
676
+ * Object entries async interface.
677
+ */
678
+ interface ObjectEntriesAsync {
679
+ [key: string]: BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>> | SchemaWithFallback<BaseSchema<unknown, unknown, BaseIssue<unknown>>, unknown> | SchemaWithFallbackAsync<BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, unknown> | OptionalEntrySchema | OptionalEntrySchemaAsync;
680
+ }
681
+ /**
682
+ * Object keys type.
683
+ */
684
+ /**
685
+ * Infer entries input type.
686
+ */
687
+ type InferEntriesInput<TEntries$1 extends ObjectEntries | ObjectEntriesAsync> = { -readonly [TKey in keyof TEntries$1]: InferInput<TEntries$1[TKey]> };
688
+ /**
689
+ * Infer entries output type.
690
+ */
691
+ type InferEntriesOutput<TEntries$1 extends ObjectEntries | ObjectEntriesAsync> = { -readonly [TKey in keyof TEntries$1]: InferOutput<TEntries$1[TKey]> };
692
+ /**
693
+ * Optional input keys type.
694
+ */
695
+ type OptionalInputKeys<TEntries$1 extends ObjectEntries | ObjectEntriesAsync> = { [TKey in keyof TEntries$1]: TEntries$1[TKey] extends OptionalEntrySchema | OptionalEntrySchemaAsync ? TKey : never }[keyof TEntries$1];
696
+ /**
697
+ * Optional output keys type.
698
+ */
699
+ type OptionalOutputKeys<TEntries$1 extends ObjectEntries | ObjectEntriesAsync> = { [TKey in keyof TEntries$1]: TEntries$1[TKey] extends OptionalEntrySchema | OptionalEntrySchemaAsync ? undefined extends TEntries$1[TKey]["default"] ? TKey : never : never }[keyof TEntries$1];
700
+ /**
701
+ * Input with question marks type.
702
+ */
703
+ type InputWithQuestionMarks<TEntries$1 extends ObjectEntries | ObjectEntriesAsync, TObject extends InferEntriesInput<TEntries$1>> = MarkOptional<TObject, OptionalInputKeys<TEntries$1>>;
704
+ /**
705
+ * Output with question marks type.
706
+ */
707
+ type OutputWithQuestionMarks<TEntries$1 extends ObjectEntries | ObjectEntriesAsync, TObject extends InferEntriesOutput<TEntries$1>> = MarkOptional<TObject, OptionalOutputKeys<TEntries$1>>;
708
+ /**
709
+ * Readonly output keys type.
710
+ */
711
+ type ReadonlyOutputKeys<TEntries$1 extends ObjectEntries | ObjectEntriesAsync> = { [TKey in keyof TEntries$1]: TEntries$1[TKey] extends SchemaWithPipe<infer TPipe> | SchemaWithPipeAsync<infer TPipe> ? ReadonlyAction<any> extends TPipe[number] ? TKey : never : never }[keyof TEntries$1];
712
+ /**
713
+ * Output with readonly type.
714
+ */
715
+ type OutputWithReadonly<TEntries$1 extends ObjectEntries | ObjectEntriesAsync, TObject extends OutputWithQuestionMarks<TEntries$1, InferEntriesOutput<TEntries$1>>> = Readonly<TObject> & Pick<TObject, Exclude<keyof TObject, ReadonlyOutputKeys<TEntries$1>>>;
716
+ /**
717
+ * Infer object input type.
718
+ */
719
+ type InferObjectInput<TEntries$1 extends ObjectEntries | ObjectEntriesAsync> = Prettify<InputWithQuestionMarks<TEntries$1, InferEntriesInput<TEntries$1>>>;
720
+ /**
721
+ * Infer object output type.
722
+ */
723
+ type InferObjectOutput<TEntries$1 extends ObjectEntries | ObjectEntriesAsync> = Prettify<OutputWithReadonly<TEntries$1, OutputWithQuestionMarks<TEntries$1, InferEntriesOutput<TEntries$1>>>>;
724
+ /**
725
+ * Infer object issue type.
726
+ */
727
+ type InferObjectIssue<TEntries$1 extends ObjectEntries | ObjectEntriesAsync> = InferIssue<TEntries$1[keyof TEntries$1]>; //#endregion
728
+ //#region src/types/tuple.d.ts
729
+ /**
730
+ * Tuple items type.
731
+ */
732
+ //#endregion
733
+ //#region src/types/issue.d.ts
734
+ /**
735
+ * Array path item interface.
736
+ */
737
+ interface ArrayPathItem {
738
+ /**
739
+ * The path item type.
740
+ */
741
+ readonly type: "array";
742
+ /**
743
+ * The path item origin.
744
+ */
745
+ readonly origin: "value";
746
+ /**
747
+ * The path item input.
748
+ */
749
+ readonly input: MaybeReadonly<unknown[]>;
750
+ /**
751
+ * The path item key.
752
+ */
753
+ readonly key: number;
754
+ /**
755
+ * The path item value.
756
+ */
757
+ readonly value: unknown;
758
+ }
759
+ /**
760
+ * Map path item interface.
761
+ */
762
+ interface MapPathItem {
763
+ /**
764
+ * The path item type.
765
+ */
766
+ readonly type: "map";
767
+ /**
768
+ * The path item origin.
769
+ */
770
+ readonly origin: "key" | "value";
771
+ /**
772
+ * The path item input.
773
+ */
774
+ readonly input: Map<unknown, unknown>;
775
+ /**
776
+ * The path item key.
777
+ */
778
+ readonly key: unknown;
779
+ /**
780
+ * The path item value.
781
+ */
782
+ readonly value: unknown;
783
+ }
784
+ /**
785
+ * Object path item interface.
786
+ */
787
+ interface ObjectPathItem {
788
+ /**
789
+ * The path item type.
790
+ */
791
+ readonly type: "object";
792
+ /**
793
+ * The path item origin.
794
+ */
795
+ readonly origin: "key" | "value";
796
+ /**
797
+ * The path item input.
798
+ */
799
+ readonly input: Record<string, unknown>;
800
+ /**
801
+ * The path item key.
802
+ */
803
+ readonly key: string;
804
+ /**
805
+ * The path item value.
806
+ */
807
+ readonly value: unknown;
808
+ }
809
+ /**
810
+ * Set path item interface.
811
+ */
812
+ interface SetPathItem {
813
+ /**
814
+ * The path item type.
815
+ */
816
+ readonly type: "set";
817
+ /**
818
+ * The path item origin.
819
+ */
820
+ readonly origin: "value";
821
+ /**
822
+ * The path item input.
823
+ */
824
+ readonly input: Set<unknown>;
825
+ /**
826
+ * The path item key.
827
+ */
828
+ readonly key: null;
829
+ /**
830
+ * The path item key.
831
+ */
832
+ readonly value: unknown;
833
+ }
834
+ /**
835
+ * Unknown path item interface.
836
+ */
837
+ interface UnknownPathItem {
838
+ /**
839
+ * The path item type.
840
+ */
841
+ readonly type: "unknown";
842
+ /**
843
+ * The path item origin.
844
+ */
845
+ readonly origin: "key" | "value";
846
+ /**
847
+ * The path item input.
848
+ */
849
+ readonly input: unknown;
850
+ /**
851
+ * The path item key.
852
+ */
853
+ readonly key: unknown;
854
+ /**
855
+ * The path item value.
856
+ */
857
+ readonly value: unknown;
858
+ }
859
+ /**
860
+ * Issue path item type.
861
+ */
862
+ type IssuePathItem = ArrayPathItem | MapPathItem | ObjectPathItem | SetPathItem | UnknownPathItem;
863
+ /**
864
+ * Base issue interface.
865
+ */
866
+ interface BaseIssue<TInput$1> extends Config<BaseIssue<TInput$1>> {
867
+ /**
868
+ * The issue kind.
869
+ */
870
+ readonly kind: "schema" | "validation" | "transformation";
871
+ /**
872
+ * The issue type.
873
+ */
874
+ readonly type: string;
875
+ /**
876
+ * The raw input data.
877
+ */
878
+ readonly input: TInput$1;
879
+ /**
880
+ * The expected property.
881
+ */
882
+ readonly expected: string | null;
883
+ /**
884
+ * The received property.
885
+ */
886
+ readonly received: string;
887
+ /**
888
+ * The error message.
889
+ */
890
+ readonly message: string;
891
+ /**
892
+ * The input requirement.
893
+ */
894
+ readonly requirement?: unknown | undefined;
895
+ /**
896
+ * The issue path.
897
+ */
898
+ readonly path?: [IssuePathItem, ...IssuePathItem[]] | undefined;
899
+ /**
900
+ * The sub issues.
901
+ */
902
+ readonly issues?: [BaseIssue<TInput$1>, ...BaseIssue<TInput$1>[]] | undefined;
903
+ }
904
+ /**
905
+ * Generic issue type.
906
+ */
907
+ //#endregion
908
+ //#region src/types/config.d.ts
909
+ /**
910
+ * Config interface.
911
+ */
912
+ interface Config<TIssue extends BaseIssue<unknown>> {
913
+ /**
914
+ * The selected language.
915
+ */
916
+ readonly lang?: string | undefined;
917
+ /**
918
+ * The error message.
919
+ */
920
+ readonly message?: ErrorMessage<TIssue> | undefined;
921
+ /**
922
+ * Whether it should be aborted early.
923
+ */
924
+ readonly abortEarly?: boolean | undefined;
925
+ /**
926
+ * Whether a pipe should be aborted early.
927
+ */
928
+ readonly abortPipeEarly?: boolean | undefined;
929
+ } //#endregion
930
+ //#region src/types/pipe.d.ts
931
+ /**
932
+ * Pipe action type.
933
+ */
934
+ type PipeAction<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> = BaseValidation<TInput$1, TOutput$1, TIssue> | BaseTransformation<TInput$1, TOutput$1, TIssue> | BaseMetadata<TInput$1>;
935
+ /**
936
+ * Pipe action async type.
937
+ */
938
+ type PipeActionAsync<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> = BaseValidationAsync<TInput$1, TOutput$1, TIssue> | BaseTransformationAsync<TInput$1, TOutput$1, TIssue>;
939
+ /**
940
+ * Pipe item type.
941
+ */
942
+ type PipeItem<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> = BaseSchema<TInput$1, TOutput$1, TIssue> | PipeAction<TInput$1, TOutput$1, TIssue>;
943
+ /**
944
+ * Pipe item async type.
945
+ */
946
+ type PipeItemAsync<TInput$1, TOutput$1, TIssue extends BaseIssue<unknown>> = BaseSchemaAsync<TInput$1, TOutput$1, TIssue> | PipeActionAsync<TInput$1, TOutput$1, TIssue>;
947
+ /**
948
+ * Schema without pipe type.
949
+ */
950
+ //#endregion
951
+ //#region src/schemas/array/types.d.ts
952
+ /**
953
+ * Array issue interface.
954
+ */
955
+ interface ArrayIssue extends BaseIssue<unknown> {
956
+ /**
957
+ * The issue kind.
958
+ */
959
+ readonly kind: "schema";
960
+ /**
961
+ * The issue type.
962
+ */
963
+ readonly type: "array";
964
+ /**
965
+ * The expected property.
966
+ */
967
+ readonly expected: "Array";
968
+ } //#endregion
969
+ //#region src/schemas/array/array.d.ts
970
+ /**
971
+ * Array schema interface.
972
+ */
973
+ interface ArraySchema<TItem$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, TMessage extends ErrorMessage<ArrayIssue> | undefined> extends BaseSchema<InferInput<TItem$1>[], InferOutput<TItem$1>[], ArrayIssue | InferIssue<TItem$1>> {
974
+ /**
975
+ * The schema type.
976
+ */
977
+ readonly type: "array";
978
+ /**
979
+ * The schema reference.
980
+ */
981
+ readonly reference: typeof array;
982
+ /**
983
+ * The expected property.
984
+ */
985
+ readonly expects: "Array";
986
+ /**
987
+ * The array item schema.
988
+ */
989
+ readonly item: TItem$1;
990
+ /**
991
+ * The error message.
992
+ */
993
+ readonly message: TMessage;
994
+ }
995
+ /**
996
+ * Creates an array schema.
997
+ *
998
+ * @param item The item schema.
999
+ *
1000
+ * @returns An array schema.
1001
+ */
1002
+ declare function array<const TItem$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(item: TItem$1): ArraySchema<TItem$1, undefined>;
1003
+ /**
1004
+ * Creates an array schema.
1005
+ *
1006
+ * @param item The item schema.
1007
+ * @param message The error message.
1008
+ *
1009
+ * @returns An array schema.
1010
+ */
1011
+ declare function array<const TItem$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, const TMessage extends ErrorMessage<ArrayIssue> | undefined>(item: TItem$1, message: TMessage): ArraySchema<TItem$1, TMessage>; //#endregion
1012
+ //#region src/schemas/array/arrayAsync.d.ts
1013
+ /**
1014
+ * Array schema interface.
1015
+ */
1016
+ //#endregion
1017
+ //#region src/schemas/boolean/boolean.d.ts
1018
+ /**
1019
+ * Boolean issue interface.
1020
+ */
1021
+ interface BooleanIssue extends BaseIssue<unknown> {
1022
+ /**
1023
+ * The issue kind.
1024
+ */
1025
+ readonly kind: "schema";
1026
+ /**
1027
+ * The issue type.
1028
+ */
1029
+ readonly type: "boolean";
1030
+ /**
1031
+ * The expected property.
1032
+ */
1033
+ readonly expected: "boolean";
1034
+ }
1035
+ /**
1036
+ * Boolean schema interface.
1037
+ */
1038
+ interface BooleanSchema<TMessage extends ErrorMessage<BooleanIssue> | undefined> extends BaseSchema<boolean, boolean, BooleanIssue> {
1039
+ /**
1040
+ * The schema type.
1041
+ */
1042
+ readonly type: "boolean";
1043
+ /**
1044
+ * The schema reference.
1045
+ */
1046
+ readonly reference: typeof boolean;
1047
+ /**
1048
+ * The expected property.
1049
+ */
1050
+ readonly expects: "boolean";
1051
+ /**
1052
+ * The error message.
1053
+ */
1054
+ readonly message: TMessage;
1055
+ }
1056
+ /**
1057
+ * Creates a boolean schema.
1058
+ *
1059
+ * @returns A boolean schema.
1060
+ */
1061
+ declare function boolean(): BooleanSchema<undefined>;
1062
+ /**
1063
+ * Creates a boolean schema.
1064
+ *
1065
+ * @param message The error message.
1066
+ *
1067
+ * @returns A boolean schema.
1068
+ */
1069
+ declare function boolean<const TMessage extends ErrorMessage<BooleanIssue> | undefined>(message: TMessage): BooleanSchema<TMessage>; //#endregion
1070
+ //#region src/schemas/custom/types.d.ts
1071
+ /**
1072
+ * Custom issue interface.
1073
+ */
1074
+ //#endregion
1075
+ //#region src/schemas/exactOptional/exactOptional.d.ts
1076
+ /**
1077
+ * Exact optional schema interface.
1078
+ */
1079
+ interface ExactOptionalSchema<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, TDefault extends Default<TWrapped$1, never>> extends BaseSchema<InferInput<TWrapped$1>, InferOutput<TWrapped$1>, InferIssue<TWrapped$1>> {
1080
+ /**
1081
+ * The schema type.
1082
+ */
1083
+ readonly type: "exact_optional";
1084
+ /**
1085
+ * The schema reference.
1086
+ */
1087
+ readonly reference: typeof exactOptional;
1088
+ /**
1089
+ * The expected property.
1090
+ */
1091
+ readonly expects: TWrapped$1["expects"];
1092
+ /**
1093
+ * The wrapped schema.
1094
+ */
1095
+ readonly wrapped: TWrapped$1;
1096
+ /**
1097
+ * The default value.
1098
+ */
1099
+ readonly default: TDefault;
1100
+ }
1101
+ /**
1102
+ * Creates an exact optional schema.
1103
+ *
1104
+ * @param wrapped The wrapped schema.
1105
+ *
1106
+ * @returns An exact optional schema.
1107
+ */
1108
+ declare function exactOptional<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(wrapped: TWrapped$1): ExactOptionalSchema<TWrapped$1, undefined>;
1109
+ /**
1110
+ * Creates an exact optional schema.
1111
+ *
1112
+ * @param wrapped The wrapped schema.
1113
+ * @param default_ The default value.
1114
+ *
1115
+ * @returns An exact optional schema.
1116
+ */
1117
+ declare function exactOptional<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, const TDefault extends Default<TWrapped$1, never>>(wrapped: TWrapped$1, default_: TDefault): ExactOptionalSchema<TWrapped$1, TDefault>; //#endregion
1118
+ //#region src/schemas/exactOptional/exactOptionalAsync.d.ts
1119
+ /**
1120
+ * Exact optional schema async interface.
1121
+ */
1122
+ interface ExactOptionalSchemaAsync<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, TDefault extends DefaultAsync<TWrapped$1, never>> extends BaseSchemaAsync<InferInput<TWrapped$1>, InferOutput<TWrapped$1>, InferIssue<TWrapped$1>> {
1123
+ /**
1124
+ * The schema type.
1125
+ */
1126
+ readonly type: "exact_optional";
1127
+ /**
1128
+ * The schema reference.
1129
+ */
1130
+ readonly reference: typeof exactOptional | typeof exactOptionalAsync;
1131
+ /**
1132
+ * The expected property.
1133
+ */
1134
+ readonly expects: TWrapped$1["expects"];
1135
+ /**
1136
+ * The wrapped schema.
1137
+ */
1138
+ readonly wrapped: TWrapped$1;
1139
+ /**
1140
+ * The default value.
1141
+ */
1142
+ readonly default: TDefault;
1143
+ }
1144
+ /**
1145
+ * Creates an exact optional schema.
1146
+ *
1147
+ * @param wrapped The wrapped schema.
1148
+ *
1149
+ * @returns An exact optional schema.
1150
+ */
1151
+ declare function exactOptionalAsync<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>>(wrapped: TWrapped$1): ExactOptionalSchemaAsync<TWrapped$1, undefined>;
1152
+ /**
1153
+ * Creates an exact optional schema.
1154
+ *
1155
+ * @param wrapped The wrapped schema.
1156
+ * @param default_ The default value.
1157
+ *
1158
+ * @returns An exact optional schema.
1159
+ */
1160
+ declare function exactOptionalAsync<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, const TDefault extends DefaultAsync<TWrapped$1, never>>(wrapped: TWrapped$1, default_: TDefault): ExactOptionalSchemaAsync<TWrapped$1, TDefault>; //#endregion
1161
+ //#region src/schemas/file/file.d.ts
1162
+ /**
1163
+ * File issue interface.
1164
+ */
1165
+ //#endregion
1166
+ //#region src/schemas/nullish/types.d.ts
1167
+ /**
1168
+ * Infer nullish output type.
1169
+ */
1170
+ type InferNullishOutput<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, TDefault extends DefaultAsync<TWrapped$1, null | undefined>> = undefined extends TDefault ? InferOutput<TWrapped$1> | null | undefined : InferOutput<TWrapped$1> | Extract<DefaultValue<TDefault>, null | undefined>; //#endregion
1171
+ //#region src/schemas/nullish/nullish.d.ts
1172
+ /**
1173
+ * Nullish schema interface.
1174
+ */
1175
+ interface NullishSchema<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, TDefault extends Default<TWrapped$1, null | undefined>> extends BaseSchema<InferInput<TWrapped$1> | null | undefined, InferNullishOutput<TWrapped$1, TDefault>, InferIssue<TWrapped$1>> {
1176
+ /**
1177
+ * The schema type.
1178
+ */
1179
+ readonly type: "nullish";
1180
+ /**
1181
+ * The schema reference.
1182
+ */
1183
+ readonly reference: typeof nullish;
1184
+ /**
1185
+ * The expected property.
1186
+ */
1187
+ readonly expects: `(${TWrapped$1["expects"]} | null | undefined)`;
1188
+ /**
1189
+ * The wrapped schema.
1190
+ */
1191
+ readonly wrapped: TWrapped$1;
1192
+ /**
1193
+ * The default value.
1194
+ */
1195
+ readonly default: TDefault;
1196
+ }
1197
+ /**
1198
+ * Creates a nullish schema.
1199
+ *
1200
+ * @param wrapped The wrapped schema.
1201
+ *
1202
+ * @returns A nullish schema.
1203
+ */
1204
+ declare function nullish<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(wrapped: TWrapped$1): NullishSchema<TWrapped$1, undefined>;
1205
+ /**
1206
+ * Creates a nullish schema.
1207
+ *
1208
+ * @param wrapped The wrapped schema.
1209
+ * @param default_ The default value.
1210
+ *
1211
+ * @returns A nullish schema.
1212
+ */
1213
+ declare function nullish<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, const TDefault extends Default<TWrapped$1, null | undefined>>(wrapped: TWrapped$1, default_: TDefault): NullishSchema<TWrapped$1, TDefault>; //#endregion
1214
+ //#region src/schemas/nullish/nullishAsync.d.ts
1215
+ /**
1216
+ * Nullish schema async interface.
1217
+ */
1218
+ interface NullishSchemaAsync<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, TDefault extends DefaultAsync<TWrapped$1, null | undefined>> extends BaseSchemaAsync<InferInput<TWrapped$1> | null | undefined, InferNullishOutput<TWrapped$1, TDefault>, InferIssue<TWrapped$1>> {
1219
+ /**
1220
+ * The schema type.
1221
+ */
1222
+ readonly type: "nullish";
1223
+ /**
1224
+ * The schema reference.
1225
+ */
1226
+ readonly reference: typeof nullish | typeof nullishAsync;
1227
+ /**
1228
+ * The expected property.
1229
+ */
1230
+ readonly expects: `(${TWrapped$1["expects"]} | null | undefined)`;
1231
+ /**
1232
+ * The wrapped schema.
1233
+ */
1234
+ readonly wrapped: TWrapped$1;
1235
+ /**
1236
+ * The default value.
1237
+ */
1238
+ readonly default: TDefault;
1239
+ }
1240
+ /**
1241
+ * Creates a nullish schema.
1242
+ *
1243
+ * @param wrapped The wrapped schema.
1244
+ *
1245
+ * @returns A nullish schema.
1246
+ */
1247
+ declare function nullishAsync<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>>(wrapped: TWrapped$1): NullishSchemaAsync<TWrapped$1, undefined>;
1248
+ /**
1249
+ * Creates a nullish schema.
1250
+ *
1251
+ * @param wrapped The wrapped schema.
1252
+ * @param default_ The default value.
1253
+ *
1254
+ * @returns A nullish schema.
1255
+ */
1256
+ declare function nullishAsync<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, const TDefault extends DefaultAsync<TWrapped$1, null | undefined>>(wrapped: TWrapped$1, default_: TDefault): NullishSchemaAsync<TWrapped$1, TDefault>; //#endregion
1257
+ //#region src/schemas/number/number.d.ts
1258
+ /**
1259
+ * Number issue interface.
1260
+ */
1261
+ interface NumberIssue extends BaseIssue<unknown> {
1262
+ /**
1263
+ * The issue kind.
1264
+ */
1265
+ readonly kind: "schema";
1266
+ /**
1267
+ * The issue type.
1268
+ */
1269
+ readonly type: "number";
1270
+ /**
1271
+ * The expected property.
1272
+ */
1273
+ readonly expected: "number";
1274
+ }
1275
+ /**
1276
+ * Number schema interface.
1277
+ */
1278
+ interface NumberSchema<TMessage extends ErrorMessage<NumberIssue> | undefined> extends BaseSchema<number, number, NumberIssue> {
1279
+ /**
1280
+ * The schema type.
1281
+ */
1282
+ readonly type: "number";
1283
+ /**
1284
+ * The schema reference.
1285
+ */
1286
+ readonly reference: typeof number;
1287
+ /**
1288
+ * The expected property.
1289
+ */
1290
+ readonly expects: "number";
1291
+ /**
1292
+ * The error message.
1293
+ */
1294
+ readonly message: TMessage;
1295
+ }
1296
+ /**
1297
+ * Creates a number schema.
1298
+ *
1299
+ * @returns A number schema.
1300
+ */
1301
+ declare function number(): NumberSchema<undefined>;
1302
+ /**
1303
+ * Creates a number schema.
1304
+ *
1305
+ * @param message The error message.
1306
+ *
1307
+ * @returns A number schema.
1308
+ */
1309
+ declare function number<const TMessage extends ErrorMessage<NumberIssue> | undefined>(message: TMessage): NumberSchema<TMessage>; //#endregion
1310
+ //#region src/schemas/object/types.d.ts
1311
+ /**
1312
+ * Object issue interface.
1313
+ */
1314
+ interface ObjectIssue extends BaseIssue<unknown> {
1315
+ /**
1316
+ * The issue kind.
1317
+ */
1318
+ readonly kind: "schema";
1319
+ /**
1320
+ * The issue type.
1321
+ */
1322
+ readonly type: "object";
1323
+ /**
1324
+ * The expected property.
1325
+ */
1326
+ readonly expected: "Object" | `"${string}"`;
1327
+ } //#endregion
1328
+ //#region src/schemas/object/object.d.ts
1329
+ /**
1330
+ * Object schema interface.
1331
+ */
1332
+ interface ObjectSchema<TEntries$1 extends ObjectEntries, TMessage extends ErrorMessage<ObjectIssue> | undefined> extends BaseSchema<InferObjectInput<TEntries$1>, InferObjectOutput<TEntries$1>, ObjectIssue | InferObjectIssue<TEntries$1>> {
1333
+ /**
1334
+ * The schema type.
1335
+ */
1336
+ readonly type: "object";
1337
+ /**
1338
+ * The schema reference.
1339
+ */
1340
+ readonly reference: typeof object;
1341
+ /**
1342
+ * The expected property.
1343
+ */
1344
+ readonly expects: "Object";
1345
+ /**
1346
+ * The entries schema.
1347
+ */
1348
+ readonly entries: TEntries$1;
1349
+ /**
1350
+ * The error message.
1351
+ */
1352
+ readonly message: TMessage;
1353
+ }
1354
+ /**
1355
+ * Creates an object schema.
1356
+ *
1357
+ * Hint: This schema removes unknown entries. The output will only include the
1358
+ * entries you specify. To include unknown entries, use `looseObject`. To
1359
+ * return an issue for unknown entries, use `strictObject`. To include and
1360
+ * validate unknown entries, use `objectWithRest`.
1361
+ *
1362
+ * @param entries The entries schema.
1363
+ *
1364
+ * @returns An object schema.
1365
+ */
1366
+ declare function object<const TEntries$1 extends ObjectEntries>(entries: TEntries$1): ObjectSchema<TEntries$1, undefined>;
1367
+ /**
1368
+ * Creates an object schema.
1369
+ *
1370
+ * Hint: This schema removes unknown entries. The output will only include the
1371
+ * entries you specify. To include unknown entries, use `looseObject`. To
1372
+ * return an issue for unknown entries, use `strictObject`. To include and
1373
+ * validate unknown entries, use `objectWithRest`.
1374
+ *
1375
+ * @param entries The entries schema.
1376
+ * @param message The error message.
1377
+ *
1378
+ * @returns An object schema.
1379
+ */
1380
+ declare function object<const TEntries$1 extends ObjectEntries, const TMessage extends ErrorMessage<ObjectIssue> | undefined>(entries: TEntries$1, message: TMessage): ObjectSchema<TEntries$1, TMessage>; //#endregion
1381
+ //#region src/schemas/object/objectAsync.d.ts
1382
+ /**
1383
+ * Object schema async interface.
1384
+ */
1385
+ //#endregion
1386
+ //#region src/schemas/optional/types.d.ts
1387
+ /**
1388
+ * Infer optional output type.
1389
+ */
1390
+ type InferOptionalOutput<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, TDefault extends DefaultAsync<TWrapped$1, undefined>> = undefined extends TDefault ? InferOutput<TWrapped$1> | undefined : InferOutput<TWrapped$1> | Extract<DefaultValue<TDefault>, undefined>; //#endregion
1391
+ //#region src/schemas/optional/optional.d.ts
1392
+ /**
1393
+ * Optional schema interface.
1394
+ */
1395
+ interface OptionalSchema<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, TDefault extends Default<TWrapped$1, undefined>> extends BaseSchema<InferInput<TWrapped$1> | undefined, InferOptionalOutput<TWrapped$1, TDefault>, InferIssue<TWrapped$1>> {
1396
+ /**
1397
+ * The schema type.
1398
+ */
1399
+ readonly type: "optional";
1400
+ /**
1401
+ * The schema reference.
1402
+ */
1403
+ readonly reference: typeof optional;
1404
+ /**
1405
+ * The expected property.
1406
+ */
1407
+ readonly expects: `(${TWrapped$1["expects"]} | undefined)`;
1408
+ /**
1409
+ * The wrapped schema.
1410
+ */
1411
+ readonly wrapped: TWrapped$1;
1412
+ /**
1413
+ * The default value.
1414
+ */
1415
+ readonly default: TDefault;
1416
+ }
1417
+ /**
1418
+ * Creates an optional schema.
1419
+ *
1420
+ * @param wrapped The wrapped schema.
1421
+ *
1422
+ * @returns An optional schema.
1423
+ */
1424
+ declare function optional<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(wrapped: TWrapped$1): OptionalSchema<TWrapped$1, undefined>;
1425
+ /**
1426
+ * Creates an optional schema.
1427
+ *
1428
+ * @param wrapped The wrapped schema.
1429
+ * @param default_ The default value.
1430
+ *
1431
+ * @returns An optional schema.
1432
+ */
1433
+ declare function optional<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>, const TDefault extends Default<TWrapped$1, undefined>>(wrapped: TWrapped$1, default_: TDefault): OptionalSchema<TWrapped$1, TDefault>; //#endregion
1434
+ //#region src/schemas/optional/optionalAsync.d.ts
1435
+ /**
1436
+ * Optional schema async interface.
1437
+ */
1438
+ interface OptionalSchemaAsync<TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, TDefault extends DefaultAsync<TWrapped$1, undefined>> extends BaseSchemaAsync<InferInput<TWrapped$1> | undefined, InferOptionalOutput<TWrapped$1, TDefault>, InferIssue<TWrapped$1>> {
1439
+ /**
1440
+ * The schema type.
1441
+ */
1442
+ readonly type: "optional";
1443
+ /**
1444
+ * The schema reference.
1445
+ */
1446
+ readonly reference: typeof optional | typeof optionalAsync;
1447
+ /**
1448
+ * The expected property.
1449
+ */
1450
+ readonly expects: `(${TWrapped$1["expects"]} | undefined)`;
1451
+ /**
1452
+ * The wrapped schema.
1453
+ */
1454
+ readonly wrapped: TWrapped$1;
1455
+ /**
1456
+ * The default value.
1457
+ */
1458
+ readonly default: TDefault;
1459
+ }
1460
+ /**
1461
+ * Creates an optional schema.
1462
+ *
1463
+ * @param wrapped The wrapped schema.
1464
+ *
1465
+ * @returns An optional schema.
1466
+ */
1467
+ declare function optionalAsync<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>>(wrapped: TWrapped$1): OptionalSchemaAsync<TWrapped$1, undefined>;
1468
+ /**
1469
+ * Creates an optional schema.
1470
+ *
1471
+ * @param wrapped The wrapped schema.
1472
+ * @param default_ The default value.
1473
+ *
1474
+ * @returns An optional schema.
1475
+ */
1476
+ declare function optionalAsync<const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>, const TDefault extends DefaultAsync<TWrapped$1, undefined>>(wrapped: TWrapped$1, default_: TDefault): OptionalSchemaAsync<TWrapped$1, TDefault>; //#endregion
1477
+ //#region src/schemas/picklist/picklist.d.ts
1478
+ /**
1479
+ * Picklist options type.
1480
+ */
1481
+ type PicklistOptions = MaybeReadonly<(string | number | bigint)[]>;
1482
+ /**
1483
+ * Picklist issue interface.
1484
+ */
1485
+ interface PicklistIssue extends BaseIssue<unknown> {
1486
+ /**
1487
+ * The issue kind.
1488
+ */
1489
+ readonly kind: "schema";
1490
+ /**
1491
+ * The issue type.
1492
+ */
1493
+ readonly type: "picklist";
1494
+ /**
1495
+ * The expected property.
1496
+ */
1497
+ readonly expected: string;
1498
+ }
1499
+ /**
1500
+ * Picklist schema interface.
1501
+ */
1502
+ interface PicklistSchema<TOptions$1 extends PicklistOptions, TMessage extends ErrorMessage<PicklistIssue> | undefined> extends BaseSchema<TOptions$1[number], TOptions$1[number], PicklistIssue> {
1503
+ /**
1504
+ * The schema type.
1505
+ */
1506
+ readonly type: "picklist";
1507
+ /**
1508
+ * The schema reference.
1509
+ */
1510
+ readonly reference: typeof picklist;
1511
+ /**
1512
+ * The picklist options.
1513
+ */
1514
+ readonly options: TOptions$1;
1515
+ /**
1516
+ * The error message.
1517
+ */
1518
+ readonly message: TMessage;
1519
+ }
1520
+ /**
1521
+ * Creates a picklist schema.
1522
+ *
1523
+ * @param options The picklist options.
1524
+ *
1525
+ * @returns A picklist schema.
1526
+ */
1527
+ declare function picklist<const TOptions$1 extends PicklistOptions>(options: TOptions$1): PicklistSchema<TOptions$1, undefined>;
1528
+ /**
1529
+ * Creates a picklist schema.
1530
+ *
1531
+ * @param options The picklist options.
1532
+ * @param message The error message.
1533
+ *
1534
+ * @returns A picklist schema.
1535
+ */
1536
+ declare function picklist<const TOptions$1 extends PicklistOptions, const TMessage extends ErrorMessage<PicklistIssue> | undefined>(options: TOptions$1, message: TMessage): PicklistSchema<TOptions$1, TMessage>; //#endregion
1537
+ //#region src/schemas/promise/promise.d.ts
1538
+ /**
1539
+ * Promise issue interface.
1540
+ */
1541
+ //#endregion
1542
+ //#region src/schemas/string/string.d.ts
1543
+ /**
1544
+ * String issue interface.
1545
+ */
1546
+ interface StringIssue extends BaseIssue<unknown> {
1547
+ /**
1548
+ * The issue kind.
1549
+ */
1550
+ readonly kind: "schema";
1551
+ /**
1552
+ * The issue type.
1553
+ */
1554
+ readonly type: "string";
1555
+ /**
1556
+ * The expected property.
1557
+ */
1558
+ readonly expected: "string";
1559
+ }
1560
+ /**
1561
+ * String schema interface.
1562
+ */
1563
+ interface StringSchema<TMessage extends ErrorMessage<StringIssue> | undefined> extends BaseSchema<string, string, StringIssue> {
1564
+ /**
1565
+ * The schema type.
1566
+ */
1567
+ readonly type: "string";
1568
+ /**
1569
+ * The schema reference.
1570
+ */
1571
+ readonly reference: typeof string;
1572
+ /**
1573
+ * The expected property.
1574
+ */
1575
+ readonly expects: "string";
1576
+ /**
1577
+ * The error message.
1578
+ */
1579
+ readonly message: TMessage;
1580
+ }
1581
+ /**
1582
+ * Creates a string schema.
1583
+ *
1584
+ * @returns A string schema.
1585
+ */
1586
+ declare function string(): StringSchema<undefined>;
1587
+ /**
1588
+ * Creates a string schema.
1589
+ *
1590
+ * @param message The error message.
1591
+ *
1592
+ * @returns A string schema.
1593
+ */
1594
+ declare function string<const TMessage extends ErrorMessage<StringIssue> | undefined>(message: TMessage): StringSchema<TMessage>; //#endregion
1595
+ //#region src/schemas/symbol/symbol.d.ts
1596
+ /**
1597
+ * Symbol issue interface.
1598
+ */
1599
+ //#endregion
1600
+ //#region src/actions/readonly/readonly.d.ts
1601
+ /**
1602
+ * Readonly output type.
1603
+ */
1604
+ type ReadonlyOutput<TInput$1> = TInput$1 extends Map<infer TKey, infer TValue> ? ReadonlyMap<TKey, TValue> : TInput$1 extends Set<infer TValue> ? ReadonlySet<TValue> : Readonly<TInput$1>;
1605
+ /**
1606
+ * Readonly action interface.
1607
+ */
1608
+ interface ReadonlyAction<TInput$1> extends BaseTransformation<TInput$1, ReadonlyOutput<TInput$1>, never> {
1609
+ /**
1610
+ * The action type.
1611
+ */
1612
+ readonly type: "readonly";
1613
+ /**
1614
+ * The action reference.
1615
+ */
1616
+ readonly reference: typeof readonly;
1617
+ }
1618
+ /**
1619
+ * Creates a readonly transformation action.
1620
+ *
1621
+ * @returns A readonly action.
1622
+ */
1623
+ declare function readonly<TInput$1>(): ReadonlyAction<TInput$1>; //#endregion
1624
+ //#region src/actions/reduceItems/reduceItems.d.ts
1625
+ /**
1626
+ * Array action type.
1627
+ */
1628
+ //#endregion
1629
+ //#region src/config/schema.d.ts
1630
+ declare const OpenApiConfigSchema: ObjectSchema<{
1631
+ readonly controllers: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
1632
+ readonly outDir: OptionalSchema<StringSchema<undefined>, undefined>;
1633
+ readonly tsconfig: OptionalSchema<StringSchema<undefined>, undefined>;
1634
+ }, undefined>;
1635
+ declare const BuildConfigSchema: ObjectSchema<{
1636
+ readonly entry: OptionalSchema<StringSchema<undefined>, undefined>;
1637
+ readonly outDir: OptionalSchema<StringSchema<undefined>, undefined>;
1638
+ readonly platform: OptionalSchema<PicklistSchema<["node", "browser", "neutral"], undefined>, undefined>;
1639
+ readonly format: OptionalSchema<PicklistSchema<["esm", "cjs"], undefined>, undefined>;
1640
+ readonly external: OptionalSchema<BooleanSchema<undefined>, undefined>;
1641
+ }, undefined>;
1642
+ declare const DevConfigSchema: ObjectSchema<{
1643
+ readonly entry: OptionalSchema<StringSchema<undefined>, undefined>;
1644
+ readonly port: OptionalSchema<NumberSchema<undefined>, undefined>;
1645
+ readonly watch: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
1646
+ readonly ignore: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
1647
+ readonly debounceMs: OptionalSchema<NumberSchema<undefined>, undefined>;
1648
+ }, undefined>;
1649
+ declare const ZeltConfigSchema: ObjectSchema<{
1650
+ readonly openapi: OptionalSchema<ObjectSchema<{
1651
+ readonly controllers: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
1652
+ readonly outDir: OptionalSchema<StringSchema<undefined>, undefined>;
1653
+ readonly tsconfig: OptionalSchema<StringSchema<undefined>, undefined>;
1654
+ }, undefined>, undefined>;
1655
+ readonly build: OptionalSchema<ObjectSchema<{
1656
+ readonly entry: OptionalSchema<StringSchema<undefined>, undefined>;
1657
+ readonly outDir: OptionalSchema<StringSchema<undefined>, undefined>;
1658
+ readonly platform: OptionalSchema<PicklistSchema<["node", "browser", "neutral"], undefined>, undefined>;
1659
+ readonly format: OptionalSchema<PicklistSchema<["esm", "cjs"], undefined>, undefined>;
1660
+ readonly external: OptionalSchema<BooleanSchema<undefined>, undefined>;
1661
+ }, undefined>, undefined>;
1662
+ readonly dev: OptionalSchema<ObjectSchema<{
1663
+ readonly entry: OptionalSchema<StringSchema<undefined>, undefined>;
1664
+ readonly port: OptionalSchema<NumberSchema<undefined>, undefined>;
1665
+ readonly watch: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
1666
+ readonly ignore: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
1667
+ readonly debounceMs: OptionalSchema<NumberSchema<undefined>, undefined>;
1668
+ }, undefined>, undefined>;
1669
+ readonly controllers: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
1670
+ readonly dist: OptionalSchema<StringSchema<undefined>, undefined>;
1671
+ readonly tsconfig: OptionalSchema<StringSchema<undefined>, undefined>;
1672
+ }, undefined>;
1673
+ type ZeltConfig = InferOutput<typeof ZeltConfigSchema>;
1674
+ type BuildConfig = InferOutput<typeof BuildConfigSchema>;
1675
+ type DevConfig = InferOutput<typeof DevConfigSchema>;
1676
+ type OpenApiConfig = InferOutput<typeof OpenApiConfigSchema>;
1677
+ //#endregion
1678
+ //#region src/config/define-config.d.ts
1679
+ declare const defineConfig: <T extends ZeltConfig>(config: T) => T;
1680
+ //#endregion
1681
+ //#region src/config/loader.d.ts
1682
+ type LoadConfigOptions = {
1683
+ readonly cwd?: string;
1684
+ readonly configFile?: string;
1685
+ };
1686
+ type ConfigLoadError = {
1687
+ type: 'CONFIG_LOAD_FAILED';
1688
+ };
1689
+ declare const loadZeltConfig: (options?: LoadConfigOptions) => ResultAsync<ZeltConfig, ConfigLoadError>;
1690
+ //#endregion
1691
+ export { DevConfig as a, BuildConfig as i, loadZeltConfig as n, OpenApiConfig as o, defineConfig as r, ZeltConfig as s, LoadConfigOptions as t };
1692
+ //# sourceMappingURL=index-BjAqm820.d.ts.map