bupkis 0.10.6 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/commonjs/assertion/impl/async-parametric.d.ts +2 -17
  3. package/dist/commonjs/assertion/impl/async-parametric.d.ts.map +1 -1
  4. package/dist/commonjs/assertion/impl/async-parametric.js +2 -17
  5. package/dist/commonjs/assertion/impl/async-parametric.js.map +1 -1
  6. package/dist/commonjs/assertion/impl/async.d.ts +0 -16
  7. package/dist/commonjs/assertion/impl/async.d.ts.map +1 -1
  8. package/dist/commonjs/assertion/impl/sync-collection.d.ts +54 -89
  9. package/dist/commonjs/assertion/impl/sync-collection.d.ts.map +1 -1
  10. package/dist/commonjs/assertion/impl/sync-collection.js +122 -181
  11. package/dist/commonjs/assertion/impl/sync-collection.js.map +1 -1
  12. package/dist/commonjs/assertion/impl/sync-date.d.ts +130 -15
  13. package/dist/commonjs/assertion/impl/sync-date.d.ts.map +1 -1
  14. package/dist/commonjs/assertion/impl/sync-date.js +4 -59
  15. package/dist/commonjs/assertion/impl/sync-date.js.map +1 -1
  16. package/dist/commonjs/assertion/impl/sync-parametric.d.ts +2 -6
  17. package/dist/commonjs/assertion/impl/sync-parametric.d.ts.map +1 -1
  18. package/dist/commonjs/assertion/impl/sync-parametric.js +2 -4
  19. package/dist/commonjs/assertion/impl/sync-parametric.js.map +1 -1
  20. package/dist/commonjs/assertion/impl/sync.d.ts +297 -108
  21. package/dist/commonjs/assertion/impl/sync.d.ts.map +1 -1
  22. package/dist/commonjs/assertion/impl/sync.js +5 -1
  23. package/dist/commonjs/assertion/impl/sync.js.map +1 -1
  24. package/dist/commonjs/bootstrap.d.ts +146 -62
  25. package/dist/commonjs/bootstrap.d.ts.map +1 -1
  26. package/dist/commonjs/diff.d.ts.map +1 -1
  27. package/dist/commonjs/diff.js +20 -32
  28. package/dist/commonjs/diff.js.map +1 -1
  29. package/dist/commonjs/index.d.ts +143 -59
  30. package/dist/commonjs/index.d.ts.map +1 -1
  31. package/dist/commonjs/schema.d.ts +165 -0
  32. package/dist/commonjs/schema.d.ts.map +1 -1
  33. package/dist/commonjs/schema.js +176 -1
  34. package/dist/commonjs/schema.js.map +1 -1
  35. package/dist/esm/assertion/impl/async-parametric.d.ts +2 -17
  36. package/dist/esm/assertion/impl/async-parametric.d.ts.map +1 -1
  37. package/dist/esm/assertion/impl/async-parametric.js +2 -17
  38. package/dist/esm/assertion/impl/async-parametric.js.map +1 -1
  39. package/dist/esm/assertion/impl/async.d.ts +0 -16
  40. package/dist/esm/assertion/impl/async.d.ts.map +1 -1
  41. package/dist/esm/assertion/impl/sync-collection.d.ts +54 -89
  42. package/dist/esm/assertion/impl/sync-collection.d.ts.map +1 -1
  43. package/dist/esm/assertion/impl/sync-collection.js +122 -181
  44. package/dist/esm/assertion/impl/sync-collection.js.map +1 -1
  45. package/dist/esm/assertion/impl/sync-date.d.ts +130 -15
  46. package/dist/esm/assertion/impl/sync-date.d.ts.map +1 -1
  47. package/dist/esm/assertion/impl/sync-date.js +4 -59
  48. package/dist/esm/assertion/impl/sync-date.js.map +1 -1
  49. package/dist/esm/assertion/impl/sync-parametric.d.ts +2 -6
  50. package/dist/esm/assertion/impl/sync-parametric.d.ts.map +1 -1
  51. package/dist/esm/assertion/impl/sync-parametric.js +2 -4
  52. package/dist/esm/assertion/impl/sync-parametric.js.map +1 -1
  53. package/dist/esm/assertion/impl/sync.d.ts +297 -108
  54. package/dist/esm/assertion/impl/sync.d.ts.map +1 -1
  55. package/dist/esm/assertion/impl/sync.js +6 -2
  56. package/dist/esm/assertion/impl/sync.js.map +1 -1
  57. package/dist/esm/bootstrap.d.ts +146 -62
  58. package/dist/esm/bootstrap.d.ts.map +1 -1
  59. package/dist/esm/diff.d.ts.map +1 -1
  60. package/dist/esm/diff.js +20 -32
  61. package/dist/esm/diff.js.map +1 -1
  62. package/dist/esm/index.d.ts +143 -59
  63. package/dist/esm/index.d.ts.map +1 -1
  64. package/dist/esm/schema.d.ts +165 -0
  65. package/dist/esm/schema.d.ts.map +1 -1
  66. package/dist/esm/schema.js +175 -0
  67. package/dist/esm/schema.js.map +1 -1
  68. package/package.json +2 -2
  69. package/src/assertion/impl/async-parametric.ts +2 -17
  70. package/src/assertion/impl/sync-collection.ts +135 -191
  71. package/src/assertion/impl/sync-date.ts +37 -105
  72. package/src/assertion/impl/sync-parametric.ts +2 -4
  73. package/src/assertion/impl/sync.ts +5 -2
  74. package/src/diff.ts +27 -32
  75. package/src/schema.ts +179 -0
@@ -19,11 +19,15 @@ import { z } from 'zod/v4';
19
19
  * @bupkisAnchor map-to-contain-any
20
20
  * @bupkisAssertionCategory collections
21
21
  */
22
- export declare const mapContainsAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<[z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to contain", "to include"], z.ZodUnknown], (subject: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, key: unknown) => true | {
22
+ export declare const mapContainsAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<[z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to contain", "to include"], z.ZodUnknown], (subject: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, key: unknown) => {
23
+ message: string;
24
+ actual?: never;
25
+ expected?: never;
26
+ } | {
23
27
  actual: unknown;
24
28
  expected: string;
25
29
  message: string;
26
- }, readonly [z.ZodUnion<[z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, z.ZodUnknown]>;
30
+ } | undefined, readonly [z.ZodUnion<[z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, z.ZodUnknown]>;
27
31
  /**
28
32
  * Asserts that a Map has a specific size.
29
33
  *
@@ -42,11 +46,7 @@ export declare const mapContainsAssertion: import("../assertion-types.js").Asser
42
46
  * @bupkisAnchor map-to-have-size-nonnegative-integer
43
47
  * @bupkisAssertionCategory collections
44
48
  */
45
- export declare const mapSizeAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, "to have size", z.ZodInt], (subject: Map<unknown, unknown>, expectedSize: number) => true | {
46
- actual: number;
47
- expected: number;
48
- message: string;
49
- }, readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, z.ZodInt]>;
49
+ export declare const mapSizeAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have size", z.ZodInt], (_subject: Map<unknown, unknown>, expectedSize: number) => z.ZodMap<z.ZodUnknown, z.ZodUnknown>, readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, z.ZodInt]>;
50
50
  /**
51
51
  * Asserts that a Map is empty.
52
52
  *
@@ -61,7 +61,7 @@ export declare const mapSizeAssertion: import("../assertion-types.js").Assertion
61
61
  * @bupkisAnchor map-to-be-empty
62
62
  * @bupkisAssertionCategory collections
63
63
  */
64
- export declare const emptyMapAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, "to be empty"], (subject: Map<unknown, unknown>) => boolean, readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>;
64
+ export declare const emptyMapAssertion: import("../assertion-types.js").AssertionSchemaSync<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"]>, readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>;
65
65
  /**
66
66
  * Asserts that a Set or WeakSet contains a specific value. For WeakSet, the
67
67
  * value must be an object.
@@ -82,11 +82,15 @@ export declare const emptyMapAssertion: import("../assertion-types.js").Assertio
82
82
  * @bupkisAnchor set-to-contain-any
83
83
  * @bupkisAssertionCategory collections
84
84
  */
85
- export declare const setContainsAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<[z.ZodSet<z.ZodUnknown>, z.ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, readonly ["to contain", "to include"], z.ZodUnknown], (subject: Set<unknown> | WeakSet<WeakKey>, value: unknown) => true | {
85
+ export declare const setContainsAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<[z.ZodCustom<Set<unknown>, Set<unknown>>, z.ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, readonly ["to contain", "to include"], z.ZodUnknown], (subject: Set<unknown> | WeakSet<WeakKey>, value: unknown) => {
86
+ message: string;
87
+ actual?: never;
88
+ expected?: never;
89
+ } | {
86
90
  actual: unknown;
87
91
  expected: string;
88
92
  message: string;
89
- }, readonly [z.ZodUnion<[z.ZodSet<z.ZodUnknown>, z.ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, z.ZodUnknown]>;
93
+ } | undefined, readonly [z.ZodUnion<[z.ZodCustom<Set<unknown>, Set<unknown>>, z.ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, z.ZodUnknown]>;
90
94
  /**
91
95
  * Asserts that a Set has a specific size.
92
96
  *
@@ -102,11 +106,7 @@ export declare const setContainsAssertion: import("../assertion-types.js").Asser
102
106
  * @bupkisAnchor set-to-have-size-nonnegative-integer
103
107
  * @bupkisAssertionCategory collections
104
108
  */
105
- export declare const setSizeAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to have size", z.ZodInt], (subject: Set<unknown>, expectedSize: number) => {
106
- actual: number;
107
- expected: number;
108
- message: string;
109
- } | undefined, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, z.ZodInt]>;
109
+ export declare const setSizeAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to have size", z.ZodInt], (_subject: Set<unknown>, expectedSize: number) => z.ZodSet<z.ZodUnknown>, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, z.ZodInt]>;
110
110
  /**
111
111
  * Asserts that a Set is empty.
112
112
  *
@@ -121,11 +121,7 @@ export declare const setSizeAssertion: import("../assertion-types.js").Assertion
121
121
  * @bupkisAnchor set-to-be-empty
122
122
  * @bupkisAssertionCategory collections
123
123
  */
124
- export declare const emptySetAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to be empty"], (subject: Set<unknown>) => {
125
- actual: number;
126
- expected: number;
127
- message: string;
128
- } | undefined, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>;
124
+ export declare const emptySetAssertion: import("../assertion-types.js").AssertionSchemaSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"]>, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>;
129
125
  /**
130
126
  * Asserts that an array contains a specific value.
131
127
  *
@@ -140,18 +136,16 @@ export declare const emptySetAssertion: import("../assertion-types.js").Assertio
140
136
  * @bupkisAnchor array-to-contain-any
141
137
  * @bupkisAssertionCategory collections
142
138
  */
143
- export declare const arrayContainsAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodArray<z.ZodAny>, readonly ["to contain", "to include"], z.ZodAny], (subject: any[], value: any) => true | {
144
- actual: any[];
145
- expected: string;
139
+ export declare const arrayContainsAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodArray<z.ZodUnknown>, readonly ["to contain", "to include"], z.ZodUnknown], (subject: unknown[], value: unknown) => {
146
140
  message: string;
147
- }, readonly [z.ZodArray<z.ZodAny>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, z.ZodAny]>;
141
+ } | undefined, readonly [z.ZodArray<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, z.ZodUnknown]>;
148
142
  /**
149
143
  * Asserts that an array has a specific size.
150
144
  *
151
145
  * @example
152
146
  *
153
147
  * ```ts
154
- * expect([1, 2, 3], 'to have size', 3); // passes
148
+ * expect([1, 2, 3], 'to have length', 3); // passes
155
149
  * expect([1, 2, 3], 'to have size', 2); // fails
156
150
  * ```
157
151
  *
@@ -159,26 +153,7 @@ export declare const arrayContainsAssertion: import("../assertion-types.js").Ass
159
153
  * @bupkisAnchor array-to-have-size-nonnegative-integer
160
154
  * @bupkisAssertionCategory collections
161
155
  */
162
- export declare const arraySizeAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodArray<z.ZodAny>, "to have size", z.ZodInt], (subject: any[], expectedSize: number) => true | {
163
- actual: number;
164
- expected: number;
165
- message: string;
166
- }, readonly [z.ZodArray<z.ZodAny>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, z.ZodInt]>;
167
- /**
168
- * Asserts that an array has a specific length.
169
- *
170
- * @example
171
- *
172
- * ```ts
173
- * expect([1, 2, 3], 'to have length', 3); // passes
174
- * expect([1, 2, 3], 'to have length', 2); // fails
175
- * ```
176
- *
177
- * @group Collection Assertions
178
- * @bupkisAnchor array-to-have-length-nonnegative-integer
179
- * @bupkisAssertionCategory collections
180
- */
181
- export declare const arrayLengthAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodArray<z.ZodUnknown>, "to have length", z.ZodInt], (_: unknown[], expectedLength: number) => z.ZodArray<z.ZodUnknown>, readonly [z.ZodArray<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have length">, z.ZodInt]>;
156
+ export declare const arraySizeAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodArray<z.ZodUnknown>, readonly ["to have length", "to have size"], z.ZodInt], (_subject: unknown[], expectedSize: number) => z.ZodArray<z.ZodUnknown>, readonly [z.ZodArray<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have length", "to have size"]>, z.ZodInt]>;
182
157
  /**
183
158
  * Asserts that an array is non-empty.
184
159
  *
@@ -193,11 +168,7 @@ export declare const arrayLengthAssertion: import("../assertion-types.js").Asser
193
168
  * @bupkisAnchor array-not-to-be-empty
194
169
  * @bupkisAssertionCategory collections
195
170
  */
196
- export declare const nonEmptyArrayAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodArray<z.ZodUnknown>, "to be non-empty"], (subject: unknown[]) => {
197
- actual: string;
198
- expected: string;
199
- message: string;
200
- } | undefined, readonly [z.ZodArray<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>;
171
+ export declare const nonEmptyArrayAssertion: import("../assertion-types.js").AssertionSchemaSync<readonly [z.ZodArray<z.ZodUnknown>, "to be non-empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [z.ZodArray<z.ZodUnknown>, "to be non-empty"]>, readonly [z.ZodArray<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>;
201
172
  /**
202
173
  * Asserts that an object has specific keys/properties.
203
174
  *
@@ -212,11 +183,7 @@ export declare const nonEmptyArrayAssertion: import("../assertion-types.js").Ass
212
183
  * @bupkisAnchor object-to-have-keys-array
213
184
  * @bupkisAssertionCategory object
214
185
  */
215
- export declare const objectKeysAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have keys", "to have properties", "to have props"], z.ZodArray<z.ZodString>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keys: string[]) => {
216
- actual: string;
217
- expected: string;
218
- message: string;
219
- } | undefined, readonly [z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props"]>, z.ZodArray<z.ZodString>]>;
186
+ export declare const objectKeysAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have keys", "to have properties", "to have props", "to contain keys", "to contain properties", "to contain props", "to include keys", "to include properties", "to include props"], z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodSymbol]>>], (_subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keys: (string | number | symbol)[]) => z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly [z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props", "to contain keys", "to contain properties", "to contain props", "to include keys", "to include properties", "to include props"]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodSymbol]>>]>;
220
187
  /**
221
188
  * Asserts that an object has a property at the specified keypath using dot or
222
189
  * bracket notation. Uses the `has()` function to traverse nested properties and
@@ -247,11 +214,11 @@ export declare const objectKeysAssertion: import("../assertion-types.js").Assert
247
214
  * @bupkisAnchor object-to-have-key-string-number-symbol
248
215
  * @bupkisAssertionCategory object
249
216
  */
250
- export declare const objectKeyAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have key", "to have property", "to have prop"], z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keypath: string) => {
217
+ export declare const objectKeyAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have key", "to have property", "to have prop", "to contain key", "to contain property", "to contain prop", "to include key", "to include property", "to include prop"], z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keypath: string) => {
251
218
  actual: string;
252
219
  expect: string;
253
220
  message: string;
254
- } | undefined, readonly [z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have key", "to have property", "to have prop"]>, z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>]>;
221
+ } | undefined, readonly [z.ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have key", "to have property", "to have prop", "to contain key", "to contain property", "to contain prop", "to include key", "to include property", "to include prop"]>, z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>]>;
255
222
  /**
256
223
  * Asserts that an object has an exact property key without keypath traversal.
257
224
  * This assertion checks for direct properties on the object and supports
@@ -325,7 +292,7 @@ export declare const objectSizeAssertion: import("../assertion-types.js").Assert
325
292
  * @bupkisAnchor set-to-equal-set
326
293
  * @bupkisAssertionCategory collections
327
294
  */
328
- export declare const setEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to equal", z.ZodSet<z.ZodUnknown>], (actual: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, z.ZodSet<z.ZodUnknown>]>;
295
+ export declare const setEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to equal", z.ZodCustom<Set<unknown>, Set<unknown>>], (actual: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
329
296
  /**
330
297
  * Asserts that one Set is a subset of another.
331
298
  *
@@ -340,7 +307,7 @@ export declare const setEqualityAssertion: import("../assertion-types.js").Asser
340
307
  * @bupkisAnchor set-to-be-a-subset-of-set
341
308
  * @bupkisAssertionCategory collections
342
309
  */
343
- export declare const setSubsetAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to be a subset of", z.ZodSet<z.ZodUnknown>], (subset: Set<unknown>, superset: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be a subset of">, z.ZodSet<z.ZodUnknown>]>;
310
+ export declare const setSubsetAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to be a subset of", z.ZodCustom<Set<unknown>, Set<unknown>>], (subset: Set<unknown>, superset: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be a subset of">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
344
311
  /**
345
312
  * Asserts that one Set is a superset of another.
346
313
  *
@@ -355,7 +322,7 @@ export declare const setSubsetAssertion: import("../assertion-types.js").Asserti
355
322
  * @bupkisAnchor set-to-be-a-superset-of-set
356
323
  * @bupkisAssertionCategory collections
357
324
  */
358
- export declare const setSupersetAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to be a superset of", z.ZodSet<z.ZodUnknown>], (superset: Set<unknown>, subset: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be a superset of">, z.ZodSet<z.ZodUnknown>]>;
325
+ export declare const setSupersetAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to be a superset of", z.ZodCustom<Set<unknown>, Set<unknown>>], (superset: Set<unknown>, subset: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be a superset of">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
359
326
  /**
360
327
  * Asserts that two Sets intersect (have common elements).
361
328
  *
@@ -370,7 +337,7 @@ export declare const setSupersetAssertion: import("../assertion-types.js").Asser
370
337
  * @bupkisAnchor set-to-have-intersection-with-set-satisfying-any
371
338
  * @bupkisAssertionCategory collections
372
339
  */
373
- export declare const setIntersectionAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to intersect with", z.ZodSet<z.ZodUnknown>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to intersect with">, z.ZodSet<z.ZodUnknown>]>;
340
+ export declare const setIntersectionAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to intersect with", z.ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to intersect with">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
374
341
  /**
375
342
  * Asserts that two Sets are disjoint (have no common elements).
376
343
  *
@@ -385,7 +352,7 @@ export declare const setIntersectionAssertion: import("../assertion-types.js").A
385
352
  * @bupkisAnchor set-to-be-disjoint-from-set
386
353
  * @bupkisAssertionCategory collections
387
354
  */
388
- export declare const setDisjointAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to be disjoint from", z.ZodSet<z.ZodUnknown>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be disjoint from">, z.ZodSet<z.ZodUnknown>]>;
355
+ export declare const setDisjointAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to be disjoint from", z.ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be disjoint from">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
389
356
  /**
390
357
  * Asserts that the union of two Sets equals a third Set.
391
358
  *
@@ -405,7 +372,7 @@ export declare const setDisjointAssertion: import("../assertion-types.js").Asser
405
372
  * @bupkisAnchor set-union-with-set-to-equal-set
406
373
  * @bupkisAssertionCategory collections
407
374
  */
408
- export declare const setUnionEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to have union", z.ZodSet<z.ZodUnknown>, "equal to", z.ZodSet<z.ZodUnknown>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have union">, z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, z.ZodSet<z.ZodUnknown>]>;
375
+ export declare const setUnionEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to have union", z.ZodCustom<Set<unknown>, Set<unknown>>, "equal to", z.ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have union">, z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
409
376
  /**
410
377
  * Asserts that the intersection of two Sets equals a third Set.
411
378
  *
@@ -425,7 +392,7 @@ export declare const setUnionEqualityAssertion: import("../assertion-types.js").
425
392
  * @bupkisAnchor set-intersection-with-set-to-equal-set
426
393
  * @bupkisAssertionCategory collections
427
394
  */
428
- export declare const setIntersectionEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to have intersection", z.ZodSet<z.ZodUnknown>, "equal to", z.ZodSet<z.ZodUnknown>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have intersection">, z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, z.ZodSet<z.ZodUnknown>]>;
395
+ export declare const setIntersectionEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to have intersection", z.ZodCustom<Set<unknown>, Set<unknown>>, "equal to", z.ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have intersection">, z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
429
396
  /**
430
397
  * Asserts that the difference between two Sets equals a third Set.
431
398
  *
@@ -445,7 +412,7 @@ export declare const setIntersectionEqualityAssertion: import("../assertion-type
445
412
  * @bupkisAnchor set-difference-with-set-to-equal-set
446
413
  * @bupkisAssertionCategory collections
447
414
  */
448
- export declare const setDifferenceEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to have difference", z.ZodSet<z.ZodUnknown>, "equal to", z.ZodSet<z.ZodUnknown>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have difference">, z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, z.ZodSet<z.ZodUnknown>]>;
415
+ export declare const setDifferenceEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to have difference", z.ZodCustom<Set<unknown>, Set<unknown>>, "equal to", z.ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have difference">, z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
449
416
  /**
450
417
  * Asserts that the symmetric difference between two Sets equals a third Set.
451
418
  *
@@ -465,7 +432,7 @@ export declare const setDifferenceEqualityAssertion: import("../assertion-types.
465
432
  * @bupkisAnchor set-symmetric-difference-with-set-to-equal-set
466
433
  * @bupkisAssertionCategory collections
467
434
  */
468
- export declare const setSymmetricDifferenceEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodSet<z.ZodUnknown>, "to have symmetric difference", z.ZodSet<z.ZodUnknown>, "equal to", z.ZodSet<z.ZodUnknown>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have symmetric difference">, z.ZodSet<z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, z.ZodSet<z.ZodUnknown>]>;
435
+ export declare const setSymmetricDifferenceEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, "to have symmetric difference", z.ZodCustom<Set<unknown>, Set<unknown>>, "equal to", z.ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have symmetric difference">, z.ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, z.ZodCustom<Set<unknown>, Set<unknown>>]>;
469
436
  /**
470
437
  * Asserts that a Map has a specific key.
471
438
  *
@@ -481,11 +448,11 @@ export declare const setSymmetricDifferenceEqualityAssertion: import("../asserti
481
448
  * @bupkisAnchor map-to-have-key-any
482
449
  * @bupkisAssertionCategory collections
483
450
  */
484
- export declare const mapKeyAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, "to have key", z.ZodUnknown], (map: Map<unknown, unknown>, key: unknown) => true | {
451
+ export declare const mapKeyAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have key", z.ZodUnknown], (map: Map<unknown, unknown>, key: unknown) => {
485
452
  actual: unknown[];
486
- expected: unknown;
453
+ expected: unknown[];
487
454
  message: string;
488
- }, readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have key">, z.ZodUnknown]>;
455
+ } | undefined, readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have key">, z.ZodUnknown]>;
489
456
  /**
490
457
  * Asserts that a Map contains a specific value.
491
458
  *
@@ -501,11 +468,11 @@ export declare const mapKeyAssertion: import("../assertion-types.js").AssertionF
501
468
  * @bupkisAnchor map-to-have-value-any
502
469
  * @bupkisAssertionCategory collections
503
470
  */
504
- export declare const mapValueAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, "to have value", z.ZodUnknown], (map: Map<unknown, unknown>, value: unknown) => true | {
471
+ export declare const mapValueAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, readonly ["to have value", "to contain value", "to include value"], z.ZodUnknown], (map: Map<unknown, unknown>, value: unknown) => {
505
472
  actual: unknown[];
506
473
  expected: unknown;
507
474
  message: string;
508
- }, readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have value">, z.ZodUnknown]>;
475
+ } | undefined, readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have value", "to contain value", "to include value"]>, z.ZodUnknown]>;
509
476
  /**
510
477
  * Asserts that a Map has a specific key-value entry.
511
478
  *
@@ -521,15 +488,15 @@ export declare const mapValueAssertion: import("../assertion-types.js").Assertio
521
488
  * @bupkisAnchor map-to-have-entry-any-any
522
489
  * @bupkisAssertionCategory collections
523
490
  */
524
- export declare const mapEntryAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<[z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, "to have entry", z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>], (map: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, [key, value]: [unknown, unknown]) => true | {
525
- actual: "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
526
- expected: string;
491
+ export declare const mapEntryAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<[z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to have entry", "to have key/value pair", "to contain entry", "to contain key/value pair", "to include entry", "to include key/value pair"], z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>], (map: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, [key, value]: [unknown, unknown]) => {
527
492
  message: string;
493
+ actual?: never;
494
+ expected?: never;
528
495
  } | {
529
496
  actual: unknown[] | undefined;
530
497
  expected: unknown[];
531
498
  message: string;
532
- }, readonly [z.ZodUnion<[z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have entry">, z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>]>;
499
+ } | undefined, readonly [z.ZodUnion<[z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have entry", "to have key/value pair", "to contain entry", "to contain key/value pair", "to include entry", "to include key/value pair"]>, z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>]>;
533
500
  /**
534
501
  * Asserts that two Maps are equal (same key-value pairs, order-independent).
535
502
  *
@@ -551,19 +518,19 @@ export declare const mapEntryAssertion: import("../assertion-types.js").Assertio
551
518
  * @bupkisAnchor map-to-equal-map
552
519
  * @bupkisAssertionCategory collections
553
520
  */
554
- export declare const mapEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, "to equal", z.ZodMap<z.ZodUnknown, z.ZodUnknown>], (mapA: Map<unknown, unknown>, mapB: Map<unknown, unknown>) => true | {
521
+ export declare const mapEqualityAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to equal", z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>], (mapA: Map<unknown, unknown>, mapB: Map<unknown, unknown>) => {
555
522
  actual: number;
556
523
  expected: number;
557
524
  message: string;
558
525
  } | {
559
- actual: string;
560
- expected: string;
561
526
  message: string;
527
+ actual?: never;
528
+ expected?: never;
562
529
  } | {
563
530
  actual: unknown[];
564
531
  expected: unknown[];
565
532
  message: string;
566
- }, readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, z.ZodMap<z.ZodUnknown, z.ZodUnknown>]>;
533
+ } | undefined, readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>]>;
567
534
  /**
568
535
  * Asserts that a collection (Map or Set) has a size greater than a threshold.
569
536
  *
@@ -578,11 +545,11 @@ export declare const mapEqualityAssertion: import("../assertion-types.js").Asser
578
545
  * @bupkisAnchor collection-to-have-size-greater-than-nonnegative-integer
579
546
  * @bupkisAssertionCategory collections
580
547
  */
581
- export declare const collectionSizeGreaterThanAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodSet<z.ZodUnknown>]>, "to have size greater than", z.ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, minSize: number) => true | {
548
+ export declare const collectionSizeGreaterThanAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size greater than", z.ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, minSize: number) => {
582
549
  actual: number;
583
- expected: string;
550
+ expected: number;
584
551
  message: string;
585
- }, readonly [z.ZodUnion<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodSet<z.ZodUnknown>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size greater than">, z.ZodInt]>;
552
+ } | undefined, readonly [z.ZodUnion<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size greater than">, z.ZodInt]>;
586
553
  /**
587
554
  * Asserts that a collection (Map or Set) has a size less than a threshold.
588
555
  *
@@ -597,11 +564,11 @@ export declare const collectionSizeGreaterThanAssertion: import("../assertion-ty
597
564
  * @bupkisAnchor collection-to-have-size-less-than-nonnegative-integer
598
565
  * @bupkisAssertionCategory collections
599
566
  */
600
- export declare const collectionSizeLessThanAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodSet<z.ZodUnknown>]>, "to have size less than", z.ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, maxSize: number) => true | {
567
+ export declare const collectionSizeLessThanAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size less than", z.ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, maxSize: number) => {
601
568
  actual: number;
602
- expected: string;
569
+ expected: number;
603
570
  message: string;
604
- }, readonly [z.ZodUnion<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodSet<z.ZodUnknown>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size less than">, z.ZodInt]>;
571
+ } | undefined, readonly [z.ZodUnion<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size less than">, z.ZodInt]>;
605
572
  /**
606
573
  * Asserts that a collection (Map or Set) has a size within a specific range.
607
574
  *
@@ -616,9 +583,7 @@ export declare const collectionSizeLessThanAssertion: import("../assertion-types
616
583
  * @bupkisAnchor collection-to-have-size-between-nonnegative-integer-and-nonnegative-integer
617
584
  * @bupkisAssertionCategory collections
618
585
  */
619
- export declare const collectionSizeBetweenAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodSet<z.ZodUnknown>]>, "to have size between", z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>], (collection: Map<unknown, unknown> | Set<unknown>, [min, max]: [number, number]) => true | {
620
- actual: number;
621
- expected: string;
586
+ export declare const collectionSizeBetweenAssertion: import("../assertion-types.js").AssertionFunctionSync<readonly [z.ZodUnion<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size between", z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>], (collection: Map<unknown, unknown> | Set<unknown>, [min, max]: [number, number]) => {
622
587
  message: string;
623
- }, readonly [z.ZodUnion<readonly [z.ZodMap<z.ZodUnknown, z.ZodUnknown>, z.ZodSet<z.ZodUnknown>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size between">, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
588
+ } | undefined, readonly [z.ZodUnion<readonly [z.ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, z.ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size between">, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
624
589
  //# sourceMappingURL=sync-collection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sync-collection.d.ts","sourceRoot":"","sources":["../../../../src/assertion/impl/sync-collection.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAc3B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB;;;;kPA8BhC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB;;;;gIAY5B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,uRAG7B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB;;;;kNA6BhC,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;;;8HAW5B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB;;;;mHAW7B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB;;;;6IAYlC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB;;;;gHAY9B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,oBAAoB,gTAIhC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB;;;;yHAWlC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AAGH,eAAO,MAAM,mBAAmB;;;;8SAgB/B,CAAC;AA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