bupkis 0.1.2 → 0.2.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 (130) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +8 -8
  3. package/dist/commonjs/assertion/assertion-types.d.ts +33 -82
  4. package/dist/commonjs/assertion/assertion-types.d.ts.map +1 -1
  5. package/dist/commonjs/assertion/create.d.ts +5 -33
  6. package/dist/commonjs/assertion/create.d.ts.map +1 -1
  7. package/dist/commonjs/assertion/create.js +17 -6
  8. package/dist/commonjs/assertion/create.js.map +1 -1
  9. package/dist/commonjs/assertion/impl/async.d.ts +5 -5
  10. package/dist/commonjs/assertion/impl/async.d.ts.map +1 -1
  11. package/dist/commonjs/assertion/impl/async.js +2 -2
  12. package/dist/commonjs/assertion/impl/async.js.map +1 -1
  13. package/dist/commonjs/assertion/impl/sync-parametric.d.ts +24 -24
  14. package/dist/commonjs/assertion/impl/sync-parametric.d.ts.map +1 -1
  15. package/dist/commonjs/assertion/impl/sync-parametric.js +3 -3
  16. package/dist/commonjs/assertion/impl/sync-parametric.js.map +1 -1
  17. package/dist/commonjs/assertion/impl/sync.d.ts +50 -50
  18. package/dist/commonjs/assertion/impl/sync.d.ts.map +1 -1
  19. package/dist/commonjs/bootstrap.d.ts +71 -61
  20. package/dist/commonjs/bootstrap.d.ts.map +1 -1
  21. package/dist/commonjs/bootstrap.js +20 -10
  22. package/dist/commonjs/bootstrap.js.map +1 -1
  23. package/dist/commonjs/error.d.ts +12 -5
  24. package/dist/commonjs/error.d.ts.map +1 -1
  25. package/dist/commonjs/error.js +19 -4
  26. package/dist/commonjs/error.js.map +1 -1
  27. package/dist/commonjs/expect.d.ts +130 -3
  28. package/dist/commonjs/expect.d.ts.map +1 -1
  29. package/dist/commonjs/expect.js +115 -0
  30. package/dist/commonjs/expect.js.map +1 -1
  31. package/dist/commonjs/guards.d.ts +22 -15
  32. package/dist/commonjs/guards.d.ts.map +1 -1
  33. package/dist/commonjs/guards.js +34 -20
  34. package/dist/commonjs/guards.js.map +1 -1
  35. package/dist/commonjs/index.d.ts +113 -62
  36. package/dist/commonjs/index.d.ts.map +1 -1
  37. package/dist/commonjs/index.js +44 -42
  38. package/dist/commonjs/index.js.map +1 -1
  39. package/dist/commonjs/metadata.d.ts +1 -27
  40. package/dist/commonjs/metadata.d.ts.map +1 -1
  41. package/dist/commonjs/metadata.js +16 -15
  42. package/dist/commonjs/metadata.js.map +1 -1
  43. package/dist/commonjs/schema.d.ts +59 -26
  44. package/dist/commonjs/schema.d.ts.map +1 -1
  45. package/dist/commonjs/schema.js +57 -24
  46. package/dist/commonjs/schema.js.map +1 -1
  47. package/dist/commonjs/types.d.ts +449 -39
  48. package/dist/commonjs/types.d.ts.map +1 -1
  49. package/dist/commonjs/types.js +12 -2
  50. package/dist/commonjs/types.js.map +1 -1
  51. package/dist/commonjs/util.d.ts +7 -0
  52. package/dist/commonjs/util.d.ts.map +1 -1
  53. package/dist/commonjs/util.js +7 -0
  54. package/dist/commonjs/util.js.map +1 -1
  55. package/dist/esm/assertion/assertion-types.d.ts +33 -82
  56. package/dist/esm/assertion/assertion-types.d.ts.map +1 -1
  57. package/dist/esm/assertion/create.d.ts +5 -33
  58. package/dist/esm/assertion/create.d.ts.map +1 -1
  59. package/dist/esm/assertion/create.js +14 -4
  60. package/dist/esm/assertion/create.js.map +1 -1
  61. package/dist/esm/assertion/impl/async.d.ts +5 -5
  62. package/dist/esm/assertion/impl/async.d.ts.map +1 -1
  63. package/dist/esm/assertion/impl/async.js +2 -2
  64. package/dist/esm/assertion/impl/async.js.map +1 -1
  65. package/dist/esm/assertion/impl/sync-parametric.d.ts +24 -24
  66. package/dist/esm/assertion/impl/sync-parametric.d.ts.map +1 -1
  67. package/dist/esm/assertion/impl/sync-parametric.js +3 -3
  68. package/dist/esm/assertion/impl/sync-parametric.js.map +1 -1
  69. package/dist/esm/assertion/impl/sync.d.ts +50 -50
  70. package/dist/esm/assertion/impl/sync.d.ts.map +1 -1
  71. package/dist/esm/bootstrap.d.ts +71 -61
  72. package/dist/esm/bootstrap.d.ts.map +1 -1
  73. package/dist/esm/bootstrap.js +19 -9
  74. package/dist/esm/bootstrap.js.map +1 -1
  75. package/dist/esm/error.d.ts +12 -5
  76. package/dist/esm/error.d.ts.map +1 -1
  77. package/dist/esm/error.js +19 -4
  78. package/dist/esm/error.js.map +1 -1
  79. package/dist/esm/expect.d.ts +130 -3
  80. package/dist/esm/expect.d.ts.map +1 -1
  81. package/dist/esm/expect.js +115 -0
  82. package/dist/esm/expect.js.map +1 -1
  83. package/dist/esm/guards.d.ts +22 -15
  84. package/dist/esm/guards.d.ts.map +1 -1
  85. package/dist/esm/guards.js +29 -13
  86. package/dist/esm/guards.js.map +1 -1
  87. package/dist/esm/index.d.ts +113 -62
  88. package/dist/esm/index.d.ts.map +1 -1
  89. package/dist/esm/index.js +46 -7
  90. package/dist/esm/index.js.map +1 -1
  91. package/dist/esm/metadata.d.ts +1 -27
  92. package/dist/esm/metadata.d.ts.map +1 -1
  93. package/dist/esm/metadata.js +2 -1
  94. package/dist/esm/metadata.js.map +1 -1
  95. package/dist/esm/schema.d.ts +59 -26
  96. package/dist/esm/schema.d.ts.map +1 -1
  97. package/dist/esm/schema.js +57 -24
  98. package/dist/esm/schema.js.map +1 -1
  99. package/dist/esm/types.d.ts +449 -39
  100. package/dist/esm/types.d.ts.map +1 -1
  101. package/dist/esm/types.js +12 -2
  102. package/dist/esm/types.js.map +1 -1
  103. package/dist/esm/util.d.ts +7 -0
  104. package/dist/esm/util.d.ts.map +1 -1
  105. package/dist/esm/util.js +7 -0
  106. package/dist/esm/util.js.map +1 -1
  107. package/package.json +89 -15
  108. package/src/assertion/assertion-types.ts +38 -41
  109. package/src/assertion/create.ts +16 -65
  110. package/src/assertion/impl/async.ts +2 -2
  111. package/src/assertion/impl/sync-parametric.ts +3 -3
  112. package/src/bootstrap.ts +21 -10
  113. package/src/error.ts +21 -4
  114. package/src/expect.ts +269 -18
  115. package/src/guards.ts +29 -51
  116. package/src/index.ts +71 -11
  117. package/src/metadata.ts +3 -4
  118. package/src/schema.ts +59 -26
  119. package/src/types.ts +593 -72
  120. package/src/util.ts +7 -0
  121. package/dist/commonjs/api.d.ts +0 -93
  122. package/dist/commonjs/api.d.ts.map +0 -1
  123. package/dist/commonjs/api.js +0 -8
  124. package/dist/commonjs/api.js.map +0 -1
  125. package/dist/esm/api.d.ts +0 -93
  126. package/dist/esm/api.d.ts.map +0 -1
  127. package/dist/esm/api.js +0 -7
  128. package/dist/esm/api.js.map +0 -1
  129. package/src/api.ts +0 -149
  130. package/src/schema.md +0 -15
@@ -1,108 +1,113 @@
1
1
  /**
2
2
  * Factory function for creating the main assertion functions.
3
3
  *
4
- * This module provides the `bootstrap()` function that creates both synchronous
5
- * and asynchronous assertion engines. It contains the core implementation
6
- * previously split between `expect.ts` and `expect-async.ts`.
4
+ * This module provides the {@link bootstrap} function that creates both
5
+ * synchronous and asynchronous assertion engines.
7
6
  *
8
7
  * @packageDocumentation
9
8
  */
10
- import { type Expect, type ExpectAsync } from './api.js';
11
- /** {@inheritDoc Expect} */
12
- declare const expect: Expect<readonly [import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodMap<import("zod").ZodAny, import("zod").ZodAny>, readonly ["to contain", "to include"], import("zod").ZodAny], (subject: Map<any, any>, key: any) => boolean, readonly [import("zod").ZodMap<import("zod").ZodAny, import("zod").ZodAny>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodAny]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have size", import("zod").ZodNumber], (subject: Map<unknown, unknown>, expectedSize: number) => boolean, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"], (subject: Map<unknown, unknown>) => boolean, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodSet<import("zod").ZodAny>, readonly ["to contain", "to include"], import("zod").ZodAny], (subject: Set<any>, value: any) => boolean, readonly [import("zod").ZodSet<import("zod").ZodAny>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodAny]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have size", import("zod").ZodNumber], (subject: Set<unknown>, expectedSize: number) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"], (subject: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>, readonly ["to contain", "to include"], import("zod").ZodAny], (subject: WeakMap<WeakKey, unknown>, key: any) => boolean, readonly [import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodAny]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>, readonly ["to contain", "to include"], import("zod").ZodAny], (subject: WeakSet<WeakKey>, value: any) => boolean, readonly [import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodAny]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, readonly ["to contain", "to include"], import("zod").ZodAny], (subject: any[], value: any) => boolean, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodAny]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, "to have size", import("zod").ZodNumber], (subject: any[], expectedSize: number) => boolean, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, "to have length", import("zod").ZodNumber], (subject: any[], expectedLength: number) => boolean, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have length">, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, "to be non-empty"], (subject: any[]) => {
9
+ import { type Expect, type ExpectAsync } from './types.js';
10
+ declare const
11
+ /**
12
+ * The main synchronous assertion function which can execute only built-in
13
+ * assertions.
14
+ *
15
+ * @function
16
+ */
17
+ expect: Expect<readonly [import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodMap<import("zod/v4").ZodAny, import("zod/v4").ZodAny>, readonly ["to contain", "to include"], import("zod/v4").ZodAny], (subject: Map<any, any>, key: any) => boolean, readonly [import("zod/v4").ZodMap<import("zod/v4").ZodAny, import("zod/v4").ZodAny>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod/v4").ZodAny]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have size", import("zod/v4").ZodNumber], (subject: Map<unknown, unknown>, expectedSize: number) => boolean, readonly [import("zod/v4").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"], (subject: Map<unknown, unknown>) => boolean, readonly [import("zod/v4").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodSet<import("zod/v4").ZodAny>, readonly ["to contain", "to include"], import("zod/v4").ZodAny], (subject: Set<any>, value: any) => boolean, readonly [import("zod/v4").ZodSet<import("zod/v4").ZodAny>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod/v4").ZodAny]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<Set<unknown>, Set<unknown>>, "to have size", import("zod/v4").ZodNumber], (subject: Set<unknown>, expectedSize: number) => boolean, readonly [import("zod/v4").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"], (subject: Set<unknown>) => boolean, readonly [import("zod/v4").ZodCustom<Set<unknown>, Set<unknown>>, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>, readonly ["to contain", "to include"], import("zod/v4").ZodAny], (subject: WeakMap<WeakKey, unknown>, key: any) => boolean, readonly [import("zod/v4").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod/v4").ZodAny]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>, readonly ["to contain", "to include"], import("zod/v4").ZodAny], (subject: WeakSet<WeakKey>, value: any) => boolean, readonly [import("zod/v4").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod/v4").ZodAny]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, readonly ["to contain", "to include"], import("zod/v4").ZodAny], (subject: any[], value: any) => boolean, readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod/v4").ZodAny]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, "to have size", import("zod/v4").ZodNumber], (subject: any[], expectedSize: number) => boolean, readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, "to have length", import("zod/v4").ZodNumber], (subject: any[], expectedLength: number) => boolean, readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, import("./types.js").PhraseLiteralSlot<"to have length">, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, "to be non-empty"], (subject: any[]) => {
13
18
  actual: number;
14
19
  expected: string;
15
20
  message: string;
16
- } | undefined, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, readonly ["to have keys", "to have properties", "to have props"], import("zod").ZodTuple<[import("zod").ZodString], import("zod").ZodString>], (_: {
21
+ } | undefined, readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, import("./types.js").PhraseLiteralSlot<"to be non-empty">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>, readonly ["to have keys", "to have properties", "to have props"], import("zod/v4").ZodTuple<[import("zod/v4").ZodString], import("zod/v4").ZodString>], (_: {
17
22
  [x: string]: unknown;
18
- }, keys: [string, ...string[]]) => import("zod").ZodObject<{
19
- [k: string]: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
20
- }, import("zod/v4/core").$loose>, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props"]>, import("zod").ZodTuple<[import("zod").ZodString], import("zod").ZodString>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, "to have size", import("zod").ZodNumber], (subject: {
23
+ }, keys: [string, ...string[]]) => import("zod/v4").ZodObject<{
24
+ [k: string]: import("zod/v4").ZodNonOptional<import("zod/v4").ZodUnknown>;
25
+ }, import("zod/v4/core").$loose>, readonly [import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props"]>, import("zod/v4").ZodTuple<[import("zod/v4").ZodString], import("zod/v4").ZodString>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>, "to have size", import("zod/v4").ZodNumber], (subject: {
21
26
  [x: string]: unknown;
22
27
  }, expectedSize: number) => {
23
28
  actual: number;
24
29
  expected: number;
25
30
  message: string;
26
- } | undefined, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be a string"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be a string"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a number", "to be finite"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a number", "to be finite"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be infinite"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be infinite"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be Infinity"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be Infinity"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be -Infinity"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be -Infinity"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be true"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be true"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be false"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be false"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be a function"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be a function"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be an async function"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be an async function"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be NaN"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be NaN"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be an integer", "to be a safe integer", "to be an int", "to be a safe int"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be an integer", "to be a safe integer", "to be an int", "to be a safe int"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be null"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be null"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be undefined"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be undefined"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be an array", "to be array"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be an array", "to be array"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a date", "to be a Date"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a date", "to be a Date"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a class", "to be a constructor"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a class", "to be a constructor"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be a primitive"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be a primitive"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be falsy"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be falsy"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be an object"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be an object"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, "to be empty"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, "to be empty"]>, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodRecord<import("zod").ZodAny, import("zod").ZodUnknown>, "to be empty"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodRecord<import("zod").ZodAny, import("zod").ZodUnknown>, "to be empty"]>, readonly [import("zod").ZodRecord<import("zod").ZodAny, import("zod").ZodUnknown>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be an Error"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be an Error"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodString, "to be empty"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodString, "to be empty"]>, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodString, "to be non-empty"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodString, "to be non-empty"]>, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be defined"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be defined"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be a Set"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be a Set"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be a WeakMap"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be a WeakMap"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be a WeakSet"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be a WeakSet"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to have a null prototype"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to have a null prototype"]>, never>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>, "to be an enumerable property of", import("zod").ZodObject<{}, import("zod/v4/core").$loose>], (subject: string | number | symbol, obj: {
31
+ } | undefined, readonly [import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>, import("./types.js").PhraseLiteralSlot<"to have size">, import("zod/v4").ZodNumber]>, import("./types.js").AssertionSchemaSync<readonly ["to be a string"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a string"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a number", "to be finite"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a number", "to be finite"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be infinite"], import("./types.js").AssertionImplSchemaSync<readonly ["to be infinite"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be Infinity"], import("./types.js").AssertionImplSchemaSync<readonly ["to be Infinity"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be -Infinity"], import("./types.js").AssertionImplSchemaSync<readonly ["to be -Infinity"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be true"], import("./types.js").AssertionImplSchemaSync<readonly ["to be true"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be false"], import("./types.js").AssertionImplSchemaSync<readonly ["to be false"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a function"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a function"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be an async function"], import("./types.js").AssertionImplSchemaSync<readonly ["to be an async function"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be NaN"], import("./types.js").AssertionImplSchemaSync<readonly ["to be NaN"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be an integer", "to be a safe integer", "to be an int", "to be a safe int"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be an integer", "to be a safe integer", "to be an int", "to be a safe int"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be null"], import("./types.js").AssertionImplSchemaSync<readonly ["to be null"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be undefined"], import("./types.js").AssertionImplSchemaSync<readonly ["to be undefined"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be an array", "to be array"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be an array", "to be array"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a date", "to be a Date"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a date", "to be a Date"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a class", "to be a constructor"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a class", "to be a constructor"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a primitive"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a primitive"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be falsy"], import("./types.js").AssertionImplSchemaSync<readonly ["to be falsy"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be an object"], import("./types.js").AssertionImplSchemaSync<readonly ["to be an object"]>, never>, import("./types.js").AssertionSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]], import("./types.js").AssertionImplSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]]>, never>, import("./types.js").AssertionSchemaSync<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, "to be empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, "to be empty"]>, readonly [import("zod/v4").ZodArray<import("zod/v4").ZodAny>, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionSchemaSync<readonly [import("zod/v4").ZodRecord<import("zod/v4").ZodAny, import("zod/v4").ZodUnknown>, "to be empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod/v4").ZodRecord<import("zod/v4").ZodAny, import("zod/v4").ZodUnknown>, "to be empty"]>, readonly [import("zod/v4").ZodRecord<import("zod/v4").ZodAny, import("zod/v4").ZodUnknown>, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionSchemaSync<readonly ["to be an Error"], import("./types.js").AssertionImplSchemaSync<readonly ["to be an Error"]>, never>, import("./types.js").AssertionSchemaSync<readonly [import("zod/v4").ZodString, "to be empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod/v4").ZodString, "to be empty"]>, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralSlot<"to be empty">]>, import("./types.js").AssertionSchemaSync<readonly [import("zod/v4").ZodString, "to be non-empty"], import("./types.js").AssertionImplSchemaSync<readonly [import("zod/v4").ZodString, "to be non-empty"]>, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralSlot<"to be non-empty">]>, import("./types.js").AssertionSchemaSync<readonly ["to be defined"], import("./types.js").AssertionImplSchemaSync<readonly ["to be defined"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a Set"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a Set"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a WeakMap"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a WeakMap"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be a WeakSet"], import("./types.js").AssertionImplSchemaSync<readonly ["to be a WeakSet"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to have a null prototype"], import("./types.js").AssertionImplSchemaSync<readonly ["to have a null prototype"]>, never>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodNumber, import("zod/v4").ZodSymbol]>, "to be an enumerable property of", import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>], (subject: string | number | symbol, obj: {
27
32
  [x: string]: unknown;
28
- }) => boolean, readonly [import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be an enumerable property of">, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be sealed"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be sealed"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be frozen"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be frozen"]>, never>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly ["to be extensible"], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly ["to be extensible"]>, never>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [readonly ["to be an instance of", "to be a"], import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (_: unknown, ctor: import("./types.js").Constructor) => import("zod").ZodCustom<any, any>, readonly [import("zod").ZodUnknown, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be an instance of", "to be a"]>, import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodAny, readonly ["to be a", "to be an"], import("zod").ZodEnum<{
33
+ }) => boolean, readonly [import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodNumber, import("zod/v4").ZodSymbol]>, import("./types.js").PhraseLiteralSlot<"to be an enumerable property of">, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>, import("./types.js").AssertionSchemaSync<readonly ["to be sealed"], import("./types.js").AssertionImplSchemaSync<readonly ["to be sealed"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be frozen"], import("./types.js").AssertionImplSchemaSync<readonly ["to be frozen"]>, never>, import("./types.js").AssertionSchemaSync<readonly ["to be extensible"], import("./types.js").AssertionImplSchemaSync<readonly ["to be extensible"]>, never>, import("./types.js").AssertionFunctionSync<readonly [readonly ["to be an instance of", "to be a"], import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (_: unknown, ctor: import("./types.js").Constructor) => import("zod/v4").ZodCustom<any, any>, readonly [import("zod/v4").ZodUnknown, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be an instance of", "to be a"]>, import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodAny, readonly ["to be a", "to be an"], import("zod/v4").ZodEnum<{
29
34
  [x: string]: string;
30
- }>], (_: any, type: string) => import("zod").ZodString | import("zod").ZodNumber | import("zod").ZodSymbol | import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>> | import("zod").ZodBoolean | import("zod").ZodBigInt | import("zod").ZodNull | import("zod").ZodUndefined | import("zod").ZodArray<import("zod").ZodAny> | import("zod").ZodCustom<RegExp, RegExp> | import("zod").ZodDate | import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | import("zod").ZodCustom<Error, Error> | import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut> | import("zod").ZodObject<{}, import("zod/v4/core").$loose> | import("zod").ZodCustom<WeakRef<WeakKey>, WeakRef<WeakKey>>, readonly [import("zod").ZodAny, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be a", "to be an"]>, import("zod").ZodEnum<{
35
+ }>], (_: any, type: string) => import("zod/v4").ZodString | import("zod/v4").ZodNumber | import("zod/v4").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | import("zod/v4").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | import("zod/v4").ZodArray<import("zod/v4").ZodAny> | import("zod/v4").ZodBoolean | import("zod/v4").ZodBigInt | import("zod/v4").ZodSymbol | import("zod/v4").ZodNull | import("zod/v4").ZodUndefined | import("zod/v4").ZodDate | import("zod/v4").ZodCustom<RegExp, RegExp> | import("zod/v4").ZodCustom<Error, Error> | import("zod/v4").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut> | import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose> | import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>> | import("zod/v4").ZodCustom<WeakRef<WeakKey>, WeakRef<WeakKey>>, readonly [import("zod/v4").ZodAny, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be a", "to be an"]>, import("zod/v4").ZodEnum<{
31
36
  [x: string]: string;
32
- }>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, "to be greater than", import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be greater than">, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, "to be less than", import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be less than">, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be greater than or equal to", "to be at least"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be greater than or equal to", "to be at least"]>, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be less than or equal to", "to be at most"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be less than or equal to", "to be at most"]>, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, "to be within", import("zod").ZodNumber, import("zod").ZodNumber], (subject: number, min: number, max: number) => {
37
+ }>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodNumber, "to be greater than", import("zod/v4").ZodNumber], (_: number, other: number) => import("zod/v4").ZodNumber, readonly [import("zod/v4").ZodNumber, import("./types.js").PhraseLiteralSlot<"to be greater than">, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodNumber, "to be less than", import("zod/v4").ZodNumber], (_: number, other: number) => import("zod/v4").ZodNumber, readonly [import("zod/v4").ZodNumber, import("./types.js").PhraseLiteralSlot<"to be less than">, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodNumber, readonly ["to be greater than or equal to", "to be at least"], import("zod/v4").ZodNumber], (_: number, other: number) => import("zod/v4").ZodNumber, readonly [import("zod/v4").ZodNumber, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be greater than or equal to", "to be at least"]>, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodNumber, readonly ["to be less than or equal to", "to be at most"], import("zod/v4").ZodNumber], (_: number, other: number) => import("zod/v4").ZodNumber, readonly [import("zod/v4").ZodNumber, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be less than or equal to", "to be at most"]>, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodNumber, readonly ["to be within", "to be between"], import("zod/v4").ZodNumber, import("zod/v4").ZodNumber], (subject: number, min: number, max: number) => {
33
38
  actual: number;
34
39
  expected: string;
35
40
  message: string;
36
- } | undefined, readonly [import("zod").ZodNumber, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodNumber, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, "to be close to", import("zod").ZodNumber, import("zod").ZodOptional<import("zod").ZodNumber>], (subject: number, expected: number, tolerance?: number | undefined) => {
41
+ } | undefined, readonly [import("zod/v4").ZodNumber, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be within", "to be between"]>, import("zod/v4").ZodNumber, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodNumber, "to be close to", import("zod/v4").ZodNumber, import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>], (subject: number, expected: number, tolerance?: number | undefined) => {
37
42
  actual: number;
38
43
  expected: number;
39
44
  message: string;
40
- } | undefined, readonly [import("zod").ZodNumber, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be close to">, import("zod").ZodNumber, import("zod").ZodOptional<import("zod").ZodNumber>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodString, "to be greater than", import("zod").ZodString], (subject: string, other: string) => {
45
+ } | undefined, readonly [import("zod/v4").ZodNumber, import("./types.js").PhraseLiteralSlot<"to be close to">, import("zod/v4").ZodNumber, import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodString, "to be greater than", import("zod/v4").ZodString], (subject: string, other: string) => {
41
46
  actual: string;
42
47
  expected: string;
43
48
  message: string;
44
- } | undefined, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be greater than">, import("zod").ZodString]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodString, "to be less than", import("zod").ZodString], (subject: string, other: string) => {
49
+ } | undefined, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralSlot<"to be greater than">, import("zod/v4").ZodString]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodString, "to be less than", import("zod/v4").ZodString], (subject: string, other: string) => {
45
50
  actual: string;
46
51
  expected: string;
47
52
  message: string;
48
- } | undefined, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be less than">, import("zod").ZodString]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodString, "to be greater than or equal to", import("zod").ZodString], (subject: string, other: string) => {
53
+ } | undefined, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralSlot<"to be less than">, import("zod/v4").ZodString]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodString, "to be greater than or equal to", import("zod/v4").ZodString], (subject: string, other: string) => {
49
54
  actual: string;
50
55
  expected: string;
51
56
  message: string;
52
- } | undefined, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be greater than or equal to">, import("zod").ZodString]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodString, "to be less than or equal to", import("zod").ZodString], (subject: string, other: string) => {
57
+ } | undefined, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralSlot<"to be greater than or equal to">, import("zod/v4").ZodString]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodString, "to be less than or equal to", import("zod/v4").ZodString], (subject: string, other: string) => {
53
58
  actual: string;
54
59
  expected: string;
55
60
  message: string;
56
- } | undefined, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be less than or equal to">, import("zod").ZodString]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodString, readonly ["to begin with", "to start with"], import("zod").ZodString], (subject: string, prefix: string) => {
61
+ } | undefined, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralSlot<"to be less than or equal to">, import("zod/v4").ZodString]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodString, readonly ["to begin with", "to start with"], import("zod/v4").ZodString], (subject: string, prefix: string) => {
57
62
  actual: string;
58
63
  expected: string;
59
64
  message: string;
60
- } | undefined, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to begin with", "to start with"]>, import("zod").ZodString]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodString, "to end with", import("zod").ZodString], (subject: string, suffix: string) => {
65
+ } | undefined, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to begin with", "to start with"]>, import("zod/v4").ZodString]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodString, "to end with", import("zod/v4").ZodString], (subject: string, suffix: string) => {
61
66
  actual: string;
62
67
  expected: string;
63
68
  message: string;
64
- } | undefined, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to end with">, import("zod").ZodString]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodAny, "to be one of", import("zod").ZodArray<import("zod").ZodAny>], (subject: any, values: any[]) => {
69
+ } | undefined, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralSlot<"to end with">, import("zod/v4").ZodString]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodAny, "to be one of", import("zod/v4").ZodArray<import("zod/v4").ZodAny>], (subject: any, values: any[]) => {
65
70
  actual: unknown;
66
71
  expected: string;
67
72
  message: string;
68
- } | undefined, readonly [import("zod").ZodAny, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to be one of">, import("zod").ZodArray<import("zod").ZodAny>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, "to have arity", import("zod").ZodNumber], (subject: (...args: any[]) => any, expectedArity: number) => {
73
+ } | undefined, readonly [import("zod/v4").ZodAny, import("./types.js").PhraseLiteralSlot<"to be one of">, import("zod/v4").ZodArray<import("zod/v4").ZodAny>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, "to have arity", import("zod/v4").ZodNumber], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, expectedArity: number) => {
69
74
  actual: number;
70
75
  expected: number;
71
76
  message: string;
72
- } | undefined, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have arity">, import("zod").ZodNumber]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Error, Error>, "to have message", import("zod").ZodString], (subject: Error, expectedMessage: string) => {
77
+ } | undefined, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralSlot<"to have arity">, import("zod/v4").ZodNumber]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<Error, Error>, "to have message", import("zod/v4").ZodString], (subject: Error, expectedMessage: string) => {
73
78
  actual: string;
74
79
  expected: string;
75
80
  message: string;
76
- } | undefined, readonly [import("zod").ZodCustom<Error, Error>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have message">, import("zod").ZodString]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Error, Error>, "to have message matching", import("zod").ZodCustom<RegExp, RegExp>], (subject: Error, pattern: RegExp) => {
81
+ } | undefined, readonly [import("zod/v4").ZodCustom<Error, Error>, import("./types.js").PhraseLiteralSlot<"to have message">, import("zod/v4").ZodString]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<Error, Error>, "to have message matching", import("zod/v4").ZodCustom<RegExp, RegExp>], (subject: Error, pattern: RegExp) => {
77
82
  actual: string;
78
83
  expected: string;
79
84
  message: string;
80
- } | undefined, readonly [import("zod").ZodCustom<Error, Error>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have message matching">, import("zod").ZodCustom<RegExp, RegExp>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [readonly ["to be", "to equal", "equals", "is", "is equal to", "to strictly equal"], import("zod").ZodUnknown], (subject: unknown, value: unknown) => {
85
+ } | undefined, readonly [import("zod/v4").ZodCustom<Error, Error>, import("./types.js").PhraseLiteralSlot<"to have message matching">, import("zod/v4").ZodCustom<RegExp, RegExp>]>, import("./types.js").AssertionFunctionSync<readonly [readonly ["to be", "to equal", "equals", "is", "is equal to", "to strictly equal"], import("zod/v4").ZodUnknown], (subject: unknown, value: unknown) => {
81
86
  actual: unknown;
82
87
  expected: unknown;
83
88
  message: string;
84
- } | undefined, readonly [import("zod").ZodUnknown, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be", "to equal", "equals", "is", "is equal to", "to strictly equal"]>, import("zod").ZodUnknown]>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, readonly ["to deep equal", "to deeply equal"], import("zod").ZodObject<{}, import("zod/v4/core").$loose>], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, readonly ["to deep equal", "to deeply equal"], import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to deep equal", "to deeply equal"]>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>, import("./assertion/assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
85
- length: import("zod").ZodNumber;
86
- }, import("zod/v4/core").$loose>]>, readonly ["to deep equal", "to deeply equal"], import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
87
- length: import("zod").ZodNumber;
88
- }, import("zod/v4/core").$loose>]>], import("./assertion/assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
89
- length: import("zod").ZodNumber;
90
- }, import("zod/v4/core").$loose>]>, readonly ["to deep equal", "to deeply equal"], import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
91
- length: import("zod").ZodNumber;
92
- }, import("zod/v4/core").$loose>]>]>, readonly [import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
93
- length: import("zod").ZodNumber;
94
- }, import("zod/v4/core").$loose>]>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to deep equal", "to deeply equal"]>, import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
95
- length: import("zod").ZodNumber;
96
- }, import("zod/v4/core").$loose>]>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, "to throw"], (subject: (...args: any[]) => any) => {
89
+ } | undefined, readonly [import("zod/v4").ZodUnknown, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to be", "to equal", "equals", "is", "is equal to", "to strictly equal"]>, import("zod/v4").ZodUnknown]>, import("./types.js").AssertionSchemaSync<readonly [import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>, readonly ["to deep equal", "to deeply equal"], import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>], import("./types.js").AssertionImplSchemaSync<readonly [import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>, readonly ["to deep equal", "to deeply equal"], import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>, readonly [import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to deep equal", "to deeply equal"]>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>, import("./types.js").AssertionSchemaSync<readonly [import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
90
+ length: import("zod/v4").ZodNumber;
91
+ }, import("zod/v4/core").$loose>]>, readonly ["to deep equal", "to deeply equal"], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
92
+ length: import("zod/v4").ZodNumber;
93
+ }, import("zod/v4/core").$loose>]>], import("./types.js").AssertionImplSchemaSync<readonly [import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
94
+ length: import("zod/v4").ZodNumber;
95
+ }, import("zod/v4/core").$loose>]>, readonly ["to deep equal", "to deeply equal"], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
96
+ length: import("zod/v4").ZodNumber;
97
+ }, import("zod/v4/core").$loose>]>]>, readonly [import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
98
+ length: import("zod/v4").ZodNumber;
99
+ }, import("zod/v4/core").$loose>]>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to deep equal", "to deeply equal"]>, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
100
+ length: import("zod/v4").ZodNumber;
101
+ }, import("zod/v4/core").$loose>]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, "to throw"], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown) => {
97
102
  actual: unknown;
98
103
  message: string;
99
- } | undefined, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to throw">]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, readonly ["to throw a", "to thrown an"], import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (subject: (...args: any[]) => any, ctor: import("./types.js").Constructor) => false | {
104
+ } | undefined, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralSlot<"to throw">]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw a", "to thrown an"], import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("./types.js").Constructor) => false | {
100
105
  actual: {};
101
106
  expected: import("./types.js").Constructor;
102
107
  message: string;
103
- } | undefined, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to throw a", "to thrown an"]>, import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, readonly ["to throw"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: (...args: any[]) => any, param: string | RegExp | {
108
+ } | undefined, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to throw a", "to thrown an"]>, import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw"], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, param: string | RegExp | {
104
109
  [x: string]: unknown;
105
- }) => boolean, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to throw"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, readonly ["to throw a", "to thrown an"], import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>, "satisfying", import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: (...args: any[]) => any, ctor: import("./types.js").Constructor, param: string | RegExp | {
110
+ }) => boolean, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to throw"]>, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw a", "to thrown an"], import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>, "satisfying", import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("./types.js").Constructor, param: string | RegExp | {
106
111
  [x: string]: unknown;
107
112
  }) => {
108
113
  actual: string;
@@ -114,35 +119,40 @@ declare const expect: Expect<readonly [import("./assertion/assertion-types.js").
114
119
  [x: string]: unknown;
115
120
  };
116
121
  message: string;
117
- } | undefined, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to throw a", "to thrown an"]>, import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"satisfying">, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodString, readonly ["includes", "contains", "to include", "to contain"], import("zod").ZodString], (subject: string, expected: string) => boolean, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["includes", "contains", "to include", "to contain"]>, import("zod").ZodString]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodString, "to match", import("zod").ZodCustom<RegExp, RegExp>], (subject: string, regex: RegExp) => boolean, readonly [import("zod").ZodString, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to match">, import("zod").ZodCustom<RegExp, RegExp>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNonOptional<import("zod").ZodObject<{}, import("zod/v4/core").$loose>>, readonly ["to satisfy", "to be like"], import("zod").ZodObject<{}, import("zod/v4/core").$loose>], (_subject: {
122
+ } | undefined, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to throw a", "to thrown an"]>, import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>, import("./types.js").PhraseLiteralSlot<"satisfying">, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodString, readonly ["includes", "contains", "to include", "to contain"], import("zod/v4").ZodString], (subject: string, expected: string) => boolean, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralChoiceSlot<readonly ["includes", "contains", "to include", "to contain"]>, import("zod/v4").ZodString]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodString, "to match", import("zod/v4").ZodCustom<RegExp, RegExp>], (subject: string, regex: RegExp) => boolean, readonly [import("zod/v4").ZodString, import("./types.js").PhraseLiteralSlot<"to match">, import("zod/v4").ZodCustom<RegExp, RegExp>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodNonOptional<import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>>, readonly ["to satisfy", "to be like"], import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>], (subject: {
118
123
  [x: string]: unknown;
119
124
  }, shape: {
120
125
  [x: string]: unknown;
121
- }) => import("zod").ZodType<{}, import("zod/v4/core").$loose>, readonly [import("zod").ZodNonOptional<import("zod").ZodObject<{}, import("zod/v4/core").$loose>>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to satisfy", "to be like"]>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
122
- length: import("zod").ZodNumber;
123
- }, import("zod/v4/core").$loose>]>, readonly ["to satisfy", "to be like"], import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
124
- length: import("zod").ZodNumber;
125
- }, import("zod/v4/core").$loose>]>], (_subject: any[] | [any, ...any[]] | {
126
+ }) => import("zod/v4").ZodType<{}, import("zod/v4/core").$loose>, readonly [import("zod/v4").ZodNonOptional<import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to satisfy", "to be like"]>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
127
+ length: import("zod/v4").ZodNumber;
128
+ }, import("zod/v4/core").$loose>]>, readonly ["to satisfy", "to be like"], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
129
+ length: import("zod/v4").ZodNumber;
130
+ }, import("zod/v4/core").$loose>]>], (subject: unknown[] | [unknown, ...unknown[]] | {
126
131
  [x: string]: unknown;
127
132
  length: number;
128
- }, shape: any[] | [any, ...any[]] | {
133
+ }, shape: unknown[] | [unknown, ...unknown[]] | {
129
134
  [x: string]: unknown;
130
135
  length: number;
131
- }) => typeof import("./schema.js").ArrayLikeSchema, readonly [import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
132
- length: import("zod").ZodNumber;
133
- }, import("zod/v4/core").$loose>]>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to satisfy", "to be like"]>, import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodTuple<[import("zod").ZodAny], import("zod").ZodAny>, import("zod").ZodObject<{
134
- length: import("zod").ZodNumber;
135
- }, import("zod/v4/core").$loose>]>]>, import("./assertion/assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, "to have arity", import("zod").ZodNumber], (subject: (...args: any[]) => any, expectedArity: number) => {
136
+ }) => typeof import("./schema.js").ArrayLikeSchema, readonly [import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
137
+ length: import("zod/v4").ZodNumber;
138
+ }, import("zod/v4/core").$loose>]>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to satisfy", "to be like"]>, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodArray<import("zod/v4").ZodUnknown>, import("zod/v4").ZodTuple<[import("zod/v4").ZodUnknown], import("zod/v4").ZodUnknown>, import("zod/v4").ZodObject<{
139
+ length: import("zod/v4").ZodNumber;
140
+ }, import("zod/v4/core").$loose>]>]>, import("./types.js").AssertionFunctionSync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, "to have arity", import("zod/v4").ZodNumber], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, expectedArity: number) => {
136
141
  actual: number;
137
142
  expected: number;
138
143
  message: string;
139
- } | undefined, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to have arity">, import("zod").ZodNumber]>]>;
140
- /** {@inheritDoc ExpectAsync} */
141
- declare const expectAsync: ExpectAsync<readonly [import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, readonly ["to resolve", "to fulfill"]], (subject: (...args: any[]) => any) => Promise<boolean>, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<boolean>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, "to reject"], (subject: (...args: any[]) => any) => Promise<boolean>, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to reject">]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, "to reject"], (subject: PromiseLike<unknown>) => Promise<boolean>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./assertion/assertion-types.js").PhraseLiteralSlot<"to reject">]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, readonly ["to reject with a", "to reject with an"], import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (subject: (...args: any[]) => any, ctor: import("./types.js").Constructor) => Promise<boolean>, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an"]>, import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an"], import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("./types.js").Constructor) => Promise<boolean>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an"]>, import("zod").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, readonly ["to reject with"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: (...args: any[]) => any, param: string | RegExp | {
144
+ } | undefined, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralSlot<"to have arity">, import("zod/v4").ZodNumber]>]>,
145
+ /**
146
+ * The main asynchronous assertion function which can execute only built-in
147
+ * assertions.
148
+ *
149
+ * @function
150
+ */
151
+ expectAsync: ExpectAsync<readonly [import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to resolve", "to fulfill"]], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<boolean>, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<boolean>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, "to reject"], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<boolean>, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralSlot<"to reject">]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, "to reject"], (subject: PromiseLike<unknown>) => Promise<boolean>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./types.js").PhraseLiteralSlot<"to reject">]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an"], import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("./types.js").Constructor) => Promise<boolean>, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an"]>, import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an"], import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("./types.js").Constructor) => Promise<boolean>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an"]>, import("zod/v4").ZodCustom<import("./types.js").Constructor, import("./types.js").Constructor>]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with"], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, param: string | RegExp | {
142
152
  [x: string]: unknown;
143
- }) => Promise<boolean>, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: PromiseLike<unknown>, param: string | RegExp | {
153
+ }) => Promise<boolean>, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to reject with"]>, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with"], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: PromiseLike<unknown>, param: string | RegExp | {
144
154
  [x: string]: unknown;
145
- }) => Promise<boolean>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve to value satisfying"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>], (promise: PromiseLike<unknown>, param: string | RegExp | {
155
+ }) => Promise<boolean>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to reject with"]>, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>], (promise: PromiseLike<unknown>, param: string | RegExp | {
146
156
  [x: string]: unknown;
147
157
  }) => Promise<boolean | {
148
158
  actual: unknown;
@@ -156,7 +166,7 @@ declare const expectAsync: ExpectAsync<readonly [import("./assertion/assertion-t
156
166
  };
157
167
  message: string;
158
168
  expect?: never;
159
- }>, readonly [import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve to value satisfying"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./assertion/assertion-types.js").AssertionFunctionAsync<readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, readonly ["to fulfill with value satisfying", "to resolve to value satisfying"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: (...args: any[]) => any, param: string | RegExp | {
169
+ }>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>]>, import("./types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>], (subject: (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, param: string | RegExp | {
160
170
  [x: string]: unknown;
161
171
  }) => Promise<boolean | {
162
172
  actual: unknown;
@@ -170,6 +180,6 @@ declare const expectAsync: ExpectAsync<readonly [import("./assertion/assertion-t
170
180
  };
171
181
  message: string;
172
182
  expect?: never;
173
- }>, readonly [import("zod").ZodCustom<(...args: any[]) => any, (...args: any[]) => any>, import("./assertion/assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve to value satisfying"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<RegExp, RegExp>, import("zod").ZodObject<{}, import("zod/v4/core").$loose>]>]>]>;
183
+ }>, readonly [import("zod/v4").ZodCustom<(...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("./types.js").MutableOrReadonly<unknown[]>) => unknown>, import("./types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodString, import("zod/v4").ZodCustom<RegExp, RegExp>, import("zod/v4").ZodObject<{}, import("zod/v4/core").$loose>]>]>]>;
174
184
  export { expect, expectAsync };
175
185
  //# sourceMappingURL=bootstrap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AA0BzD,2BAA2B;AAC3B,QAAA,MAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4MAAQ,CAAC;AACvB,gCAAgC;AAChC,QAAA,MAAQ,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8YAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAwB3D,QAAA;AACE;;;;;GAKG;AACH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACN;;;;;GAKG;AACH,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2eACN,CAAC;AAER,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC"}
@@ -2,33 +2,43 @@
2
2
  /**
3
3
  * Factory function for creating the main assertion functions.
4
4
  *
5
- * This module provides the `bootstrap()` function that creates both synchronous
6
- * and asynchronous assertion engines. It contains the core implementation
7
- * previously split between `expect.ts` and `expect-async.ts`.
5
+ * This module provides the {@link bootstrap} function that creates both
6
+ * synchronous and asynchronous assertion engines.
8
7
  *
9
8
  * @packageDocumentation
10
9
  */
11
10
  Object.defineProperty(exports, "__esModule", { value: true });
12
11
  exports.expectAsync = exports.expect = void 0;
12
+ const async_js_1 = require("./assertion/impl/async.js");
13
13
  const sync_js_1 = require("./assertion/impl/sync.js");
14
- const index_js_1 = require("./assertion/index.js");
15
14
  const use_js_1 = require("./use.js");
16
15
  /**
17
16
  * Factory function that creates both synchronous and asynchronous assertion
18
17
  * engines.
19
18
  *
20
- * @returns Object containing `expect` and `expectAsync` functions
19
+ * @returns Object containing {@link expect} and {@link expectAsync} functions
21
20
  * @internal
22
21
  */
23
22
  const bootstrap = () => {
24
- const { expect, expectAsync } = (0, use_js_1.createUse)(sync_js_1.SyncAssertions, index_js_1.AsyncAssertions)([...sync_js_1.SyncAssertions, ...index_js_1.AsyncAssertions]);
23
+ const { expect, expectAsync } = (0, use_js_1.createUse)(sync_js_1.SyncAssertions, async_js_1.AsyncAssertions)([...sync_js_1.SyncAssertions, ...async_js_1.AsyncAssertions]);
25
24
  return { expect, expectAsync };
26
25
  };
27
26
  const api = bootstrap();
28
- /** {@inheritDoc Expect} */
29
- const { expect } = api;
27
+ const {
28
+ /**
29
+ * The main synchronous assertion function which can execute only built-in
30
+ * assertions.
31
+ *
32
+ * @function
33
+ */
34
+ expect,
35
+ /**
36
+ * The main asynchronous assertion function which can execute only built-in
37
+ * assertions.
38
+ *
39
+ * @function
40
+ */
41
+ expectAsync, } = api;
30
42
  exports.expect = expect;
31
- /** {@inheritDoc ExpectAsync} */
32
- const { expectAsync } = api;
33
43
  exports.expectAsync = expectAsync;
34
44
  //# sourceMappingURL=bootstrap.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../src/bootstrap.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAGH,sDAA0D;AAC1D,mDAAuD;AACvD,qCAAqC;AAErC;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,GAGhB,EAAE;IACF,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAA,kBAAS,EACvC,wBAAc,EACd,0BAAe,CAChB,CAAC,CAAC,GAAG,wBAAc,EAAE,GAAG,0BAAe,CAAC,CAAC,CAAC;IAE3C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,GAAG,GAAG,SAAS,EAAE,CAAC;AAExB,2BAA2B;AAC3B,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,CAAC;AAId,wBAAM;AAHf,gCAAgC;AAChC,MAAM,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC;AAEX,kCAAW"}
1
+ {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../src/bootstrap.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH,wDAA4D;AAC5D,sDAA0D;AAE1D,qCAAqC;AAErC;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,GAGhB,EAAE;IACF,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAA,kBAAS,EACvC,wBAAc,EACd,0BAAe,CAChB,CAAC,CAAC,GAAG,wBAAc,EAAE,GAAG,0BAAe,CAAC,CAAC,CAAC;IAE3C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,GAAG,GAAG,SAAS,EAAE,CAAC;AAExB,MAAM;AACJ;;;;;GAKG;AACH,MAAM;AACN;;;;;GAKG;AACH,WAAW,GACZ,GAAG,GAAG,CAAC;AAEC,wBAAM;AAAE,kCAAW"}
@@ -6,15 +6,22 @@
6
6
  * @packageDocumentation
7
7
  */
8
8
  import { AssertionError as NodeAssertionError } from 'node:assert';
9
- import { kBupkisAssertionError } from './constant.js';
10
9
  /**
11
10
  * _BUPKIS_' s custom `AssertionError` class, which is just a thin wrapper
12
11
  * around Node.js' {@link NodeAssertionError AssertionError}.
13
- *
14
- * @public
15
12
  */
16
13
  export declare class AssertionError extends NodeAssertionError {
17
- [kBupkisAssertionError]: boolean;
18
- static isAssertionError(err: unknown): err is AssertionError;
14
+ name: string;
15
+ /**
16
+ * @param options Options passed to {@link NodeAssertionError}'s constructor
17
+ */
18
+ constructor(options?: ConstructorParameters<typeof NodeAssertionError>[0]);
19
+ /**
20
+ * Type guard for an instance of this error.
21
+ *
22
+ * @param value Some value
23
+ * @returns `true` if `value` is an instance of `AssertionError`
24
+ */
25
+ static isAssertionError(value: unknown): value is AssertionError;
19
26
  }
20
27
  //# sourceMappingURL=error.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EACL,qBAAqB,EAEtB,MAAM,eAAe,CAAC;AAGvB;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,kBAAkB;IACpD,CAAC,qBAAqB,CAAC,UAAQ;IAE/B,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,cAAc;CAK7D"}
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAQnE;;;GAGG;AACH,qBAAa,cAAe,SAAQ,kBAAkB;IAM3C,IAAI,SAAoB;IAEjC;;OAEG;gBACS,OAAO,CAAC,EAAE,qBAAqB,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAIzE;;;;;OAKG;IACH,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc;CAMjE"}
@@ -14,13 +14,28 @@ const guards_js_1 = require("./guards.js");
14
14
  /**
15
15
  * _BUPKIS_' s custom `AssertionError` class, which is just a thin wrapper
16
16
  * around Node.js' {@link NodeAssertionError AssertionError}.
17
- *
18
- * @public
19
17
  */
20
18
  class AssertionError extends node_assert_1.AssertionError {
19
+ /**
20
+ * @internal
21
+ */
21
22
  [constant_js_1.kBupkisAssertionError] = true;
22
- static isAssertionError(err) {
23
- return ((0, guards_js_1.isA)(err, node_assert_1.AssertionError) && Object.hasOwn(err, constant_js_1.kBupkisAssertionError));
23
+ name = 'AssertionError';
24
+ /**
25
+ * @param options Options passed to {@link NodeAssertionError}'s constructor
26
+ */
27
+ constructor(options) {
28
+ super(options);
29
+ }
30
+ /**
31
+ * Type guard for an instance of this error.
32
+ *
33
+ * @param value Some value
34
+ * @returns `true` if `value` is an instance of `AssertionError`
35
+ */
36
+ static isAssertionError(value) {
37
+ return ((0, guards_js_1.isA)(value, node_assert_1.AssertionError) &&
38
+ Object.hasOwn(value, constant_js_1.kBupkisAssertionError));
24
39
  }
25
40
  }
26
41
  exports.AssertionError = AssertionError;