bupkis 0.10.4 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/commonjs/assertion/impl/async-parametric.d.ts +2 -17
- package/dist/commonjs/assertion/impl/async-parametric.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/async-parametric.js +2 -17
- package/dist/commonjs/assertion/impl/async-parametric.js.map +1 -1
- package/dist/commonjs/assertion/impl/async.d.ts +0 -16
- package/dist/commonjs/assertion/impl/async.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-collection.d.ts +54 -89
- package/dist/commonjs/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-collection.js +122 -181
- package/dist/commonjs/assertion/impl/sync-collection.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-date.d.ts +130 -15
- package/dist/commonjs/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-date.js +4 -59
- package/dist/commonjs/assertion/impl/sync-date.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync-parametric.d.ts +2 -6
- package/dist/commonjs/assertion/impl/sync-parametric.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync-parametric.js +2 -4
- package/dist/commonjs/assertion/impl/sync-parametric.js.map +1 -1
- package/dist/commonjs/assertion/impl/sync.d.ts +297 -108
- package/dist/commonjs/assertion/impl/sync.d.ts.map +1 -1
- package/dist/commonjs/assertion/impl/sync.js +5 -1
- package/dist/commonjs/assertion/impl/sync.js.map +1 -1
- package/dist/commonjs/bootstrap.d.ts +146 -62
- package/dist/commonjs/bootstrap.d.ts.map +1 -1
- package/dist/commonjs/diff.d.ts.map +1 -1
- package/dist/commonjs/diff.js +103 -24
- package/dist/commonjs/diff.js.map +1 -1
- package/dist/commonjs/index.d.ts +143 -59
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/schema.d.ts +165 -0
- package/dist/commonjs/schema.d.ts.map +1 -1
- package/dist/commonjs/schema.js +176 -1
- package/dist/commonjs/schema.js.map +1 -1
- package/dist/esm/assertion/impl/async-parametric.d.ts +2 -17
- package/dist/esm/assertion/impl/async-parametric.d.ts.map +1 -1
- package/dist/esm/assertion/impl/async-parametric.js +2 -17
- package/dist/esm/assertion/impl/async-parametric.js.map +1 -1
- package/dist/esm/assertion/impl/async.d.ts +0 -16
- package/dist/esm/assertion/impl/async.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-collection.d.ts +54 -89
- package/dist/esm/assertion/impl/sync-collection.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-collection.js +122 -181
- package/dist/esm/assertion/impl/sync-collection.js.map +1 -1
- package/dist/esm/assertion/impl/sync-date.d.ts +130 -15
- package/dist/esm/assertion/impl/sync-date.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-date.js +4 -59
- package/dist/esm/assertion/impl/sync-date.js.map +1 -1
- package/dist/esm/assertion/impl/sync-parametric.d.ts +2 -6
- package/dist/esm/assertion/impl/sync-parametric.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync-parametric.js +2 -4
- package/dist/esm/assertion/impl/sync-parametric.js.map +1 -1
- package/dist/esm/assertion/impl/sync.d.ts +297 -108
- package/dist/esm/assertion/impl/sync.d.ts.map +1 -1
- package/dist/esm/assertion/impl/sync.js +6 -2
- package/dist/esm/assertion/impl/sync.js.map +1 -1
- package/dist/esm/bootstrap.d.ts +146 -62
- package/dist/esm/bootstrap.d.ts.map +1 -1
- package/dist/esm/diff.d.ts.map +1 -1
- package/dist/esm/diff.js +103 -24
- package/dist/esm/diff.js.map +1 -1
- package/dist/esm/index.d.ts +143 -59
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/schema.d.ts +165 -0
- package/dist/esm/schema.d.ts.map +1 -1
- package/dist/esm/schema.js +175 -0
- package/dist/esm/schema.js.map +1 -1
- package/package.json +3 -3
- package/src/assertion/impl/async-parametric.ts +2 -17
- package/src/assertion/impl/sync-collection.ts +135 -191
- package/src/assertion/impl/sync-date.ts +37 -105
- package/src/assertion/impl/sync-parametric.ts +2 -4
- package/src/assertion/impl/sync.ts +5 -2
- package/src/diff.ts +122 -29
- package/src/schema.ts +179 -0
|
@@ -12,7 +12,128 @@
|
|
|
12
12
|
* @packageDocumentation
|
|
13
13
|
* @showGroups
|
|
14
14
|
*/
|
|
15
|
-
export declare const SyncDateAssertions: readonly [import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be after", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be after">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"ago">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"from now">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be before", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be before">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be between", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "and", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, start: string | number | Date, end: string | number | Date) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be between">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"and">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to equal", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "within", import("zod").ZodCustomStringFormat<"duration">], (subject: string | number | Date, other: string | number | Date, toleranceStr: string) => import("../assertion-types.js").AssertionFailure | boolean, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"within">, import("zod").ZodCustomStringFormat<"duration">]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be in the future"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be in the past"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be the same date as", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("../assertion-types.js").AssertionFailure | boolean, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be the same date as">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be today"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | boolean, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]]>, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be a weekday"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | boolean, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be a weekend"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | boolean, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"ago">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"from now">]>];
|
|
15
|
+
/**
|
|
16
|
+
* Tuple of all built-in date-related synchronous assertions.
|
|
17
|
+
*
|
|
18
|
+
* @group Assertion Collections
|
|
19
|
+
*/
|
|
20
|
+
export declare const SyncDateAssertions: readonly [import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be after", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
21
|
+
message: string;
|
|
22
|
+
schema?: never;
|
|
23
|
+
subject?: never;
|
|
24
|
+
} | {
|
|
25
|
+
schema: import("zod").ZodDate;
|
|
26
|
+
subject: Date;
|
|
27
|
+
message?: never;
|
|
28
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be after">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => {
|
|
29
|
+
message: string;
|
|
30
|
+
schema?: never;
|
|
31
|
+
subject?: never;
|
|
32
|
+
} | {
|
|
33
|
+
schema: import("zod").ZodDate;
|
|
34
|
+
subject: Date;
|
|
35
|
+
message?: never;
|
|
36
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"ago">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => {
|
|
37
|
+
message: string;
|
|
38
|
+
schema?: never;
|
|
39
|
+
subject?: never;
|
|
40
|
+
} | {
|
|
41
|
+
schema: import("zod").ZodDate;
|
|
42
|
+
subject: Date;
|
|
43
|
+
message?: never;
|
|
44
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"from now">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be before", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
45
|
+
message: string;
|
|
46
|
+
schema?: never;
|
|
47
|
+
subject?: never;
|
|
48
|
+
} | {
|
|
49
|
+
schema: import("zod").ZodDate;
|
|
50
|
+
subject: Date;
|
|
51
|
+
message?: never;
|
|
52
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be before">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be between", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "and", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, start: string | number | Date, end: string | number | Date) => {
|
|
53
|
+
message: string;
|
|
54
|
+
schema?: never;
|
|
55
|
+
subject?: never;
|
|
56
|
+
} | {
|
|
57
|
+
schema: import("zod").ZodDate;
|
|
58
|
+
subject: Date;
|
|
59
|
+
message?: never;
|
|
60
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be between">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"and">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to equal", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "within", import("zod").ZodCustomStringFormat<"duration">], (subject: string | number | Date, other: string | number | Date, toleranceStr: string) => {
|
|
61
|
+
message: string;
|
|
62
|
+
actual?: never;
|
|
63
|
+
expected?: never;
|
|
64
|
+
} | {
|
|
65
|
+
actual: {
|
|
66
|
+
difference: number;
|
|
67
|
+
};
|
|
68
|
+
expected: {
|
|
69
|
+
maxDifference: number;
|
|
70
|
+
};
|
|
71
|
+
message: string;
|
|
72
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"within">, import("zod").ZodCustomStringFormat<"duration">]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be in the future"], (subject: unknown) => {
|
|
73
|
+
message: string;
|
|
74
|
+
schema?: never;
|
|
75
|
+
subject?: never;
|
|
76
|
+
} | {
|
|
77
|
+
schema: import("zod").ZodDate;
|
|
78
|
+
subject: Date;
|
|
79
|
+
message?: never;
|
|
80
|
+
}, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be in the past"], (subject: unknown) => {
|
|
81
|
+
message: string;
|
|
82
|
+
schema?: never;
|
|
83
|
+
subject?: never;
|
|
84
|
+
} | {
|
|
85
|
+
schema: import("zod").ZodDate;
|
|
86
|
+
subject: Date;
|
|
87
|
+
message?: never;
|
|
88
|
+
}, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be the same date as", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
89
|
+
message: string;
|
|
90
|
+
actual?: never;
|
|
91
|
+
expected?: never;
|
|
92
|
+
} | {
|
|
93
|
+
actual: string;
|
|
94
|
+
expected: string;
|
|
95
|
+
message: string;
|
|
96
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be the same date as">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be today"], (subject: unknown) => {
|
|
97
|
+
message: string;
|
|
98
|
+
actual?: never;
|
|
99
|
+
expected?: never;
|
|
100
|
+
} | {
|
|
101
|
+
actual: string;
|
|
102
|
+
expected: string;
|
|
103
|
+
message: string;
|
|
104
|
+
} | undefined, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]]>, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be a weekday"], (subject: unknown) => {
|
|
105
|
+
message: string;
|
|
106
|
+
actual?: never;
|
|
107
|
+
expected?: never;
|
|
108
|
+
} | {
|
|
109
|
+
actual: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | undefined;
|
|
110
|
+
expected: string;
|
|
111
|
+
message: string;
|
|
112
|
+
} | undefined, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be a weekend"], (subject: unknown) => {
|
|
113
|
+
message: string;
|
|
114
|
+
actual?: never;
|
|
115
|
+
expected?: never;
|
|
116
|
+
} | {
|
|
117
|
+
actual: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | undefined;
|
|
118
|
+
expected: string;
|
|
119
|
+
message: string;
|
|
120
|
+
} | undefined, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => {
|
|
121
|
+
message: string;
|
|
122
|
+
schema?: never;
|
|
123
|
+
subject?: never;
|
|
124
|
+
} | {
|
|
125
|
+
schema: import("zod").ZodDate;
|
|
126
|
+
subject: Date;
|
|
127
|
+
message?: never;
|
|
128
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"ago">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => {
|
|
129
|
+
message: string;
|
|
130
|
+
schema?: never;
|
|
131
|
+
subject?: never;
|
|
132
|
+
} | {
|
|
133
|
+
schema: import("zod").ZodDate;
|
|
134
|
+
subject: Date;
|
|
135
|
+
message?: never;
|
|
136
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"from now">]>];
|
|
16
137
|
/**
|
|
17
138
|
* Tuple of all built-in esoteric synchronous assertions.
|
|
18
139
|
*
|
|
@@ -51,7 +172,7 @@ export declare const SyncBasicAssertions: readonly [import("../assertion-types.j
|
|
|
51
172
|
*/
|
|
52
173
|
export declare const SyncParametricAssertions: readonly [import("../assertion-types.js").AssertionFunctionSync<readonly [readonly ["to be an instance of", "to be a", "to be an"], 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-types.js").PhraseLiteralChoiceSlot<readonly ["to be an instance of", "to be a", "to be an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodAny, readonly ["to be a", "to be an", "to have type"], import("zod").ZodEnum<{
|
|
53
174
|
[x: string]: string;
|
|
54
|
-
}>], (_: any, type: string) => import("zod").ZodString | import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | import("zod").ZodNumber | import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | import("zod").
|
|
175
|
+
}>], (_: any, type: string) => import("zod").ZodString | import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | import("zod").ZodNumber | import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | import("zod").ZodSymbol | import("zod").ZodArray<import("zod").ZodAny> | import("zod").ZodBigInt | import("zod").ZodBoolean | import("zod").ZodDate | import("zod").ZodCustom<Error, Error> | import("zod").ZodNull | import("zod").ZodUndefined | import("zod").ZodCustom<RegExp, RegExp> | import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut> | import("zod").ZodObject<{}, import("zod/v4/core").$loose> | import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>> | import("zod").ZodCustom<WeakRef<WeakKey>, WeakRef<WeakKey>>, readonly [import("zod").ZodAny, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be a", "to be an", "to have type"]>, import("zod").ZodEnum<{
|
|
55
176
|
[x: string]: string;
|
|
56
177
|
}>]>, import("../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-types.js").PhraseLiteralSlot<"to be greater than">, import("zod").ZodNumber]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be less than", "to be lt"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be less than", "to be lt"]>, import("zod").ZodNumber]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be greater than or equal to", "to be at least", "to be gte"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be greater than or equal to", "to be at least", "to be gte"]>, import("zod").ZodNumber]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be less than or equal to", "to be at most", "to be lte"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be less than or equal to", "to be at most", "to be lte"]>, import("zod").ZodNumber]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be within", "to be between"], import("zod").ZodNumber, import("zod").ZodNumber], (subject: number, min: number, max: number) => {
|
|
57
178
|
actual: number;
|
|
@@ -87,7 +208,7 @@ export declare const SyncParametricAssertions: readonly [import("../assertion-ty
|
|
|
87
208
|
message: string;
|
|
88
209
|
} | undefined, readonly [import("zod").ZodString, import("../assertion-types.js").PhraseLiteralSlot<"to end with">, import("zod").ZodString]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be one of", import("zod").ZodArray<import("zod").ZodAny>], (subject: unknown, values: any[]) => {
|
|
89
210
|
actual: unknown;
|
|
90
|
-
expected:
|
|
211
|
+
expected: any[];
|
|
91
212
|
message: string;
|
|
92
213
|
} | undefined, readonly [import("zod").ZodUnknown, import("../assertion-types.js").PhraseLiteralSlot<"to be one of">, import("zod").ZodArray<import("zod").ZodAny>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, "to have arity", import("zod").ZodInt], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, expectedArity: number) => {
|
|
93
214
|
actual: number;
|
|
@@ -122,16 +243,12 @@ export declare const SyncParametricAssertions: readonly [import("../assertion-ty
|
|
|
122
243
|
expected: string;
|
|
123
244
|
message: string;
|
|
124
245
|
} | undefined, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to throw a", "to throw an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw", "to throw error satisfying"], import("zod").ZodAny], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: any) => {
|
|
125
|
-
actual: unknown;
|
|
126
|
-
expected: string;
|
|
127
246
|
message: string;
|
|
128
247
|
schema?: never;
|
|
129
248
|
subject?: never;
|
|
130
249
|
} | {
|
|
131
250
|
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
132
251
|
subject: {} | null;
|
|
133
|
-
actual?: never;
|
|
134
|
-
expected?: never;
|
|
135
252
|
message?: never;
|
|
136
253
|
}, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to throw", "to throw error satisfying"]>, import("zod").ZodAny]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw a", "to throw an"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>, "satisfying", import("zod").ZodAny], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor, param: any) => {
|
|
137
254
|
actual: unknown;
|
|
@@ -162,185 +279,145 @@ export declare const SyncParametricAssertions: readonly [import("../assertion-ty
|
|
|
162
279
|
/**
|
|
163
280
|
* @group Assertion Collections
|
|
164
281
|
*/
|
|
165
|
-
export declare const SyncCollectionAssertions: readonly [import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").
|
|
166
|
-
actual: unknown;
|
|
167
|
-
expected: string;
|
|
168
|
-
message: string;
|
|
169
|
-
}, readonly [import("zod").ZodUnion<[import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, "to have size", import("zod").ZodInt], (subject: Map<unknown, unknown>, expectedSize: number) => true | {
|
|
170
|
-
actual: number;
|
|
171
|
-
expected: number;
|
|
282
|
+
export declare const SyncCollectionAssertions: readonly [import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, key: unknown) => {
|
|
172
283
|
message: string;
|
|
173
|
-
|
|
284
|
+
actual?: never;
|
|
285
|
+
expected?: never;
|
|
286
|
+
} | {
|
|
174
287
|
actual: unknown;
|
|
175
288
|
expected: string;
|
|
176
289
|
message: string;
|
|
177
|
-
}, readonly [import("zod").ZodUnion<[import("zod").
|
|
178
|
-
actual: number;
|
|
179
|
-
expected: number;
|
|
180
|
-
message: string;
|
|
181
|
-
} | undefined, readonly [import("zod").ZodSet<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodSet<import("zod").ZodUnknown>, "to be empty"], (subject: Set<unknown>) => {
|
|
182
|
-
actual: number;
|
|
183
|
-
expected: number;
|
|
184
|
-
message: string;
|
|
185
|
-
} | undefined, readonly [import("zod").ZodSet<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, readonly ["to contain", "to include"], import("zod").ZodAny], (subject: any[], value: any) => true | {
|
|
186
|
-
actual: any[];
|
|
187
|
-
expected: string;
|
|
290
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have size", import("zod").ZodInt], (_subject: Map<unknown, unknown>, expectedSize: number) => import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"]>, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: Set<unknown> | WeakSet<WeakKey>, value: unknown) => {
|
|
188
291
|
message: string;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to have length", import("zod").ZodInt], (_: unknown[], expectedLength: number) => import("zod").ZodArray<import("zod").ZodUnknown>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have length">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"], (subject: unknown[]) => {
|
|
194
|
-
actual: string;
|
|
292
|
+
actual?: never;
|
|
293
|
+
expected?: never;
|
|
294
|
+
} | {
|
|
295
|
+
actual: unknown;
|
|
195
296
|
expected: string;
|
|
196
297
|
message: string;
|
|
197
|
-
} | undefined, readonly [import("zod").
|
|
198
|
-
actual: string;
|
|
199
|
-
expected: string;
|
|
298
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have size", import("zod").ZodInt], (_subject: Set<unknown>, expectedSize: number) => import("zod").ZodSet<import("zod").ZodUnknown>, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"]>, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: unknown[], value: unknown) => {
|
|
200
299
|
message: string;
|
|
201
|
-
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props"]>, import("zod").ZodArray<import("zod").ZodString
|
|
300
|
+
} | undefined, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, readonly ["to have length", "to have size"], import("zod").ZodInt], (_subject: unknown[], expectedSize: number) => import("zod").ZodArray<import("zod").ZodUnknown>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have length", "to have size"]>, import("zod").ZodInt]>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"]>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have keys", "to have properties", "to have props", "to contain keys", "to contain properties", "to contain props", "to include keys", "to include properties", "to include props"], import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>>], (_subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keys: (string | number | symbol)[]) => import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props", "to contain keys", "to contain properties", "to contain props", "to include keys", "to include properties", "to include props"]>, import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, "to have size", import("zod").ZodInt], (subject: {
|
|
202
301
|
[x: string]: unknown;
|
|
203
302
|
}, expectedSize: number) => {
|
|
204
303
|
actual: number;
|
|
205
304
|
expected: number;
|
|
206
305
|
message: string;
|
|
207
|
-
} | undefined, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have exact key", "to have exact property", "to have exact prop"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_: Record<PropertyKey, unknown> | ((...args: any[]) => any), key: string | number | symbol) => import("zod").ZodPipe<import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("zod").ZodTransform<{}, Record<PropertyKey, unknown> | ((...args: any[]) => any)>>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have exact key", "to have exact property", "to have exact prop"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have key", "to have property", "to have prop"], import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keypath: string) => {
|
|
306
|
+
} | undefined, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have exact key", "to have exact property", "to have exact prop"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_: Record<PropertyKey, unknown> | ((...args: any[]) => any), key: string | number | symbol) => import("zod").ZodPipe<import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("zod").ZodTransform<{}, Record<PropertyKey, unknown> | ((...args: any[]) => any)>>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have exact key", "to have exact property", "to have exact prop"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have key", "to have property", "to have prop", "to contain key", "to contain property", "to contain prop", "to include key", "to include property", "to include prop"], import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keypath: string) => {
|
|
208
307
|
actual: string;
|
|
209
308
|
expect: string;
|
|
210
309
|
message: string;
|
|
211
|
-
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have key", "to have property", "to have prop"]>, import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").
|
|
310
|
+
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have key", "to have property", "to have prop", "to contain key", "to contain property", "to contain prop", "to include key", "to include property", "to include prop"]>, import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to equal", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (actual: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be a subset of", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (subset: Set<unknown>, superset: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be a subset of">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be a superset of", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (superset: Set<unknown>, subset: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be a superset of">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to intersect with", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to intersect with">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be disjoint from", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be disjoint from">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have union", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have union">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have intersection", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have intersection">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have difference", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have difference">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have symmetric difference", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have symmetric difference">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have key", import("zod").ZodUnknown], (map: Map<unknown, unknown>, key: unknown) => {
|
|
212
311
|
actual: unknown[];
|
|
213
|
-
expected: unknown;
|
|
312
|
+
expected: unknown[];
|
|
214
313
|
message: string;
|
|
215
|
-
}, readonly [import("zod").
|
|
314
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have key">, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, readonly ["to have value", "to contain value", "to include value"], import("zod").ZodUnknown], (map: Map<unknown, unknown>, value: unknown) => {
|
|
216
315
|
actual: unknown[];
|
|
217
316
|
expected: unknown;
|
|
218
317
|
message: string;
|
|
219
|
-
}, readonly [import("zod").
|
|
220
|
-
actual: "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
|
|
221
|
-
expected: string;
|
|
318
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have value", "to contain value", "to include value"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to have entry", "to have key/value pair", "to contain entry", "to contain key/value pair", "to include entry", "to include key/value pair"], import("zod").ZodTuple<[import("zod").ZodUnknown, import("zod").ZodUnknown], null>], (map: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, [key, value]: [unknown, unknown]) => {
|
|
222
319
|
message: string;
|
|
320
|
+
actual?: never;
|
|
321
|
+
expected?: never;
|
|
223
322
|
} | {
|
|
224
323
|
actual: unknown[] | undefined;
|
|
225
324
|
expected: unknown[];
|
|
226
325
|
message: string;
|
|
227
|
-
}, readonly [import("zod").ZodUnion<[import("zod").
|
|
326
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have entry", "to have key/value pair", "to contain entry", "to contain key/value pair", "to include entry", "to include key/value pair"]>, import("zod").ZodTuple<[import("zod").ZodUnknown, import("zod").ZodUnknown], null>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to equal", import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>], (mapA: Map<unknown, unknown>, mapB: Map<unknown, unknown>) => {
|
|
228
327
|
actual: number;
|
|
229
328
|
expected: number;
|
|
230
329
|
message: string;
|
|
231
330
|
} | {
|
|
232
|
-
actual: string;
|
|
233
|
-
expected: string;
|
|
234
331
|
message: string;
|
|
332
|
+
actual?: never;
|
|
333
|
+
expected?: never;
|
|
235
334
|
} | {
|
|
236
335
|
actual: unknown[];
|
|
237
336
|
expected: unknown[];
|
|
238
337
|
message: string;
|
|
239
|
-
}, readonly [import("zod").
|
|
338
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size greater than", import("zod").ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, minSize: number) => {
|
|
240
339
|
actual: number;
|
|
241
|
-
expected:
|
|
340
|
+
expected: number;
|
|
242
341
|
message: string;
|
|
243
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
342
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size greater than">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size less than", import("zod").ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, maxSize: number) => {
|
|
244
343
|
actual: number;
|
|
245
|
-
expected:
|
|
344
|
+
expected: number;
|
|
246
345
|
message: string;
|
|
247
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
248
|
-
actual: number;
|
|
249
|
-
expected: string;
|
|
346
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size less than">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size between", import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodNumber], null>], (collection: Map<unknown, unknown> | Set<unknown>, [min, max]: [number, number]) => {
|
|
250
347
|
message: string;
|
|
251
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
348
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size between">, import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodNumber], null>]>];
|
|
252
349
|
/**
|
|
253
350
|
* Tuple of all built-in synchronous assertions.
|
|
254
351
|
*
|
|
255
352
|
* @group Assertion Collections
|
|
256
353
|
*/
|
|
257
|
-
export declare const SyncAssertions: readonly [import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").
|
|
258
|
-
actual: unknown;
|
|
259
|
-
expected: string;
|
|
354
|
+
export declare const SyncAssertions: readonly [import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, key: unknown) => {
|
|
260
355
|
message: string;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
message: string;
|
|
265
|
-
}, readonly [import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, "to be empty"], (subject: Map<unknown, unknown>) => boolean, readonly [import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodSet<import("zod").ZodUnknown>, import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: Set<unknown> | WeakSet<WeakKey>, value: unknown) => true | {
|
|
356
|
+
actual?: never;
|
|
357
|
+
expected?: never;
|
|
358
|
+
} | {
|
|
266
359
|
actual: unknown;
|
|
267
360
|
expected: string;
|
|
268
361
|
message: string;
|
|
269
|
-
}, readonly [import("zod").ZodUnion<[import("zod").
|
|
270
|
-
actual: number;
|
|
271
|
-
expected: number;
|
|
272
|
-
message: string;
|
|
273
|
-
} | undefined, readonly [import("zod").ZodSet<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodSet<import("zod").ZodUnknown>, "to be empty"], (subject: Set<unknown>) => {
|
|
274
|
-
actual: number;
|
|
275
|
-
expected: number;
|
|
362
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have size", import("zod").ZodInt], (_subject: Map<unknown, unknown>, expectedSize: number) => import("zod").ZodMap<import("zod").ZodUnknown, import("zod").ZodUnknown>, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to be empty"]>, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: Set<unknown> | WeakSet<WeakKey>, value: unknown) => {
|
|
276
363
|
message: string;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
}, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodAny]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodAny>, "to have size", import("zod").ZodInt], (subject: any[], expectedSize: number) => true | {
|
|
282
|
-
actual: number;
|
|
283
|
-
expected: number;
|
|
284
|
-
message: string;
|
|
285
|
-
}, readonly [import("zod").ZodArray<import("zod").ZodAny>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to have length", import("zod").ZodInt], (_: unknown[], expectedLength: number) => import("zod").ZodArray<import("zod").ZodUnknown>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have length">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"], (subject: unknown[]) => {
|
|
286
|
-
actual: string;
|
|
364
|
+
actual?: never;
|
|
365
|
+
expected?: never;
|
|
366
|
+
} | {
|
|
367
|
+
actual: unknown;
|
|
287
368
|
expected: string;
|
|
288
369
|
message: string;
|
|
289
|
-
} | undefined, readonly [import("zod").
|
|
290
|
-
actual: string;
|
|
291
|
-
expected: string;
|
|
370
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have size", import("zod").ZodInt], (_subject: Set<unknown>, expectedSize: number) => import("zod").ZodSet<import("zod").ZodUnknown>, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be empty"]>, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, readonly ["to contain", "to include"], import("zod").ZodUnknown], (subject: unknown[], value: unknown) => {
|
|
292
371
|
message: string;
|
|
293
|
-
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props"]>, import("zod").ZodArray<import("zod").ZodString
|
|
372
|
+
} | undefined, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to contain", "to include"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, readonly ["to have length", "to have size"], import("zod").ZodInt], (_subject: unknown[], expectedSize: number) => import("zod").ZodArray<import("zod").ZodUnknown>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have length", "to have size"]>, import("zod").ZodInt]>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, "to be non-empty"]>, readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have keys", "to have properties", "to have props", "to contain keys", "to contain properties", "to contain props", "to include keys", "to include properties", "to include props"], import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>>], (_subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keys: (string | number | symbol)[]) => import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have keys", "to have properties", "to have props", "to contain keys", "to contain properties", "to contain props", "to include keys", "to include properties", "to include props"]>, import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, "to have size", import("zod").ZodInt], (subject: {
|
|
294
373
|
[x: string]: unknown;
|
|
295
374
|
}, expectedSize: number) => {
|
|
296
375
|
actual: number;
|
|
297
376
|
expected: number;
|
|
298
377
|
message: string;
|
|
299
|
-
} | undefined, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have exact key", "to have exact property", "to have exact prop"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_: Record<PropertyKey, unknown> | ((...args: any[]) => any), key: string | number | symbol) => import("zod").ZodPipe<import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("zod").ZodTransform<{}, Record<PropertyKey, unknown> | ((...args: any[]) => any)>>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have exact key", "to have exact property", "to have exact prop"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have key", "to have property", "to have prop"], import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keypath: string) => {
|
|
378
|
+
} | undefined, readonly [import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("../assertion-types.js").PhraseLiteralSlot<"to have size">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have exact key", "to have exact property", "to have exact prop"], import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_: Record<PropertyKey, unknown> | ((...args: any[]) => any), key: string | number | symbol) => import("zod").ZodPipe<import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("zod").ZodTransform<{}, Record<PropertyKey, unknown> | ((...args: any[]) => any)>>, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have exact key", "to have exact property", "to have exact prop"]>, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, readonly ["to have key", "to have property", "to have prop", "to contain key", "to contain property", "to contain prop", "to include key", "to include property", "to include prop"], import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>], (subject: Record<PropertyKey, unknown> | ((...args: any[]) => any), keypath: string) => {
|
|
300
379
|
actual: string;
|
|
301
380
|
expect: string;
|
|
302
381
|
message: string;
|
|
303
|
-
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have key", "to have property", "to have prop"]>, import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").
|
|
382
|
+
} | undefined, readonly [import("zod").ZodCustom<Record<PropertyKey, unknown> | ((...args: any[]) => any), Record<PropertyKey, unknown> | ((...args: any[]) => any)>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have key", "to have property", "to have prop", "to contain key", "to contain property", "to contain prop", "to include key", "to include property", "to include prop"]>, import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to equal", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (actual: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be a subset of", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (subset: Set<unknown>, superset: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be a subset of">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be a superset of", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (superset: Set<unknown>, subset: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be a superset of">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to intersect with", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to intersect with">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to be disjoint from", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to be disjoint from">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have union", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have union">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have intersection", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have intersection">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have difference", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have difference">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "to have symmetric difference", import("zod").ZodCustom<Set<unknown>, Set<unknown>>, "equal to", import("zod").ZodCustom<Set<unknown>, Set<unknown>>], (setA: Set<unknown>, setB: Set<unknown>, expected: Set<unknown>) => boolean, readonly [import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have symmetric difference">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"equal to">, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to have key", import("zod").ZodUnknown], (map: Map<unknown, unknown>, key: unknown) => {
|
|
304
383
|
actual: unknown[];
|
|
305
|
-
expected: unknown;
|
|
384
|
+
expected: unknown[];
|
|
306
385
|
message: string;
|
|
307
|
-
}, readonly [import("zod").
|
|
386
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to have key">, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, readonly ["to have value", "to contain value", "to include value"], import("zod").ZodUnknown], (map: Map<unknown, unknown>, value: unknown) => {
|
|
308
387
|
actual: unknown[];
|
|
309
388
|
expected: unknown;
|
|
310
389
|
message: string;
|
|
311
|
-
}, readonly [import("zod").
|
|
312
|
-
actual: "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
|
|
313
|
-
expected: string;
|
|
390
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have value", "to contain value", "to include value"]>, import("zod").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, readonly ["to have entry", "to have key/value pair", "to contain entry", "to contain key/value pair", "to include entry", "to include key/value pair"], import("zod").ZodTuple<[import("zod").ZodUnknown, import("zod").ZodUnknown], null>], (map: Map<unknown, unknown> | WeakMap<WeakKey, unknown>, [key, value]: [unknown, unknown]) => {
|
|
314
391
|
message: string;
|
|
392
|
+
actual?: never;
|
|
393
|
+
expected?: never;
|
|
315
394
|
} | {
|
|
316
395
|
actual: unknown[] | undefined;
|
|
317
396
|
expected: unknown[];
|
|
318
397
|
message: string;
|
|
319
|
-
}, readonly [import("zod").ZodUnion<[import("zod").
|
|
398
|
+
} | undefined, readonly [import("zod").ZodUnion<[import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>]>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to have entry", "to have key/value pair", "to contain entry", "to contain key/value pair", "to include entry", "to include key/value pair"]>, import("zod").ZodTuple<[import("zod").ZodUnknown, import("zod").ZodUnknown], null>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, "to equal", import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>], (mapA: Map<unknown, unknown>, mapB: Map<unknown, unknown>) => {
|
|
320
399
|
actual: number;
|
|
321
400
|
expected: number;
|
|
322
401
|
message: string;
|
|
323
402
|
} | {
|
|
324
|
-
actual: string;
|
|
325
|
-
expected: string;
|
|
326
403
|
message: string;
|
|
404
|
+
actual?: never;
|
|
405
|
+
expected?: never;
|
|
327
406
|
} | {
|
|
328
407
|
actual: unknown[];
|
|
329
408
|
expected: unknown[];
|
|
330
409
|
message: string;
|
|
331
|
-
}, readonly [import("zod").
|
|
410
|
+
} | undefined, readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size greater than", import("zod").ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, minSize: number) => {
|
|
332
411
|
actual: number;
|
|
333
|
-
expected:
|
|
412
|
+
expected: number;
|
|
334
413
|
message: string;
|
|
335
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
414
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size greater than">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size less than", import("zod").ZodInt], (collection: Map<unknown, unknown> | Set<unknown>, maxSize: number) => {
|
|
336
415
|
actual: number;
|
|
337
|
-
expected:
|
|
416
|
+
expected: number;
|
|
338
417
|
message: string;
|
|
339
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
340
|
-
actual: number;
|
|
341
|
-
expected: string;
|
|
418
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size less than">, import("zod").ZodInt]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, "to have size between", import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodNumber], null>], (collection: Map<unknown, unknown> | Set<unknown>, [min, max]: [number, number]) => {
|
|
342
419
|
message: string;
|
|
343
|
-
}, readonly [import("zod").ZodUnion<readonly [import("zod").
|
|
420
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>, import("zod").ZodCustom<Set<unknown>, Set<unknown>>]>, import("../assertion-types.js").PhraseLiteralSlot<"to have size between">, import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodNumber], null>]>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be an array", "to be array"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be an array", "to be array"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be an async function"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be an async function"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a bigint", "to be a BigInt"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a boolean", "to be boolean", "to be a bool"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a class", "to be a constructor", "to be constructible"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a class", "to be a constructor", "to be constructible"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a date", "to be a Date"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a date", "to be a Date"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be defined"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be defined"]>, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodUnknown>, import("zod").ZodTuple<[import("zod").ZodUnknown], import("zod").ZodUnknown>, import("zod").ZodObject<{
|
|
344
421
|
length: import("zod").ZodNumber;
|
|
345
422
|
}, import("zod/v4/core").$loose>]>, "to be empty"], (subject: unknown[] | [unknown, ...unknown[]] | {
|
|
346
423
|
[x: string]: unknown;
|
|
@@ -353,7 +430,7 @@ export declare const SyncAssertions: readonly [import("../assertion-types.js").A
|
|
|
353
430
|
length: import("zod").ZodNumber;
|
|
354
431
|
}, import("zod/v4/core").$loose>]>, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodRecord<import("zod").ZodAny, import("zod").ZodUnknown>, "to be empty"], import("../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-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodString, "to be empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodString, "to be empty"]>, readonly [import("zod").ZodString, import("../assertion-types.js").PhraseLiteralSlot<"to be empty">]>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be an Error", "to be a Error"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be an Error", "to be a Error"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be false"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be false"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be falsy"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be falsy"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be a function"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be a function"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be infinite"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be infinite"]>, never>, import("../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-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-types.js").AssertionSchemaSync<readonly ["to be NaN"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be NaN"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be negative", "to be a negative number"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be -Infinity"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be -Infinity"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a negative integer", "to be a negative int"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [import("zod").ZodString, "to be non-empty"], import("../assertion-types.js").AssertionImplSchemaSync<readonly [import("zod").ZodString, "to be non-empty"]>, readonly [import("zod").ZodString, import("../assertion-types.js").PhraseLiteralSlot<"to be non-empty">]>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be null"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be null"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a number", "to be finite"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a number", "to be finite"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be an object"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be an object"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be positive", "to be a positive number"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be Infinity"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be Infinity"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a positive integer", "to be a positive int"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be a primitive"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be a primitive"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a record", "to be a plain object"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a RegExp", "to be a regex", "to be a regexp"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be a Set"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be a Set"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be a string"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be a string"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a symbol", "to be a Symbol"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be true"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be true"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be truthy", "to exist", "to be ok"]]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be undefined"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be undefined"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be a WeakMap"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be a WeakMap"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be a WeakSet"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be a WeakSet"]>, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [readonly ["to be an instance of", "to be a", "to be an"], 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-types.js").PhraseLiteralChoiceSlot<readonly ["to be an instance of", "to be a", "to be an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodAny, readonly ["to be a", "to be an", "to have type"], import("zod").ZodEnum<{
|
|
355
432
|
[x: string]: string;
|
|
356
|
-
}>], (_: any, type: string) => import("zod").ZodString | import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | import("zod").ZodNumber | import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | import("zod").
|
|
433
|
+
}>], (_: any, type: string) => import("zod").ZodString | import("zod").ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>> | import("zod").ZodNumber | import("zod").ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>> | import("zod").ZodSymbol | import("zod").ZodArray<import("zod").ZodAny> | import("zod").ZodBigInt | import("zod").ZodBoolean | import("zod").ZodDate | import("zod").ZodCustom<Error, Error> | import("zod").ZodNull | import("zod").ZodUndefined | import("zod").ZodCustom<RegExp, RegExp> | import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut> | import("zod").ZodObject<{}, import("zod/v4/core").$loose> | import("zod").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>> | import("zod").ZodCustom<WeakRef<WeakKey>, WeakRef<WeakKey>>, readonly [import("zod").ZodAny, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be a", "to be an", "to have type"]>, import("zod").ZodEnum<{
|
|
357
434
|
[x: string]: string;
|
|
358
435
|
}>]>, import("../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-types.js").PhraseLiteralSlot<"to be greater than">, import("zod").ZodNumber]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be less than", "to be lt"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be less than", "to be lt"]>, import("zod").ZodNumber]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be greater than or equal to", "to be at least", "to be gte"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be greater than or equal to", "to be at least", "to be gte"]>, import("zod").ZodNumber]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be less than or equal to", "to be at most", "to be lte"], import("zod").ZodNumber], (_: number, other: number) => import("zod").ZodNumber, readonly [import("zod").ZodNumber, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to be less than or equal to", "to be at most", "to be lte"]>, import("zod").ZodNumber]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNumber, readonly ["to be within", "to be between"], import("zod").ZodNumber, import("zod").ZodNumber], (subject: number, min: number, max: number) => {
|
|
359
436
|
actual: number;
|
|
@@ -389,7 +466,7 @@ export declare const SyncAssertions: readonly [import("../assertion-types.js").A
|
|
|
389
466
|
message: string;
|
|
390
467
|
} | undefined, readonly [import("zod").ZodString, import("../assertion-types.js").PhraseLiteralSlot<"to end with">, import("zod").ZodString]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be one of", import("zod").ZodArray<import("zod").ZodAny>], (subject: unknown, values: any[]) => {
|
|
391
468
|
actual: unknown;
|
|
392
|
-
expected:
|
|
469
|
+
expected: any[];
|
|
393
470
|
message: string;
|
|
394
471
|
} | undefined, readonly [import("zod").ZodUnknown, import("../assertion-types.js").PhraseLiteralSlot<"to be one of">, import("zod").ZodArray<import("zod").ZodAny>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, "to have arity", import("zod").ZodInt], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, expectedArity: number) => {
|
|
395
472
|
actual: number;
|
|
@@ -424,16 +501,12 @@ export declare const SyncAssertions: readonly [import("../assertion-types.js").A
|
|
|
424
501
|
expected: string;
|
|
425
502
|
message: string;
|
|
426
503
|
} | undefined, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to throw a", "to throw an"]>, import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw", "to throw error satisfying"], import("zod").ZodAny], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: any) => {
|
|
427
|
-
actual: unknown;
|
|
428
|
-
expected: string;
|
|
429
504
|
message: string;
|
|
430
505
|
schema?: never;
|
|
431
506
|
subject?: never;
|
|
432
507
|
} | {
|
|
433
508
|
schema: import("zod").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
434
509
|
subject: {} | null;
|
|
435
|
-
actual?: never;
|
|
436
|
-
expected?: never;
|
|
437
510
|
message?: never;
|
|
438
511
|
}, readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to throw", "to throw error satisfying"]>, import("zod").ZodAny]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to throw a", "to throw an"], import("zod").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>, "satisfying", import("zod").ZodAny], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor, param: any) => {
|
|
439
512
|
actual: unknown;
|
|
@@ -468,7 +541,123 @@ export declare const SyncAssertions: readonly [import("../assertion-types.js").A
|
|
|
468
541
|
actual: boolean;
|
|
469
542
|
expected: boolean;
|
|
470
543
|
message: string;
|
|
471
|
-
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>, import("../assertion-types.js").PhraseLiteralSlot<"to be an enumerable property of">, import("zod").ZodNonOptional<import("zod").ZodUnknown>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNonOptional<import("zod").ZodUnknown>, "to have enumerable property", import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_subject: unknown, key: string | number | symbol) => import("zod").ZodCustom<unknown, unknown>, readonly [import("zod").ZodNonOptional<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have enumerable property">, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be sealed"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be sealed"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be extensible"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be extensible"]>, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be after", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be after">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"ago">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"from now">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be before", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be before">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be between", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "and", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, start: string | number | Date, end: string | number | Date) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be between">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"and">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to equal", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "within", import("zod").ZodCustomStringFormat<"duration">], (subject: string | number | Date, other: string | number | Date, toleranceStr: string) => import("../assertion-types.js").AssertionFailure | boolean, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"within">, import("zod").ZodCustomStringFormat<"duration">]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be in the future"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be in the past"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be the same date as", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => import("../assertion-types.js").AssertionFailure | boolean, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be the same date as">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be today"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | boolean, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]]>, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be a weekday"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | boolean, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be a weekend"], (subject: unknown) => import("../assertion-types.js").AssertionFailure | boolean, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"ago">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => import("../assertion-types.js").AssertionFailure | import("../assertion-types.js").AssertionParseRequest, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"from now">]>];
|
|
544
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>, import("../assertion-types.js").PhraseLiteralSlot<"to be an enumerable property of">, import("zod").ZodNonOptional<import("zod").ZodUnknown>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodNonOptional<import("zod").ZodUnknown>, "to have enumerable property", import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>], (_subject: unknown, key: string | number | symbol) => import("zod").ZodCustom<unknown, unknown>, readonly [import("zod").ZodNonOptional<import("zod").ZodUnknown>, import("../assertion-types.js").PhraseLiteralSlot<"to have enumerable property">, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodSymbol]>]>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be sealed"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be sealed"]>, never>, import("../assertion-types.js").AssertionSchemaSync<readonly ["to be extensible"], import("../assertion-types.js").AssertionImplSchemaSync<readonly ["to be extensible"]>, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be after", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
545
|
+
message: string;
|
|
546
|
+
schema?: never;
|
|
547
|
+
subject?: never;
|
|
548
|
+
} | {
|
|
549
|
+
schema: import("zod").ZodDate;
|
|
550
|
+
subject: Date;
|
|
551
|
+
message?: never;
|
|
552
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be after">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => {
|
|
553
|
+
message: string;
|
|
554
|
+
schema?: never;
|
|
555
|
+
subject?: never;
|
|
556
|
+
} | {
|
|
557
|
+
schema: import("zod").ZodDate;
|
|
558
|
+
subject: Date;
|
|
559
|
+
message?: never;
|
|
560
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"ago">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be at least", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => {
|
|
561
|
+
message: string;
|
|
562
|
+
schema?: never;
|
|
563
|
+
subject?: never;
|
|
564
|
+
} | {
|
|
565
|
+
schema: import("zod").ZodDate;
|
|
566
|
+
subject: Date;
|
|
567
|
+
message?: never;
|
|
568
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be at least">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"from now">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be before", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
569
|
+
message: string;
|
|
570
|
+
schema?: never;
|
|
571
|
+
subject?: never;
|
|
572
|
+
} | {
|
|
573
|
+
schema: import("zod").ZodDate;
|
|
574
|
+
subject: Date;
|
|
575
|
+
message?: never;
|
|
576
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be before">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be between", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "and", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, start: string | number | Date, end: string | number | Date) => {
|
|
577
|
+
message: string;
|
|
578
|
+
schema?: never;
|
|
579
|
+
subject?: never;
|
|
580
|
+
} | {
|
|
581
|
+
schema: import("zod").ZodDate;
|
|
582
|
+
subject: Date;
|
|
583
|
+
message?: never;
|
|
584
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be between">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"and">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to equal", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "within", import("zod").ZodCustomStringFormat<"duration">], (subject: string | number | Date, other: string | number | Date, toleranceStr: string) => {
|
|
585
|
+
message: string;
|
|
586
|
+
actual?: never;
|
|
587
|
+
expected?: never;
|
|
588
|
+
} | {
|
|
589
|
+
actual: {
|
|
590
|
+
difference: number;
|
|
591
|
+
};
|
|
592
|
+
expected: {
|
|
593
|
+
maxDifference: number;
|
|
594
|
+
};
|
|
595
|
+
message: string;
|
|
596
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to equal">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"within">, import("zod").ZodCustomStringFormat<"duration">]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be in the future"], (subject: unknown) => {
|
|
597
|
+
message: string;
|
|
598
|
+
schema?: never;
|
|
599
|
+
subject?: never;
|
|
600
|
+
} | {
|
|
601
|
+
schema: import("zod").ZodDate;
|
|
602
|
+
subject: Date;
|
|
603
|
+
message?: never;
|
|
604
|
+
}, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be in the past"], (subject: unknown) => {
|
|
605
|
+
message: string;
|
|
606
|
+
schema?: never;
|
|
607
|
+
subject?: never;
|
|
608
|
+
} | {
|
|
609
|
+
schema: import("zod").ZodDate;
|
|
610
|
+
subject: Date;
|
|
611
|
+
message?: never;
|
|
612
|
+
}, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be the same date as", import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>], (subject: string | number | Date, other: string | number | Date) => {
|
|
613
|
+
message: string;
|
|
614
|
+
actual?: never;
|
|
615
|
+
expected?: never;
|
|
616
|
+
} | {
|
|
617
|
+
actual: string;
|
|
618
|
+
expected: string;
|
|
619
|
+
message: string;
|
|
620
|
+
} | undefined, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be the same date as">, import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>]>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be today"], (subject: unknown) => {
|
|
621
|
+
message: string;
|
|
622
|
+
actual?: never;
|
|
623
|
+
expected?: never;
|
|
624
|
+
} | {
|
|
625
|
+
actual: string;
|
|
626
|
+
expected: string;
|
|
627
|
+
message: string;
|
|
628
|
+
} | undefined, never>, import("../assertion-types.js").AssertionSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]], import("../assertion-types.js").AssertionImplSchemaSync<readonly [readonly ["to be a valid date", "to be date-like"]]>, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be a weekday"], (subject: unknown) => {
|
|
629
|
+
message: string;
|
|
630
|
+
actual?: never;
|
|
631
|
+
expected?: never;
|
|
632
|
+
} | {
|
|
633
|
+
actual: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | undefined;
|
|
634
|
+
expected: string;
|
|
635
|
+
message: string;
|
|
636
|
+
} | undefined, never>, import("../assertion-types.js").AssertionFunctionSync<readonly ["to be a weekend"], (subject: unknown) => {
|
|
637
|
+
message: string;
|
|
638
|
+
actual?: never;
|
|
639
|
+
expected?: never;
|
|
640
|
+
} | {
|
|
641
|
+
actual: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | undefined;
|
|
642
|
+
expected: string;
|
|
643
|
+
message: string;
|
|
644
|
+
} | undefined, never>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "ago"], (subject: string | number | Date, durationStr: string) => {
|
|
645
|
+
message: string;
|
|
646
|
+
schema?: never;
|
|
647
|
+
subject?: never;
|
|
648
|
+
} | {
|
|
649
|
+
schema: import("zod").ZodDate;
|
|
650
|
+
subject: Date;
|
|
651
|
+
message?: never;
|
|
652
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"ago">]>, import("../assertion-types.js").AssertionFunctionSync<readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, "to be within", import("zod").ZodCustomStringFormat<"duration">, "from now"], (subject: string | number | Date, durationStr: string) => {
|
|
653
|
+
message: string;
|
|
654
|
+
schema?: never;
|
|
655
|
+
subject?: never;
|
|
656
|
+
} | {
|
|
657
|
+
schema: import("zod").ZodDate;
|
|
658
|
+
subject: Date;
|
|
659
|
+
message?: never;
|
|
660
|
+
}, readonly [import("zod").ZodUnion<readonly [import("zod").ZodDate, import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>, import("zod").ZodNumber]>, import("../assertion-types.js").PhraseLiteralSlot<"to be within">, import("zod").ZodCustomStringFormat<"duration">, import("../assertion-types.js").PhraseLiteralSlot<"from now">]>];
|
|
472
661
|
export * from './sync-basic.js';
|
|
473
662
|
export * from './sync-collection.js';
|
|
474
663
|
export * from './sync-date.js';
|