mol_schema 0.0.22 → 0.0.23

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.
package/node.d.ts CHANGED
@@ -84,6 +84,82 @@ declare namespace $ {
84
84
  }
85
85
  }
86
86
 
87
+ declare namespace $ {
88
+ const $mol_ambient_ref: unique symbol;
89
+ /** @deprecated use $ instead */
90
+ type $mol_ambient_context = $;
91
+ function $mol_ambient(this: $ | void, overrides: Partial<$>): $;
92
+ }
93
+
94
+ declare namespace $ {
95
+ /**
96
+ * Proxy that delegates all to lazy returned target.
97
+ *
98
+ * $mol_delegate( Array.prototype , ()=> fetch_array() )
99
+ */
100
+ function $mol_delegate<Value extends object>(proto: Value, target: () => Value): Value;
101
+ }
102
+
103
+ declare namespace $ {
104
+ const $mol_owning_map: WeakMap<any, any>;
105
+ function $mol_owning_allow<Having>(having: Having): having is Having & {
106
+ destructor(): void;
107
+ };
108
+ function $mol_owning_get<Having, Owner extends object>(having: Having, Owner?: {
109
+ new (): Owner;
110
+ }): Owner | null;
111
+ function $mol_owning_check<Owner, Having>(owner: Owner, having: Having): having is Having & {
112
+ destructor(): void;
113
+ };
114
+ function $mol_owning_catch<Owner, Having>(owner: Owner, having: Having): boolean;
115
+ }
116
+
117
+ declare namespace $ {
118
+ function $mol_fail_hidden(error: any): never;
119
+ }
120
+
121
+ declare namespace $ {
122
+ type $mol_type_writable<T> = {
123
+ -readonly [P in keyof T]: T[P];
124
+ };
125
+ }
126
+
127
+ declare namespace $ {
128
+ class $mol_object2 {
129
+ static $: $;
130
+ [Symbol.toStringTag]: string;
131
+ [$mol_ambient_ref]: $;
132
+ get $(): $;
133
+ set $(next: $);
134
+ static create<Instance>(this: new (init?: (instance: any) => void) => Instance, init?: (instance: $mol_type_writable<Instance>) => void): Instance;
135
+ static [Symbol.toPrimitive](): any;
136
+ static toString(): any;
137
+ static toJSON(): any;
138
+ static [$mol_key_handle](): any;
139
+ destructor(): void;
140
+ static destructor(): void;
141
+ [Symbol.dispose](): void;
142
+ toString(): string;
143
+ }
144
+ }
145
+
146
+ declare namespace $ {
147
+ class $mol_wrapper extends $mol_object2 {
148
+ static wrap: (task: (...ags: any[]) => any) => (...ags: any[]) => any;
149
+ static run<Result>(task: () => Result): Result;
150
+ static func<Args extends any[], Result, Host = void>(func: (this: Host, ...args: Args) => Result): (this: Host, ...args: Args) => Result;
151
+ static get class(): <Class extends new (...args: any[]) => any>(Class: Class) => Class;
152
+ static get method(): (obj: object, name: PropertyKey, descr?: TypedPropertyDescriptor<any>) => TypedPropertyDescriptor<any>;
153
+ static get field(): <Host extends object, Field extends keyof Host, Args extends any[], Result>(obj: Host, name: Field, descr?: TypedPropertyDescriptor<Result>) => TypedPropertyDescriptor<Result>;
154
+ }
155
+ }
156
+
157
+ declare namespace $ {
158
+ class $mol_memo extends $mol_wrapper {
159
+ static wrap<This extends object, Value>(task: (this: This, next?: Value) => Value): (this: This, next?: Value) => Value | undefined;
160
+ }
161
+ }
162
+
87
163
  declare namespace $ {
88
164
  /** Generates unique identifier. */
89
165
  function $mol_guid(length?: number, exists?: (id: string) => boolean): string;
@@ -95,7 +171,13 @@ declare namespace $ {
95
171
  }
96
172
 
97
173
  declare namespace $ {
98
- function $mol_schema_pattern<Pattern extends RegExp>(Pattern: Pattern): {
174
+ class $mol_memo_key extends $mol_wrapper {
175
+ static wrap<This extends object, Key, Value>(task: (this: This, key: Key, next?: Value) => Value): (this: This, key: Key, next?: Value) => Value | undefined;
176
+ }
177
+ }
178
+
179
+ declare namespace $ {
180
+ let $mol_schema_pattern: <Pattern extends RegExp>(this: void, Pattern: Pattern) => {
99
181
  new (value?: any): {
100
182
  constructor: Function;
101
183
  toString(): string;
@@ -113,7 +195,7 @@ declare namespace $ {
113
195
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
114
196
  [Symbol.toStringTag]: string;
115
197
  [$mol_key_handle](): string;
116
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
198
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
117
199
  getPrototypeOf(o: any): any;
118
200
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
119
201
  getOwnPropertyNames(o: any): string[];
@@ -133,9 +215,9 @@ declare namespace $ {
133
215
  isExtensible(o: any): boolean;
134
216
  keys(o: object): string[];
135
217
  keys(o: {}): string[];
136
- assign<T extends {}, U>(target: T, source: U): T & U;
137
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
138
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
218
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
219
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
220
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
139
221
  assign(target: object, ...sources: any[]): any;
140
222
  getOwnPropertySymbols(o: any): symbol[];
141
223
  is(value1: any, value2: any): boolean;
@@ -161,7 +243,7 @@ declare namespace $ {
161
243
  }
162
244
 
163
245
  declare namespace $ {
164
- function $mol_schema_instance<Class extends new (...args: Args) => any, Args extends any[]>(Class: Class, ...args: Args): Class extends typeof $mol_schema_any ? Class : {
246
+ let $mol_schema_instance: <Class extends new (...args: Args) => any, Args extends any[]>(this: void, Class: Class, ...args: Args) => Class extends typeof $mol_schema_any ? Class : {
165
247
  new (value?: any): {
166
248
  constructor: Function;
167
249
  toString(): string;
@@ -179,7 +261,7 @@ declare namespace $ {
179
261
  cast<This extends typeof $mol_schema_any>(this: This, value: unknown): This["default"];
180
262
  [Symbol.toStringTag]: string;
181
263
  [$mol_key_handle](): string;
182
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
264
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
183
265
  getPrototypeOf(o: any): any;
184
266
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
185
267
  getOwnPropertyNames(o: any): string[];
@@ -199,9 +281,9 @@ declare namespace $ {
199
281
  isExtensible(o: any): boolean;
200
282
  keys(o: object): string[];
201
283
  keys(o: {}): string[];
202
- assign<T extends {}, U>(target: T, source: U): T & U;
203
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
204
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
284
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
285
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
286
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
205
287
  assign(target: object, ...sources: any[]): any;
206
288
  getOwnPropertySymbols(o: any): symbol[];
207
289
  is(value1: any, value2: any): boolean;
@@ -236,7 +318,7 @@ declare namespace $ {
236
318
  }
237
319
 
238
320
  declare namespace $ {
239
- function $mol_schema_every<Schemas extends readonly (typeof $mol_schema_any)[]>(Schemas: Schemas): {
321
+ let $mol_schema_every: <Schemas extends readonly (typeof $mol_schema_any)[]>(this: void, Schemas: Schemas) => {
240
322
  new (value?: any): {
241
323
  constructor: Function;
242
324
  toString(): string;
@@ -254,7 +336,7 @@ declare namespace $ {
254
336
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
255
337
  [Symbol.toStringTag]: string;
256
338
  [$mol_key_handle](): string;
257
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
339
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
258
340
  getPrototypeOf(o: any): any;
259
341
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
260
342
  getOwnPropertyNames(o: any): string[];
@@ -274,9 +356,9 @@ declare namespace $ {
274
356
  isExtensible(o: any): boolean;
275
357
  keys(o: object): string[];
276
358
  keys(o: {}): string[];
277
- assign<T extends {}, U>(target: T, source: U): T & U;
278
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
279
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
359
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
360
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
361
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
280
362
  assign(target: object, ...sources: any[]): any;
281
363
  getOwnPropertySymbols(o: any): symbol[];
282
364
  is(value1: any, value2: any): boolean;
@@ -302,7 +384,7 @@ declare namespace $ {
302
384
  }
303
385
 
304
386
  declare namespace $ {
305
- function $mol_schema_range<Value extends number | bigint, Min extends Value, Max extends Value>(Min: Min, Max: Max): {
387
+ let $mol_schema_range: <Value extends number | bigint, Range extends [min: Value, max: Value]>(this: void, Range: Range) => {
306
388
  new (value?: any): {
307
389
  constructor: Function;
308
390
  toString(): string;
@@ -312,16 +394,15 @@ declare namespace $ {
312
394
  isPrototypeOf(v: Object): boolean;
313
395
  propertyIsEnumerable(v: PropertyKey): boolean;
314
396
  };
315
- Min: Min;
316
- Max: Max;
397
+ Range: Range;
317
398
  toString(): string;
318
- guard<Value_1>(value: Value_1): Value_1 & Value & { [key in `$mol_schema_range_min=${Min}`]: true; } & { [key_1 in `$mol_schema_range_max=${Max}`]: true; };
399
+ guard<Value_1>(value: Value_1): Value_1 & Value & { [key in `$mol_schema_range_min=${Range[0]}`]: true; } & { [key_1 in `$mol_schema_range_max=${Range[1]}`]: true; };
319
400
  cast(val: Value): Value;
320
- default: Value & { [key in `$mol_schema_range_min=${Min}`]: true; } & { [key in `$mol_schema_range_max=${Max}`]: true; };
401
+ default: Value & { [key in `$mol_schema_range_min=${Range[0]}`]: true; } & { [key_1 in `$mol_schema_range_max=${Range[1]}`]: true; };
321
402
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
322
403
  [Symbol.toStringTag]: string;
323
404
  [$mol_key_handle](): string;
324
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
405
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
325
406
  getPrototypeOf(o: any): any;
326
407
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
327
408
  getOwnPropertyNames(o: any): string[];
@@ -341,9 +422,9 @@ declare namespace $ {
341
422
  isExtensible(o: any): boolean;
342
423
  keys(o: object): string[];
343
424
  keys(o: {}): string[];
344
- assign<T extends {}, U>(target: T, source: U): T & U;
345
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
346
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
425
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
426
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
427
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
347
428
  assign(target: object, ...sources: any[]): any;
348
429
  getOwnPropertySymbols(o: any): symbol[];
349
430
  is(value1: any, value2: any): boolean;
@@ -379,8 +460,7 @@ declare namespace $ {
379
460
  isPrototypeOf(v: Object): boolean;
380
461
  propertyIsEnumerable(v: PropertyKey): boolean;
381
462
  };
382
- Min: 0;
383
- Max: number;
463
+ Range: [0, number];
384
464
  toString(): string;
385
465
  guard<Value>(value: Value): (Value & (number | bigint)) & {
386
466
  "$mol_schema_range_min=0": true;
@@ -388,7 +468,11 @@ declare namespace $ {
388
468
  [x: `$mol_schema_range_max=${number}`]: true;
389
469
  };
390
470
  cast(val: number | bigint): number | bigint;
391
- default: Value & { [key in `$mol_schema_range_min=${Min}`]: true; } & { [key in `$mol_schema_range_max=${Max}`]: true; };
471
+ default: (number | bigint) & {
472
+ "$mol_schema_range_min=0": true;
473
+ } & {
474
+ [x: `$mol_schema_range_max=${number}`]: true;
475
+ };
392
476
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
393
477
  [Symbol.toStringTag]: string;
394
478
  [$mol_key_handle](): string;
@@ -457,7 +541,7 @@ declare namespace $ {
457
541
  toString(): string;
458
542
  guard<Value>(value: Value): never;
459
543
  cast(value: unknown): never;
460
- default: $mol_type_intersect<Schemas[number]["default"]>;
544
+ default: never;
461
545
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
462
546
  [Symbol.toStringTag]: string;
463
547
  [$mol_key_handle](): string;
@@ -512,7 +596,7 @@ declare namespace $ {
512
596
  }
513
597
 
514
598
  declare namespace $ {
515
- function $mol_schema_enum<const Options extends readonly unknown[]>(Options: Options): {
599
+ let $mol_schema_enum: <const Options extends readonly unknown[]>(this: void, Options: Options) => {
516
600
  new (value?: any): {
517
601
  constructor: Function;
518
602
  toString(): string;
@@ -530,7 +614,7 @@ declare namespace $ {
530
614
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
531
615
  [Symbol.toStringTag]: string;
532
616
  [$mol_key_handle](): string;
533
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
617
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
534
618
  getPrototypeOf(o: any): any;
535
619
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
536
620
  getOwnPropertyNames(o: any): string[];
@@ -550,9 +634,9 @@ declare namespace $ {
550
634
  isExtensible(o: any): boolean;
551
635
  keys(o: object): string[];
552
636
  keys(o: {}): string[];
553
- assign<T extends {}, U>(target: T, source: U): T & U;
554
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
555
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
637
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
638
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
639
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
556
640
  assign(target: object, ...sources: any[]): any;
557
641
  getOwnPropertySymbols(o: any): symbol[];
558
642
  is(value1: any, value2: any): boolean;
@@ -588,8 +672,7 @@ declare namespace $ {
588
672
  isPrototypeOf(v: Object): boolean;
589
673
  propertyIsEnumerable(v: PropertyKey): boolean;
590
674
  };
591
- Min: number;
592
- Max: 0;
675
+ Range: [number, 0];
593
676
  toString(): string;
594
677
  guard<Value>(value: Value): (Value & (number | bigint)) & {
595
678
  [x: `$mol_schema_range_min=${number}`]: true;
@@ -597,7 +680,11 @@ declare namespace $ {
597
680
  "$mol_schema_range_max=0": true;
598
681
  };
599
682
  cast(val: number | bigint): number | bigint;
600
- default: Value & { [key in `$mol_schema_range_min=${Min}`]: true; } & { [key in `$mol_schema_range_max=${Max}`]: true; };
683
+ default: (number | bigint) & {
684
+ [x: `$mol_schema_range_min=${number}`]: true;
685
+ } & {
686
+ "$mol_schema_range_max=0": true;
687
+ };
601
688
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
602
689
  [Symbol.toStringTag]: string;
603
690
  [$mol_key_handle](): string;
@@ -652,7 +739,7 @@ declare namespace $ {
652
739
  }
653
740
 
654
741
  declare namespace $ {
655
- function $mol_schema_some<Variants extends readonly (typeof $mol_schema_any)[]>(Variants: Variants): {
742
+ let $mol_schema_some: <Variants extends readonly (typeof $mol_schema_any)[]>(this: void, Variants: Variants) => {
656
743
  new (value?: any): {
657
744
  constructor: Function;
658
745
  toString(): string;
@@ -670,7 +757,7 @@ declare namespace $ {
670
757
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
671
758
  [Symbol.toStringTag]: string;
672
759
  [$mol_key_handle](): string;
673
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
760
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
674
761
  getPrototypeOf(o: any): any;
675
762
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
676
763
  getOwnPropertyNames(o: any): string[];
@@ -690,9 +777,9 @@ declare namespace $ {
690
777
  isExtensible(o: any): boolean;
691
778
  keys(o: object): string[];
692
779
  keys(o: {}): string[];
693
- assign<T extends {}, U>(target: T, source: U): T & U;
694
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
695
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
780
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
781
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
782
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
696
783
  assign(target: object, ...sources: any[]): any;
697
784
  getOwnPropertySymbols(o: any): symbol[];
698
785
  is(value1: any, value2: any): boolean;
@@ -718,7 +805,7 @@ declare namespace $ {
718
805
  }
719
806
 
720
807
  declare namespace $ {
721
- function $mol_schema_maybe<Some extends typeof $mol_schema_any>(Some: Some): {
808
+ let $mol_schema_maybe: <Some extends typeof $mol_schema_any>(this: void, Some: Some) => {
722
809
  new (value?: any): {
723
810
  constructor: Function;
724
811
  toString(): string;
@@ -744,11 +831,11 @@ declare namespace $ {
744
831
  toString(): string;
745
832
  guard<Value>(value: Value): Value & (null | undefined);
746
833
  cast(val: unknown): null | undefined;
747
- default: Options[number];
834
+ default: null | undefined;
748
835
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
749
836
  [Symbol.toStringTag]: string;
750
837
  [$mol_key_handle](): string;
751
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
838
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
752
839
  getPrototypeOf(o: any): any;
753
840
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
754
841
  getOwnPropertyNames(o: any): string[];
@@ -768,9 +855,9 @@ declare namespace $ {
768
855
  isExtensible(o: any): boolean;
769
856
  keys(o: object): string[];
770
857
  keys(o: {}): string[];
771
- assign<T extends {}, U>(target: T, source: U): T & U;
772
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
773
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
858
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
859
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
860
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
774
861
  assign(target: object, ...sources: any[]): any;
775
862
  getOwnPropertySymbols(o: any): symbol[];
776
863
  is(value1: any, value2: any): boolean;
@@ -807,7 +894,7 @@ declare namespace $ {
807
894
  toString(): string;
808
895
  guard<Value_1>(value: Value_1): Value_1 & (null | undefined);
809
896
  cast(val: unknown): null | undefined;
810
- default: Options[number];
897
+ default: null | undefined;
811
898
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
812
899
  [Symbol.toStringTag]: string;
813
900
  [$mol_key_handle](): string;
@@ -817,40 +904,40 @@ declare namespace $ {
817
904
  getOwnPropertyNames(o: any): string[];
818
905
  create(o: object | null): any;
819
906
  create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
820
- defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;
821
- defineProperties<T>(o: T, properties: PropertyDescriptorMap & ThisType<any>): T;
822
- seal<T>(o: T): T;
823
- freeze<T extends Function>(f: T): T;
824
- freeze<T extends {
907
+ defineProperty<T_1>(o: T_1, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T_1;
908
+ defineProperties<T_1>(o: T_1, properties: PropertyDescriptorMap & ThisType<any>): T_1;
909
+ seal<T_1>(o: T_1): T_1;
910
+ freeze<T_1 extends Function>(f: T_1): T_1;
911
+ freeze<T_1 extends {
825
912
  [idx: string]: U | null | undefined | object;
826
- }, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;
827
- freeze<T>(o: T): Readonly<T>;
828
- preventExtensions<T>(o: T): T;
913
+ }, U extends string | bigint | number | boolean | symbol>(o: T_1): Readonly<T_1>;
914
+ freeze<T_1>(o: T_1): Readonly<T_1>;
915
+ preventExtensions<T_1>(o: T_1): T_1;
829
916
  isSealed(o: any): boolean;
830
917
  isFrozen(o: any): boolean;
831
918
  isExtensible(o: any): boolean;
832
919
  keys(o: object): string[];
833
920
  keys(o: {}): string[];
834
- assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
835
- assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
836
- assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
921
+ assign<T_1 extends {}, U_1>(target: T_1, source: U_1): T_1 & U_1;
922
+ assign<T_1 extends {}, U_2, V>(target: T_1, source1: U_2, source2: V): T_1 & U_2 & V;
923
+ assign<T_1 extends {}, U_3, V_1, W>(target: T_1, source1: U_3, source2: V_1, source3: W): T_1 & U_3 & V_1 & W;
837
924
  assign(target: object, ...sources: any[]): any;
838
925
  getOwnPropertySymbols(o: any): symbol[];
839
926
  is(value1: any, value2: any): boolean;
840
927
  setPrototypeOf(o: any, proto: object | null): any;
841
- values<T>(o: {
842
- [s: string]: T;
843
- } | ArrayLike<T>): T[];
928
+ values<T_1>(o: {
929
+ [s: string]: T_1;
930
+ } | ArrayLike<T_1>): T_1[];
844
931
  values(o: {}): any[];
845
- entries<T>(o: {
846
- [s: string]: T;
847
- } | ArrayLike<T>): [string, T][];
932
+ entries<T_1>(o: {
933
+ [s: string]: T_1;
934
+ } | ArrayLike<T_1>): [string, T_1][];
848
935
  entries(o: {}): [string, any][];
849
- getOwnPropertyDescriptors<T>(o: T): { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & {
936
+ getOwnPropertyDescriptors<T_1>(o: T_1): { [P in keyof T_1]: TypedPropertyDescriptor<T_1[P]>; } & {
850
937
  [x: string]: PropertyDescriptor;
851
938
  };
852
- fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): {
853
- [k: string]: T;
939
+ fromEntries<T_1 = any>(entries: Iterable<readonly [PropertyKey, T_1]>): {
940
+ [k: string]: T_1;
854
941
  };
855
942
  fromEntries(entries: Iterable<readonly any[]>): any;
856
943
  hasOwn(o: object, v: PropertyKey): boolean;
@@ -870,99 +957,161 @@ declare namespace $ {
870
957
  toString(): string;
871
958
  guard<Value>(value: Value): Value & (null | undefined);
872
959
  cast(val: unknown): null | undefined;
873
- default: Options[number];
960
+ default: null | undefined;
874
961
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
875
962
  [Symbol.toStringTag]: string;
876
963
  [$mol_key_handle](): string;
877
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
964
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
878
965
  getPrototypeOf(o: any): any;
879
966
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
880
967
  getOwnPropertyNames(o: any): string[];
881
968
  create(o: object | null): any;
882
969
  create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
883
- defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;
884
- defineProperties<T>(o: T, properties: PropertyDescriptorMap & ThisType<any>): T;
885
- seal<T>(o: T): T;
886
- freeze<T extends Function>(f: T): T;
887
- freeze<T extends {
970
+ defineProperty<T_1>(o: T_1, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T_1;
971
+ defineProperties<T_1>(o: T_1, properties: PropertyDescriptorMap & ThisType<any>): T_1;
972
+ seal<T_1>(o: T_1): T_1;
973
+ freeze<T_1 extends Function>(f: T_1): T_1;
974
+ freeze<T_1 extends {
888
975
  [idx: string]: U | null | undefined | object;
889
- }, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;
890
- freeze<T>(o: T): Readonly<T>;
891
- preventExtensions<T>(o: T): T;
976
+ }, U extends string | bigint | number | boolean | symbol>(o: T_1): Readonly<T_1>;
977
+ freeze<T_1>(o: T_1): Readonly<T_1>;
978
+ preventExtensions<T_1>(o: T_1): T_1;
892
979
  isSealed(o: any): boolean;
893
980
  isFrozen(o: any): boolean;
894
981
  isExtensible(o: any): boolean;
895
982
  keys(o: object): string[];
896
983
  keys(o: {}): string[];
897
- assign<T extends {}, U>(target: T, source: U): T & U;
898
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
899
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
984
+ assign<T_1 extends {}, U_1>(target: T_1, source: U_1): T_1 & U_1;
985
+ assign<T_1 extends {}, U_2, V>(target: T_1, source1: U_2, source2: V): T_1 & U_2 & V;
986
+ assign<T_1 extends {}, U_3, V_1, W>(target: T_1, source1: U_3, source2: V_1, source3: W): T_1 & U_3 & V_1 & W;
900
987
  assign(target: object, ...sources: any[]): any;
901
988
  getOwnPropertySymbols(o: any): symbol[];
902
989
  is(value1: any, value2: any): boolean;
903
990
  setPrototypeOf(o: any, proto: object | null): any;
904
- values<T>(o: {
905
- [s: string]: T;
906
- } | ArrayLike<T>): T[];
991
+ values<T_1>(o: {
992
+ [s: string]: T_1;
993
+ } | ArrayLike<T_1>): T_1[];
907
994
  values(o: {}): any[];
908
- entries<T>(o: {
909
- [s: string]: T;
910
- } | ArrayLike<T>): [string, T][];
995
+ entries<T_1>(o: {
996
+ [s: string]: T_1;
997
+ } | ArrayLike<T_1>): [string, T_1][];
911
998
  entries(o: {}): [string, any][];
912
- getOwnPropertyDescriptors<T>(o: T): { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & {
999
+ getOwnPropertyDescriptors<T_1>(o: T_1): { [P in keyof T_1]: TypedPropertyDescriptor<T_1[P]>; } & {
913
1000
  [x: string]: PropertyDescriptor;
914
1001
  };
915
- fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): {
916
- [k: string]: T;
1002
+ fromEntries<T_1 = any>(entries: Iterable<readonly [PropertyKey, T_1]>): {
1003
+ [k: string]: T_1;
1004
+ };
1005
+ fromEntries(entries: Iterable<readonly any[]>): any;
1006
+ hasOwn(o: object, v: PropertyKey): boolean;
1007
+ groupBy<K extends PropertyKey, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Partial<Record<K, T[]>>;
1008
+ })["default"];
1009
+ default: (Some | {
1010
+ new (value?: any): {
1011
+ constructor: Function;
1012
+ toString(): string;
1013
+ toLocaleString(): string;
1014
+ valueOf(): Object;
1015
+ hasOwnProperty(v: PropertyKey): boolean;
1016
+ isPrototypeOf(v: Object): boolean;
1017
+ propertyIsEnumerable(v: PropertyKey): boolean;
1018
+ };
1019
+ Options: readonly [undefined, null];
1020
+ toString(): string;
1021
+ guard<Value>(value: Value): Value & (null | undefined);
1022
+ cast(val: unknown): null | undefined;
1023
+ default: null | undefined;
1024
+ check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
1025
+ [Symbol.toStringTag]: string;
1026
+ [$mol_key_handle](): string;
1027
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
1028
+ getPrototypeOf(o: any): any;
1029
+ getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
1030
+ getOwnPropertyNames(o: any): string[];
1031
+ create(o: object | null): any;
1032
+ create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
1033
+ defineProperty<T_1>(o: T_1, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T_1;
1034
+ defineProperties<T_1>(o: T_1, properties: PropertyDescriptorMap & ThisType<any>): T_1;
1035
+ seal<T_1>(o: T_1): T_1;
1036
+ freeze<T_1 extends Function>(f: T_1): T_1;
1037
+ freeze<T_1 extends {
1038
+ [idx: string]: U | null | undefined | object;
1039
+ }, U extends string | bigint | number | boolean | symbol>(o: T_1): Readonly<T_1>;
1040
+ freeze<T_1>(o: T_1): Readonly<T_1>;
1041
+ preventExtensions<T_1>(o: T_1): T_1;
1042
+ isSealed(o: any): boolean;
1043
+ isFrozen(o: any): boolean;
1044
+ isExtensible(o: any): boolean;
1045
+ keys(o: object): string[];
1046
+ keys(o: {}): string[];
1047
+ assign<T_1 extends {}, U_1>(target: T_1, source: U_1): T_1 & U_1;
1048
+ assign<T_1 extends {}, U_2, V>(target: T_1, source1: U_2, source2: V): T_1 & U_2 & V;
1049
+ assign<T_1 extends {}, U_3, V_1, W>(target: T_1, source1: U_3, source2: V_1, source3: W): T_1 & U_3 & V_1 & W;
1050
+ assign(target: object, ...sources: any[]): any;
1051
+ getOwnPropertySymbols(o: any): symbol[];
1052
+ is(value1: any, value2: any): boolean;
1053
+ setPrototypeOf(o: any, proto: object | null): any;
1054
+ values<T_1>(o: {
1055
+ [s: string]: T_1;
1056
+ } | ArrayLike<T_1>): T_1[];
1057
+ values(o: {}): any[];
1058
+ entries<T_1>(o: {
1059
+ [s: string]: T_1;
1060
+ } | ArrayLike<T_1>): [string, T_1][];
1061
+ entries(o: {}): [string, any][];
1062
+ getOwnPropertyDescriptors<T_1>(o: T_1): { [P in keyof T_1]: TypedPropertyDescriptor<T_1[P]>; } & {
1063
+ [x: string]: PropertyDescriptor;
1064
+ };
1065
+ fromEntries<T_1 = any>(entries: Iterable<readonly [PropertyKey, T_1]>): {
1066
+ [k: string]: T_1;
917
1067
  };
918
1068
  fromEntries(entries: Iterable<readonly any[]>): any;
919
1069
  hasOwn(o: object, v: PropertyKey): boolean;
920
1070
  groupBy<K extends PropertyKey, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Partial<Record<K, T[]>>;
921
1071
  })["default"];
922
- default: Variants[number]["default"];
923
1072
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
924
1073
  [Symbol.toStringTag]: string;
925
1074
  [$mol_key_handle](): string;
926
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
1075
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
927
1076
  getPrototypeOf(o: any): any;
928
1077
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
929
1078
  getOwnPropertyNames(o: any): string[];
930
1079
  create(o: object | null): any;
931
1080
  create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
932
- defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;
933
- defineProperties<T>(o: T, properties: PropertyDescriptorMap & ThisType<any>): T;
934
- seal<T>(o: T): T;
935
- freeze<T extends Function>(f: T): T;
936
- freeze<T extends {
1081
+ defineProperty<T_1>(o: T_1, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T_1;
1082
+ defineProperties<T_1>(o: T_1, properties: PropertyDescriptorMap & ThisType<any>): T_1;
1083
+ seal<T_1>(o: T_1): T_1;
1084
+ freeze<T_1 extends Function>(f: T_1): T_1;
1085
+ freeze<T_1 extends {
937
1086
  [idx: string]: U | null | undefined | object;
938
- }, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;
939
- freeze<T>(o: T): Readonly<T>;
940
- preventExtensions<T>(o: T): T;
1087
+ }, U extends string | bigint | number | boolean | symbol>(o: T_1): Readonly<T_1>;
1088
+ freeze<T_1>(o: T_1): Readonly<T_1>;
1089
+ preventExtensions<T_1>(o: T_1): T_1;
941
1090
  isSealed(o: any): boolean;
942
1091
  isFrozen(o: any): boolean;
943
1092
  isExtensible(o: any): boolean;
944
1093
  keys(o: object): string[];
945
1094
  keys(o: {}): string[];
946
- assign<T extends {}, U>(target: T, source: U): T & U;
947
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
948
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
1095
+ assign<T_1 extends {}, U_1>(target: T_1, source: U_1): T_1 & U_1;
1096
+ assign<T_1 extends {}, U_2, V>(target: T_1, source1: U_2, source2: V): T_1 & U_2 & V;
1097
+ assign<T_1 extends {}, U_3, V_1, W>(target: T_1, source1: U_3, source2: V_1, source3: W): T_1 & U_3 & V_1 & W;
949
1098
  assign(target: object, ...sources: any[]): any;
950
1099
  getOwnPropertySymbols(o: any): symbol[];
951
1100
  is(value1: any, value2: any): boolean;
952
1101
  setPrototypeOf(o: any, proto: object | null): any;
953
- values<T>(o: {
954
- [s: string]: T;
955
- } | ArrayLike<T>): T[];
1102
+ values<T_1>(o: {
1103
+ [s: string]: T_1;
1104
+ } | ArrayLike<T_1>): T_1[];
956
1105
  values(o: {}): any[];
957
- entries<T>(o: {
958
- [s: string]: T;
959
- } | ArrayLike<T>): [string, T][];
1106
+ entries<T_1>(o: {
1107
+ [s: string]: T_1;
1108
+ } | ArrayLike<T_1>): [string, T_1][];
960
1109
  entries(o: {}): [string, any][];
961
- getOwnPropertyDescriptors<T>(o: T): { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & {
1110
+ getOwnPropertyDescriptors<T_1>(o: T_1): { [P in keyof T_1]: TypedPropertyDescriptor<T_1[P]>; } & {
962
1111
  [x: string]: PropertyDescriptor;
963
1112
  };
964
- fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): {
965
- [k: string]: T;
1113
+ fromEntries<T_1 = any>(entries: Iterable<readonly [PropertyKey, T_1]>): {
1114
+ [k: string]: T_1;
966
1115
  };
967
1116
  fromEntries(entries: Iterable<readonly any[]>): any;
968
1117
  hasOwn(o: object, v: PropertyKey): boolean;
@@ -971,7 +1120,7 @@ declare namespace $ {
971
1120
  }
972
1121
 
973
1122
  declare namespace $ {
974
- function $mol_schema_list<Item extends typeof $mol_schema_any>(Item: Item): {
1123
+ let $mol_schema_list: <Item extends typeof $mol_schema_any>(this: void, Item: Item) => {
975
1124
  new (value?: any): {
976
1125
  constructor: Function;
977
1126
  toString(): string;
@@ -985,11 +1134,11 @@ declare namespace $ {
985
1134
  toString(): string;
986
1135
  guard<Value>(value: Value): Value & readonly Item["default"][];
987
1136
  cast(value: unknown): readonly Item["default"][];
988
- default: readonly (Item["default"])[];
1137
+ default: readonly Item["default"][];
989
1138
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
990
1139
  [Symbol.toStringTag]: string;
991
1140
  [$mol_key_handle](): string;
992
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
1141
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
993
1142
  getPrototypeOf(o: any): any;
994
1143
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
995
1144
  getOwnPropertyNames(o: any): string[];
@@ -1009,9 +1158,9 @@ declare namespace $ {
1009
1158
  isExtensible(o: any): boolean;
1010
1159
  keys(o: object): string[];
1011
1160
  keys(o: {}): string[];
1012
- assign<T extends {}, U>(target: T, source: U): T & U;
1013
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
1014
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
1161
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
1162
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
1163
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
1015
1164
  assign(target: object, ...sources: any[]): any;
1016
1165
  getOwnPropertySymbols(o: any): symbol[];
1017
1166
  is(value1: any, value2: any): boolean;
@@ -1037,9 +1186,9 @@ declare namespace $ {
1037
1186
  }
1038
1187
 
1039
1188
  declare namespace $ {
1040
- function $mol_schema_dict<Key extends typeof $mol_schema_any & {
1189
+ let $mol_schema_dict: <Pair extends [Key: typeof $mol_schema_any & {
1041
1190
  default: PropertyKey;
1042
- }, Val extends typeof $mol_schema_any>(Key: Key, Val: Val): {
1191
+ }, Val: typeof $mol_schema_any]>(this: void, Pair: Pair) => {
1043
1192
  new (value?: any): {
1044
1193
  constructor: Function;
1045
1194
  toString(): string;
@@ -1049,13 +1198,12 @@ declare namespace $ {
1049
1198
  isPrototypeOf(v: Object): boolean;
1050
1199
  propertyIsEnumerable(v: PropertyKey): boolean;
1051
1200
  };
1052
- Key: Key;
1053
- Val: Val;
1201
+ Pair: Pair;
1054
1202
  toString(): string;
1055
- guard<Value>(value: Value): Value & Record<Key["default"], Val["default"]>;
1056
- cast(value: unknown): Record<Key["default"], Val["default"]>;
1057
- default: Record<Key["default"], Val["default"]>;
1058
- check<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
1203
+ guard<Value>(value: Value): Value & Record<Pair[0]["default"], Pair[1]["default"]>;
1204
+ cast(value: unknown): Record<Pair[0]["default"], Pair[1]["default"]>;
1205
+ default: Record<Pair[0]["default"], Pair[1]["default"]>;
1206
+ check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
1059
1207
  [Symbol.toStringTag]: string;
1060
1208
  [$mol_key_handle](): string;
1061
1209
  [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
@@ -1078,9 +1226,9 @@ declare namespace $ {
1078
1226
  isExtensible(o: any): boolean;
1079
1227
  keys(o: object): string[];
1080
1228
  keys(o: {}): string[];
1081
- assign<T extends {}, U>(target: T, source: U): T & U;
1082
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
1083
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
1229
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
1230
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
1231
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
1084
1232
  assign(target: object, ...sources: any[]): any;
1085
1233
  getOwnPropertySymbols(o: any): symbol[];
1086
1234
  is(value1: any, value2: any): boolean;
@@ -1106,7 +1254,7 @@ declare namespace $ {
1106
1254
  }
1107
1255
 
1108
1256
  declare namespace $ {
1109
- function $mol_schema_record<Fields extends Record<string, typeof $mol_schema_any>>(Fields: Fields): {
1257
+ let $mol_schema_record: <Fields extends Record<string, typeof $mol_schema_any>>(this: void, Fields: Fields) => {
1110
1258
  new (value?: any): {
1111
1259
  constructor: Function;
1112
1260
  toString(): string;
@@ -1120,11 +1268,11 @@ declare namespace $ {
1120
1268
  toString(): string;
1121
1269
  guard<Value>(value: Value): Value & { readonly [key in keyof Fields]: Fields[key]["default"]; };
1122
1270
  cast(value: unknown): { readonly [key in keyof Fields]: Fields[key]["default"]; };
1123
- default: { readonly [key in keyof typeof Fields]: (typeof Fields)[key]["default"]; };
1271
+ default: { readonly [key in keyof Fields]: Fields[key]["default"]; };
1124
1272
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
1125
1273
  [Symbol.toStringTag]: string;
1126
1274
  [$mol_key_handle](): string;
1127
- [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
1275
+ [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
1128
1276
  getPrototypeOf(o: any): any;
1129
1277
  getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
1130
1278
  getOwnPropertyNames(o: any): string[];
@@ -1144,9 +1292,9 @@ declare namespace $ {
1144
1292
  isExtensible(o: any): boolean;
1145
1293
  keys(o: object): string[];
1146
1294
  keys(o: {}): string[];
1147
- assign<T extends {}, U>(target: T, source: U): T & U;
1148
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
1149
- assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
1295
+ assign<T extends {}, U_1>(target: T, source: U_1): T & U_1;
1296
+ assign<T extends {}, U_2, V>(target: T, source1: U_2, source2: V): T & U_2 & V;
1297
+ assign<T extends {}, U_3, V_1, W>(target: T, source1: U_3, source2: V_1, source3: W): T & U_3 & V_1 & W;
1150
1298
  assign(target: object, ...sources: any[]): any;
1151
1299
  getOwnPropertySymbols(o: any): symbol[];
1152
1300
  is(value1: any, value2: any): boolean;
@@ -1190,7 +1338,9 @@ declare namespace $ {
1190
1338
  cast(value: unknown): {
1191
1339
  readonly [x: string]: any;
1192
1340
  };
1193
- default: { readonly [key in keyof typeof Fields_1]: (typeof Fields_1)[key]["default"]; };
1341
+ default: {
1342
+ readonly [x: string]: any;
1343
+ };
1194
1344
  check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
1195
1345
  [Symbol.toStringTag]: string;
1196
1346
  [$mol_key_handle](): string;