blackmistcode commited on
Commit
1fe3e19
·
verified ·
1 Parent(s): 44033e0

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. backend/node_modules/effect/dist/dts/Arbitrary.d.ts +69 -0
  2. backend/node_modules/effect/dist/dts/Arbitrary.d.ts.map +1 -0
  3. backend/node_modules/effect/dist/dts/Array.d.ts +0 -0
  4. backend/node_modules/effect/dist/dts/Array.d.ts.map +1 -0
  5. backend/node_modules/effect/dist/dts/BigDecimal.d.ts +1483 -0
  6. backend/node_modules/effect/dist/dts/BigDecimal.d.ts.map +1 -0
  7. backend/node_modules/effect/dist/dts/Boolean.d.ts.map +1 -0
  8. backend/node_modules/effect/dist/dts/Brand.d.ts.map +1 -0
  9. backend/node_modules/effect/dist/dts/Cache.d.ts +241 -0
  10. backend/node_modules/effect/dist/dts/Cache.d.ts.map +1 -0
  11. backend/node_modules/effect/dist/dts/Cause.d.ts +1928 -0
  12. backend/node_modules/effect/dist/dts/Cause.d.ts.map +1 -0
  13. backend/node_modules/effect/dist/dts/Channel.d.ts +0 -0
  14. backend/node_modules/effect/dist/dts/ChildExecutorDecision.d.ts.map +1 -0
  15. backend/node_modules/effect/dist/dts/Chunk.d.ts +1709 -0
  16. backend/node_modules/effect/dist/dts/Chunk.d.ts.map +1 -0
  17. backend/node_modules/effect/dist/dts/Clock.d.ts.map +1 -0
  18. backend/node_modules/effect/dist/dts/Config.d.ts +667 -0
  19. backend/node_modules/effect/dist/dts/Config.d.ts.map +1 -0
  20. backend/node_modules/effect/dist/dts/ConfigError.d.ts +238 -0
  21. backend/node_modules/effect/dist/dts/ConfigProvider.d.ts +372 -0
  22. backend/node_modules/effect/dist/dts/ConfigProvider.d.ts.map +1 -0
  23. backend/node_modules/effect/dist/dts/Console.d.ts +224 -0
  24. backend/node_modules/effect/dist/dts/Console.d.ts.map +1 -0
  25. backend/node_modules/effect/dist/dts/Context.d.ts +823 -0
  26. backend/node_modules/effect/dist/dts/Cron.d.ts +254 -0
  27. backend/node_modules/effect/dist/dts/Cron.d.ts.map +1 -0
  28. backend/node_modules/effect/dist/dts/Data.d.ts +613 -0
  29. backend/node_modules/effect/dist/dts/Data.d.ts.map +1 -0
  30. backend/node_modules/effect/dist/dts/DefaultServices.d.ts +26 -0
  31. backend/node_modules/effect/dist/dts/Deferred.d.ts.map +1 -0
  32. backend/node_modules/effect/dist/dts/Differ.d.ts +420 -0
  33. backend/node_modules/effect/dist/dts/Differ.d.ts.map +1 -0
  34. backend/node_modules/effect/dist/dts/Duration.d.ts +557 -0
  35. backend/node_modules/effect/dist/dts/Duration.d.ts.map +1 -0
  36. backend/node_modules/effect/dist/dts/Effect.d.ts +0 -0
  37. backend/node_modules/effect/dist/dts/Effect.d.ts.map +0 -0
  38. backend/node_modules/effect/dist/dts/Effectable.d.ts.map +1 -0
  39. backend/node_modules/effect/dist/dts/Either.d.ts +1431 -0
  40. backend/node_modules/effect/dist/dts/Encoding.d.ts +160 -0
  41. backend/node_modules/effect/dist/dts/Equal.d.ts.map +1 -0
  42. backend/node_modules/effect/dist/dts/Equivalence.d.ts +158 -0
  43. backend/node_modules/effect/dist/dts/Equivalence.d.ts.map +1 -0
  44. backend/node_modules/effect/dist/dts/ExecutionPlan.d.ts +210 -0
  45. backend/node_modules/effect/dist/dts/ExecutionStrategy.d.ts +122 -0
  46. backend/node_modules/effect/dist/dts/FastCheck.d.ts.map +1 -0
  47. backend/node_modules/effect/dist/dts/Fiber.d.ts +831 -0
  48. backend/node_modules/effect/dist/dts/Fiber.d.ts.map +1 -0
  49. backend/node_modules/effect/dist/dts/FiberHandle.d.ts.map +1 -0
  50. backend/node_modules/effect/dist/dts/FiberId.d.ts +196 -0
backend/node_modules/effect/dist/dts/Arbitrary.d.ts ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 3.10.0
3
+ */
4
+ import * as FastCheck from "./FastCheck.js";
5
+ import type * as Schema from "./Schema.js";
6
+ /**
7
+ * @category model
8
+ * @since 3.10.0
9
+ */
10
+ export interface LazyArbitrary<A> {
11
+ (fc: typeof FastCheck): FastCheck.Arbitrary<A>;
12
+ }
13
+ /**
14
+ * @category annotations
15
+ * @since 3.10.0
16
+ */
17
+ export interface ArbitraryGenerationContext {
18
+ readonly maxDepth: number;
19
+ readonly depthIdentifier?: string;
20
+ readonly constraints?: StringConstraints | NumberConstraints | BigIntConstraints | DateConstraints | ArrayConstraints;
21
+ }
22
+ /**
23
+ * @category annotations
24
+ * @since 3.10.0
25
+ */
26
+ export type ArbitraryAnnotation<A, TypeParameters extends ReadonlyArray<any> = readonly []> = (...arbitraries: [
27
+ ...{
28
+ readonly [K in keyof TypeParameters]: LazyArbitrary<TypeParameters[K]>;
29
+ },
30
+ ctx: ArbitraryGenerationContext
31
+ ]) => LazyArbitrary<A>;
32
+ /**
33
+ * Returns a LazyArbitrary for the `A` type of the provided schema.
34
+ *
35
+ * @category arbitrary
36
+ * @since 3.10.0
37
+ */
38
+ export declare const makeLazy: <A, I, R>(schema: Schema.Schema<A, I, R>) => LazyArbitrary<A>;
39
+ /**
40
+ * Returns a fast-check Arbitrary for the `A` type of the provided schema.
41
+ *
42
+ * @category arbitrary
43
+ * @since 3.10.0
44
+ */
45
+ export declare const make: <A, I, R>(schema: Schema.Schema<A, I, R>) => FastCheck.Arbitrary<A>;
46
+ interface StringConstraints {
47
+ readonly _tag: "StringConstraints";
48
+ readonly constraints: FastCheck.StringSharedConstraints;
49
+ readonly pattern?: string;
50
+ }
51
+ interface NumberConstraints {
52
+ readonly _tag: "NumberConstraints";
53
+ readonly constraints: FastCheck.FloatConstraints;
54
+ readonly isInteger: boolean;
55
+ }
56
+ interface BigIntConstraints {
57
+ readonly _tag: "BigIntConstraints";
58
+ readonly constraints: FastCheck.BigIntConstraints;
59
+ }
60
+ interface ArrayConstraints {
61
+ readonly _tag: "ArrayConstraints";
62
+ readonly constraints: FastCheck.ArrayConstraints;
63
+ }
64
+ interface DateConstraints {
65
+ readonly _tag: "DateConstraints";
66
+ readonly constraints: FastCheck.DateConstraints;
67
+ }
68
+ export {};
69
+ //# sourceMappingURL=Arbitrary.d.ts.map
backend/node_modules/effect/dist/dts/Arbitrary.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Arbitrary.d.ts","sourceRoot":"","sources":["../../src/Arbitrary.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAO3C,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAI1C;;;GAGG;AACH,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,CAAC,EAAE,EAAE,OAAO,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;CAC/C;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,eAAe,GAAG,gBAAgB,CAAA;CACtH;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,CAAC,CAAC,EAAE,cAAc,SAAS,aAAa,CAAC,GAAG,CAAC,GAAG,SAAS,EAAE,IAAI,CAC5F,GAAG,WAAW,EAAE;IACd,GAAG;QAAE,QAAQ,EAAE,CAAC,IAAI,MAAM,cAAc,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;KAAE;IAC7E,GAAG,EAAE,0BAA0B;CAChC,KACE,aAAa,CAAC,CAAC,CAAC,CAAA;AAErB;;;;;GAKG;AACH,eA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ances for working with the `BigDecimal` type in TypeScript.
3
+ * It includes functions for basic arithmetic operations, as well as type class instances for `Equivalence` and `Order`.
4
+ *
5
+ * A `BigDecimal` allows storing any real number to arbitrary precision; which avoids common floating point errors
6
+ * (such as 0.1 + 0.2 ≠ 0.3) at the cost of complexity.
7
+ *
8
+ * Internally, `BigDecimal` uses a `BigInt` object, paired with a 64-bit integer which determines the position of the
9
+ * decimal point. Therefore, the precision *is not* actually arbitrary, but limited to 2<sup>63</sup> decimal places.
10
+ *
11
+ * It is not recommended to convert a floating point number to a decimal directly, as the floating point representation
12
+ * may be unexpected.
13
+ *
14
+ * @module BigDecimal
15
+ * @since 2.0.0
16
+ * @see {@link module:BigInt} for more similar operations on `bigint` types
17
+ * @see {@link module:Number} for more similar operations on `number` types
18
+ */
19
+ import * as Equal from "./Equal.js";
20
+ import * as equivalence from "./Equivalence.js";
21
+ import { type Inspectable } from "./Inspectable.js";
22
+ import * as Option from "./Option.js";
23
+ import * as order from "./Order.js";
24
+ import type { Ordering } from "./Ordering.js";
25
+ import { type Pipeable } from "./Pipeable.js";
26
+ /**
27
+ * @since 2.0.0
28
+ * @category symbols
29
+ */
30
+ export declare const TypeId: unique symbol;
31
+ /**
32
+ * @since 2.0.0
33
+ * @category symbol
34
+ */
35
+ export type TypeId = typeof TypeId;
36
+ /**
37
+ * @since 2.0.0
38
+ * @category models
39
+ */
40
+ export interface BigDecimal extends Equal.Equal, Pipeable, Inspectable {
41
+ readonly [TypeId]: TypeId;
42
+ readonly value: bigint;
43
+ readonly scale: number;
44
+ }
45
+ /**
46
+ * Checks if a given value is a `BigDecimal`.
47
+ *
48
+ * @since 2.0.0
49
+ * @category guards
50
+ */
51
+ export declare const isBigDecimal: (u: unknown) => u is BigDecimal;
52
+ /**
53
+ * Creates a `BigDecimal` from a `bigint` value and a scale.
54
+ *
55
+ * @since 2.0.0
56
+ * @category constructors
57
+ */
58
+ export declare const make: (value: bigint, scale: number) => BigDecimal;
59
+ /**
60
+ * Normalizes a given `BigDecimal` by removing trailing zeros.
61
+ *
62
+ * **Example**
63
+ *
64
+ * ```ts
65
+ * import * as assert from "node:assert"
66
+ * import { normalize, make, unsafeFromString } from "effect/BigDecimal"
67
+ *
68
+ * assert.deepStrictEqual(normalize(unsafeFromString("123.00000")), normalize(make(123n, 0)))
69
+ * assert.deepStrictEqual(normalize(unsafeFromString("12300000")), normalize(make(123n, -5)))
70
+ * ```
71
+ *
72
+ * @since 2.0.0
73
+ * @category scaling
74
+ */
75
+ export declare const normalize: (self: BigDecimal) => BigDecimal;
76
+ /**
77
+ * Scales a given `BigDecimal` to the specified scale.
78
+ *
79
+ * If the given scale is smaller than the current scale, the value will be rounded down to
80
+ * the nearest integer.
81
+ *
82
+ * @since 2.0.0
83
+ * @category scaling
84
+ */
85
+ export declare const scale: {
86
+ /**
87
+ * Scales a given `BigDecimal` to the specified scale.
88
+ *
89
+ * If the given scale is smaller than the current scale, the value will be rounded down to
90
+ * the nearest integer.
91
+ *
92
+ * @since 2.0.0
93
+ * @category scaling
94
+ */
95
+ (scale: number): (self: BigDecimal) => BigDecimal;
96
+ /**
97
+ * Scales a given `BigDecimal` to the specified scale.
98
+ *
99
+ * If the given scale is smaller than the current scale, the value will be rounded down to
100
+ * the nearest integer.
101
+ *
102
+ * @since 2.0.0
103
+ * @category scaling
104
+ */
105
+ (self: BigDecimal, scale: number): BigDecimal;
106
+ };
107
+ /**
108
+ * Provides an addition operation on `BigDecimal`s.
109
+ *
110
+ * @example
111
+ * ```ts
112
+ * import * as assert from "node:assert"
113
+ * import { sum, unsafeFromString } from "effect/BigDecimal"
114
+ *
115
+ * assert.deepStrictEqual(sum(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("5"))
116
+ * ```
117
+ *
118
+ * @since 2.0.0
119
+ * @category math
120
+ */
121
+ export declare const sum: {
122
+ /**
123
+ * Provides an addition operation on `BigDecimal`s.
124
+ *
125
+ * @example
126
+ * ```ts
127
+ * import * as assert from "node:assert"
128
+ * import { sum, unsafeFromString } from "effect/BigDecimal"
129
+ *
130
+ * assert.deepStrictEqual(sum(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("5"))
131
+ * ```
132
+ *
133
+ * @since 2.0.0
134
+ * @category math
135
+ */
136
+ (that: BigDecimal): (self: BigDecimal) => BigDecimal;
137
+ /**
138
+ * Provides an addition operation on `BigDecimal`s.
139
+ *
140
+ * @example
141
+ * ```ts
142
+ * import * as assert from "node:assert"
143
+ * import { sum, unsafeFromString } from "effect/BigDecimal"
144
+ *
145
+ * assert.deepStrictEqual(sum(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("5"))
146
+ * ```
147
+ *
148
+ * @since 2.0.0
149
+ * @category math
150
+ */
151
+ (self: BigDecimal, that: BigDecimal): BigDecimal;
152
+ };
153
+ /**
154
+ * Provides a multiplication operation on `BigDecimal`s.
155
+ *
156
+ * @example
157
+ * ```ts
158
+ * import * as assert from "node:assert"
159
+ * import { multiply, unsafeFromString } from "effect/BigDecimal"
160
+ *
161
+ * assert.deepStrictEqual(multiply(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("6"))
162
+ * ```
163
+ *
164
+ * @since 2.0.0
165
+ * @category math
166
+ */
167
+ export declare const multiply: {
168
+ /**
169
+ * Provides a multiplication operation on `BigDecimal`s.
170
+ *
171
+ * @example
172
+ * ```ts
173
+ * import * as assert from "node:assert"
174
+ * import { multiply, unsafeFromString } from "effect/BigDecimal"
175
+ *
176
+ * assert.deepStrictEqual(multiply(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("6"))
177
+ * ```
178
+ *
179
+ * @since 2.0.0
180
+ * @category math
181
+ */
182
+ (that: BigDecimal): (self: BigDecimal) => BigDecimal;
183
+ /**
184
+ * Provides a multiplication operation on `BigDecimal`s.
185
+ *
186
+ * @example
187
+ * ```ts
188
+ * import * as assert from "node:assert"
189
+ * import { multiply, unsafeFromString } from "effect/BigDecimal"
190
+ *
191
+ * assert.deepStrictEqual(multiply(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("6"))
192
+ * ```
193
+ *
194
+ * @since 2.0.0
195
+ * @category math
196
+ */
197
+ (self: BigDecimal, that: BigDecimal): BigDecimal;
198
+ };
199
+ /**
200
+ * Provides a subtraction operation on `BigDecimal`s.
201
+ *
202
+ * @example
203
+ * ```ts
204
+ * import * as assert from "node:assert"
205
+ * import { subtract, unsafeFromString } from "effect/BigDecimal"
206
+ *
207
+ * assert.deepStrictEqual(subtract(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("-1"))
208
+ * ```
209
+ *
210
+ * @since 2.0.0
211
+ * @category math
212
+ */
213
+ export declare const subtract: {
214
+ /**
215
+ * Provides a subtraction operation on `BigDecimal`s.
216
+ *
217
+ * @example
218
+ * ```ts
219
+ * import * as assert from "node:assert"
220
+ * import { subtract, unsafeFromString } from "effect/BigDecimal"
221
+ *
222
+ * assert.deepStrictEqual(subtract(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("-1"))
223
+ * ```
224
+ *
225
+ * @since 2.0.0
226
+ * @category math
227
+ */
228
+ (that: BigDecimal): (self: BigDecimal) => BigDecimal;
229
+ /**
230
+ * Provides a subtraction operation on `BigDecimal`s.
231
+ *
232
+ * @example
233
+ * ```ts
234
+ * import * as assert from "node:assert"
235
+ * import { subtract, unsafeFromString } from "effect/BigDecimal"
236
+ *
237
+ * assert.deepStrictEqual(subtract(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("-1"))
238
+ * ```
239
+ *
240
+ * @since 2.0.0
241
+ * @category math
242
+ */
243
+ (self: BigDecimal, that: BigDecimal): BigDecimal;
244
+ };
245
+ /**
246
+ * Provides a division operation on `BigDecimal`s.
247
+ *
248
+ * If the dividend is not a multiple of the divisor the result will be a `BigDecimal` value
249
+ * which represents the integer division rounded down to the nearest integer.
250
+ *
251
+ * If the divisor is `0`, the result will be `None`.
252
+ *
253
+ * @example
254
+ * ```ts
255
+ * import * as assert from "node:assert"
256
+ * import { BigDecimal, Option } from "effect"
257
+ *
258
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("3")), Option.some(BigDecimal.unsafeFromString("2")))
259
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("4")), Option.some(BigDecimal.unsafeFromString("1.5")))
260
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("0")), Option.none())
261
+ * ```
262
+ *
263
+ * @since 2.0.0
264
+ * @category math
265
+ */
266
+ export declare const divide: {
267
+ /**
268
+ * Provides a division operation on `BigDecimal`s.
269
+ *
270
+ * If the dividend is not a multiple of the divisor the result will be a `BigDecimal` value
271
+ * which represents the integer division rounded down to the nearest integer.
272
+ *
273
+ * If the divisor is `0`, the result will be `None`.
274
+ *
275
+ * @example
276
+ * ```ts
277
+ * import * as assert from "node:assert"
278
+ * import { BigDecimal, Option } from "effect"
279
+ *
280
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("3")), Option.some(BigDecimal.unsafeFromString("2")))
281
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("4")), Option.some(BigDecimal.unsafeFromString("1.5")))
282
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("0")), Option.none())
283
+ * ```
284
+ *
285
+ * @since 2.0.0
286
+ * @category math
287
+ */
288
+ (that: BigDecimal): (self: BigDecimal) => Option.Option<BigDecimal>;
289
+ /**
290
+ * Provides a division operation on `BigDecimal`s.
291
+ *
292
+ * If the dividend is not a multiple of the divisor the result will be a `BigDecimal` value
293
+ * which represents the integer division rounded down to the nearest integer.
294
+ *
295
+ * If the divisor is `0`, the result will be `None`.
296
+ *
297
+ * @example
298
+ * ```ts
299
+ * import * as assert from "node:assert"
300
+ * import { BigDecimal, Option } from "effect"
301
+ *
302
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("3")), Option.some(BigDecimal.unsafeFromString("2")))
303
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("4")), Option.some(BigDecimal.unsafeFromString("1.5")))
304
+ * assert.deepStrictEqual(BigDecimal.divide(BigDecimal.unsafeFromString("6"), BigDecimal.unsafeFromString("0")), Option.none())
305
+ * ```
306
+ *
307
+ * @since 2.0.0
308
+ * @category math
309
+ */
310
+ (self: BigDecimal, that: BigDecimal): Option.Option<BigDecimal>;
311
+ };
312
+ /**
313
+ * Provides an unsafe division operation on `BigDecimal`s.
314
+ *
315
+ * If the dividend is not a multiple of the divisor the result will be a `BigDecimal` value
316
+ * which represents the integer division rounded down to the nearest integer.
317
+ *
318
+ * Throws a `RangeError` if the divisor is `0`.
319
+ *
320
+ * @example
321
+ * ```ts
322
+ * import * as assert from "node:assert"
323
+ * import { unsafeDivide, unsafeFromString } from "effect/BigDecimal"
324
+ *
325
+ * assert.deepStrictEqual(unsafeDivide(unsafeFromString("6"), unsafeFromString("3")), unsafeFromString("2"))
326
+ * assert.deepStrictEqual(unsafeDivide(unsafeFromString("6"), unsafeFromString("4")), unsafeFromString("1.5"))
327
+ * ```
328
+ *
329
+ * @since 2.0.0
330
+ * @category math
331
+ */
332
+ export declare const unsafeDivide: {
333
+ /**
334
+ * Provides an unsafe division operation on `BigDecimal`s.
335
+ *
336
+ * If the dividend is not a multiple of the divisor the result will be a `BigDecimal` value
337
+ * which represents the integer division rounded down to the nearest integer.
338
+ *
339
+ * Throws a `RangeError` if the divisor is `0`.
340
+ *
341
+ * @example
342
+ * ```ts
343
+ * import * as assert from "node:assert"
344
+ * import { unsafeDivide, unsafeFromString } from "effect/BigDecimal"
345
+ *
346
+ * assert.deepStrictEqual(unsafeDivide(unsafeFromString("6"), unsafeFromString("3")), unsafeFromString("2"))
347
+ * assert.deepStrictEqual(unsafeDivide(unsafeFromString("6"), unsafeFromString("4")), unsafeFromString("1.5"))
348
+ * ```
349
+ *
350
+ * @since 2.0.0
351
+ * @category math
352
+ */
353
+ (that: BigDecimal): (self: BigDecimal) => BigDecimal;
354
+ /**
355
+ * Provides an unsafe division operation on `BigDecimal`s.
356
+ *
357
+ * If the dividend is not a multiple of the divisor the result will be a `BigDecimal` value
358
+ * which represents the integer division rounded down to the nearest integer.
359
+ *
360
+ * Throws a `RangeError` if the divisor is `0`.
361
+ *
362
+ * @example
363
+ * ```ts
364
+ * import * as assert from "node:assert"
365
+ * import { unsafeDivide, unsafeFromString } from "effect/BigDecimal"
366
+ *
367
+ * assert.deepStrictEqual(unsafeDivide(unsafeFromString("6"), unsafeFromString("3")), unsafeFromString("2"))
368
+ * assert.deepStrictEqual(unsafeDivide(unsafeFromString("6"), unsafeFromString("4")), unsafeFromString("1.5"))
369
+ * ```
370
+ *
371
+ * @since 2.0.0
372
+ * @category math
373
+ */
374
+ (self: BigDecimal, that: BigDecimal): BigDecimal;
375
+ };
376
+ /**
377
+ * @since 2.0.0
378
+ * @category instances
379
+ */
380
+ export declare const Order: order.Order<BigDecimal>;
381
+ /**
382
+ * Returns `true` if the first argument is less than the second, otherwise `false`.
383
+ *
384
+ * @example
385
+ * ```ts
386
+ * import * as assert from "node:assert"
387
+ * import { lessThan, unsafeFromString } from "effect/BigDecimal"
388
+ *
389
+ * assert.deepStrictEqual(lessThan(unsafeFromString("2"), unsafeFromString("3")), true)
390
+ * assert.deepStrictEqual(lessThan(unsafeFromString("3"), unsafeFromString("3")), false)
391
+ * assert.deepStrictEqual(lessThan(unsafeFromString("4"), unsafeFromString("3")), false)
392
+ * ```
393
+ *
394
+ * @since 2.0.0
395
+ * @category predicates
396
+ */
397
+ export declare const lessThan: {
398
+ /**
399
+ * Returns `true` if the first argument is less than the second, otherwise `false`.
400
+ *
401
+ * @example
402
+ * ```ts
403
+ * import * as assert from "node:assert"
404
+ * import { lessThan, unsafeFromString } from "effect/BigDecimal"
405
+ *
406
+ * assert.deepStrictEqual(lessThan(unsafeFromString("2"), unsafeFromString("3")), true)
407
+ * assert.deepStrictEqual(lessThan(unsafeFromString("3"), unsafeFromString("3")), false)
408
+ * assert.deepStrictEqual(lessThan(unsafeFromString("4"), unsafeFromString("3")), false)
409
+ * ```
410
+ *
411
+ * @since 2.0.0
412
+ * @category predicates
413
+ */
414
+ (that: BigDecimal): (self: BigDecimal) => boolean;
415
+ /**
416
+ * Returns `true` if the first argument is less than the second, otherwise `false`.
417
+ *
418
+ * @example
419
+ * ```ts
420
+ * import * as assert from "node:assert"
421
+ * import { lessThan, unsafeFromString } from "effect/BigDecimal"
422
+ *
423
+ * assert.deepStrictEqual(lessThan(unsafeFromString("2"), unsafeFromString("3")), true)
424
+ * assert.deepStrictEqual(lessThan(unsafeFromString("3"), unsafeFromString("3")), false)
425
+ * assert.deepStrictEqual(lessThan(unsafeFromString("4"), unsafeFromString("3")), false)
426
+ * ```
427
+ *
428
+ * @since 2.0.0
429
+ * @category predicates
430
+ */
431
+ (self: BigDecimal, that: BigDecimal): boolean;
432
+ };
433
+ /**
434
+ * Checks if a given `BigDecimal` is less than or equal to the provided one.
435
+ *
436
+ * @example
437
+ * ```ts
438
+ * import * as assert from "node:assert"
439
+ * import { lessThanOrEqualTo, unsafeFromString } from "effect/BigDecimal"
440
+ *
441
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("2"), unsafeFromString("3")), true)
442
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("3"), unsafeFromString("3")), true)
443
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("4"), unsafeFromString("3")), false)
444
+ * ```
445
+ *
446
+ * @since 2.0.0
447
+ * @category predicates
448
+ */
449
+ export declare const lessThanOrEqualTo: {
450
+ /**
451
+ * Checks if a given `BigDecimal` is less than or equal to the provided one.
452
+ *
453
+ * @example
454
+ * ```ts
455
+ * import * as assert from "node:assert"
456
+ * import { lessThanOrEqualTo, unsafeFromString } from "effect/BigDecimal"
457
+ *
458
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("2"), unsafeFromString("3")), true)
459
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("3"), unsafeFromString("3")), true)
460
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("4"), unsafeFromString("3")), false)
461
+ * ```
462
+ *
463
+ * @since 2.0.0
464
+ * @category predicates
465
+ */
466
+ (that: BigDecimal): (self: BigDecimal) => boolean;
467
+ /**
468
+ * Checks if a given `BigDecimal` is less than or equal to the provided one.
469
+ *
470
+ * @example
471
+ * ```ts
472
+ * import * as assert from "node:assert"
473
+ * import { lessThanOrEqualTo, unsafeFromString } from "effect/BigDecimal"
474
+ *
475
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("2"), unsafeFromString("3")), true)
476
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("3"), unsafeFromString("3")), true)
477
+ * assert.deepStrictEqual(lessThanOrEqualTo(unsafeFromString("4"), unsafeFromString("3")), false)
478
+ * ```
479
+ *
480
+ * @since 2.0.0
481
+ * @category predicates
482
+ */
483
+ (self: BigDecimal, that: BigDecimal): boolean;
484
+ };
485
+ /**
486
+ * Returns `true` if the first argument is greater than the second, otherwise `false`.
487
+ *
488
+ * @example
489
+ * ```ts
490
+ * import * as assert from "node:assert"
491
+ * import { greaterThan, unsafeFromString } from "effect/BigDecimal"
492
+ *
493
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("2"), unsafeFromString("3")), false)
494
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("3"), unsafeFromString("3")), false)
495
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("4"), unsafeFromString("3")), true)
496
+ * ```
497
+ *
498
+ * @since 2.0.0
499
+ * @category predicates
500
+ */
501
+ export declare const greaterThan: {
502
+ /**
503
+ * Returns `true` if the first argument is greater than the second, otherwise `false`.
504
+ *
505
+ * @example
506
+ * ```ts
507
+ * import * as assert from "node:assert"
508
+ * import { greaterThan, unsafeFromString } from "effect/BigDecimal"
509
+ *
510
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("2"), unsafeFromString("3")), false)
511
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("3"), unsafeFromString("3")), false)
512
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("4"), unsafeFromString("3")), true)
513
+ * ```
514
+ *
515
+ * @since 2.0.0
516
+ * @category predicates
517
+ */
518
+ (that: BigDecimal): (self: BigDecimal) => boolean;
519
+ /**
520
+ * Returns `true` if the first argument is greater than the second, otherwise `false`.
521
+ *
522
+ * @example
523
+ * ```ts
524
+ * import * as assert from "node:assert"
525
+ * import { greaterThan, unsafeFromString } from "effect/BigDecimal"
526
+ *
527
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("2"), unsafeFromString("3")), false)
528
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("3"), unsafeFromString("3")), false)
529
+ * assert.deepStrictEqual(greaterThan(unsafeFromString("4"), unsafeFromString("3")), true)
530
+ * ```
531
+ *
532
+ * @since 2.0.0
533
+ * @category predicates
534
+ */
535
+ (self: BigDecimal, that: BigDecimal): boolean;
536
+ };
537
+ /**
538
+ * Checks if a given `BigDecimal` is greater than or equal to the provided one.
539
+ *
540
+ * @example
541
+ * ```ts
542
+ * import * as assert from "node:assert"
543
+ * import { greaterThanOrEqualTo, unsafeFromString } from "effect/BigDecimal"
544
+ *
545
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("2"), unsafeFromString("3")), false)
546
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("3"), unsafeFromString("3")), true)
547
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("4"), unsafeFromString("3")), true)
548
+ * ```
549
+ *
550
+ * @since 2.0.0
551
+ * @category predicates
552
+ */
553
+ export declare const greaterThanOrEqualTo: {
554
+ /**
555
+ * Checks if a given `BigDecimal` is greater than or equal to the provided one.
556
+ *
557
+ * @example
558
+ * ```ts
559
+ * import * as assert from "node:assert"
560
+ * import { greaterThanOrEqualTo, unsafeFromString } from "effect/BigDecimal"
561
+ *
562
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("2"), unsafeFromString("3")), false)
563
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("3"), unsafeFromString("3")), true)
564
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("4"), unsafeFromString("3")), true)
565
+ * ```
566
+ *
567
+ * @since 2.0.0
568
+ * @category predicates
569
+ */
570
+ (that: BigDecimal): (self: BigDecimal) => boolean;
571
+ /**
572
+ * Checks if a given `BigDecimal` is greater than or equal to the provided one.
573
+ *
574
+ * @example
575
+ * ```ts
576
+ * import * as assert from "node:assert"
577
+ * import { greaterThanOrEqualTo, unsafeFromString } from "effect/BigDecimal"
578
+ *
579
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("2"), unsafeFromString("3")), false)
580
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("3"), unsafeFromString("3")), true)
581
+ * assert.deepStrictEqual(greaterThanOrEqualTo(unsafeFromString("4"), unsafeFromString("3")), true)
582
+ * ```
583
+ *
584
+ * @since 2.0.0
585
+ * @category predicates
586
+ */
587
+ (self: BigDecimal, that: BigDecimal): boolean;
588
+ };
589
+ /**
590
+ * Checks if a `BigDecimal` is between a `minimum` and `maximum` value (inclusive).
591
+ *
592
+ * @example
593
+ * ```ts
594
+ * import * as assert from "node:assert"
595
+ * import { BigDecimal } from "effect"
596
+ *
597
+ * const between = BigDecimal.between({
598
+ * minimum: BigDecimal.unsafeFromString("1"),
599
+ * maximum: BigDecimal.unsafeFromString("5") }
600
+ * )
601
+ *
602
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("3")), true)
603
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("0")), false)
604
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("6")), false)
605
+ * ```
606
+ *
607
+ * @since 2.0.0
608
+ * @category predicates
609
+ */
610
+ export declare const between: {
611
+ /**
612
+ * Checks if a `BigDecimal` is between a `minimum` and `maximum` value (inclusive).
613
+ *
614
+ * @example
615
+ * ```ts
616
+ * import * as assert from "node:assert"
617
+ * import { BigDecimal } from "effect"
618
+ *
619
+ * const between = BigDecimal.between({
620
+ * minimum: BigDecimal.unsafeFromString("1"),
621
+ * maximum: BigDecimal.unsafeFromString("5") }
622
+ * )
623
+ *
624
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("3")), true)
625
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("0")), false)
626
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("6")), false)
627
+ * ```
628
+ *
629
+ * @since 2.0.0
630
+ * @category predicates
631
+ */
632
+ (options: {
633
+ minimum: BigDecimal;
634
+ maximum: BigDecimal;
635
+ }): (self: BigDecimal) => boolean;
636
+ /**
637
+ * Checks if a `BigDecimal` is between a `minimum` and `maximum` value (inclusive).
638
+ *
639
+ * @example
640
+ * ```ts
641
+ * import * as assert from "node:assert"
642
+ * import { BigDecimal } from "effect"
643
+ *
644
+ * const between = BigDecimal.between({
645
+ * minimum: BigDecimal.unsafeFromString("1"),
646
+ * maximum: BigDecimal.unsafeFromString("5") }
647
+ * )
648
+ *
649
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("3")), true)
650
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("0")), false)
651
+ * assert.deepStrictEqual(between(BigDecimal.unsafeFromString("6")), false)
652
+ * ```
653
+ *
654
+ * @since 2.0.0
655
+ * @category predicates
656
+ */
657
+ (self: BigDecimal, options: {
658
+ minimum: BigDecimal;
659
+ maximum: BigDecimal;
660
+ }): boolean;
661
+ };
662
+ /**
663
+ * Restricts the given `BigDecimal` to be within the range specified by the `minimum` and `maximum` values.
664
+ *
665
+ * - If the `BigDecimal` is less than the `minimum` value, the function returns the `minimum` value.
666
+ * - If the `BigDecimal` is greater than the `maximum` value, the function returns the `maximum` value.
667
+ * - Otherwise, it returns the original `BigDecimal`.
668
+ *
669
+ * @example
670
+ * ```ts
671
+ * import * as assert from "node:assert"
672
+ * import { BigDecimal } from "effect"
673
+ *
674
+ * const clamp = BigDecimal.clamp({
675
+ * minimum: BigDecimal.unsafeFromString("1"),
676
+ * maximum: BigDecimal.unsafeFromString("5") }
677
+ * )
678
+ *
679
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("3")), BigDecimal.unsafeFromString("3"))
680
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("0")), BigDecimal.unsafeFromString("1"))
681
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("6")), BigDecimal.unsafeFromString("5"))
682
+ * ```
683
+ *
684
+ * @since 2.0.0
685
+ * @category math
686
+ */
687
+ export declare const clamp: {
688
+ /**
689
+ * Restricts the given `BigDecimal` to be within the range specified by the `minimum` and `maximum` values.
690
+ *
691
+ * - If the `BigDecimal` is less than the `minimum` value, the function returns the `minimum` value.
692
+ * - If the `BigDecimal` is greater than the `maximum` value, the function returns the `maximum` value.
693
+ * - Otherwise, it returns the original `BigDecimal`.
694
+ *
695
+ * @example
696
+ * ```ts
697
+ * import * as assert from "node:assert"
698
+ * import { BigDecimal } from "effect"
699
+ *
700
+ * const clamp = BigDecimal.clamp({
701
+ * minimum: BigDecimal.unsafeFromString("1"),
702
+ * maximum: BigDecimal.unsafeFromString("5") }
703
+ * )
704
+ *
705
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("3")), BigDecimal.unsafeFromString("3"))
706
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("0")), BigDecimal.unsafeFromString("1"))
707
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("6")), BigDecimal.unsafeFromString("5"))
708
+ * ```
709
+ *
710
+ * @since 2.0.0
711
+ * @category math
712
+ */
713
+ (options: {
714
+ minimum: BigDecimal;
715
+ maximum: BigDecimal;
716
+ }): (self: BigDecimal) => BigDecimal;
717
+ /**
718
+ * Restricts the given `BigDecimal` to be within the range specified by the `minimum` and `maximum` values.
719
+ *
720
+ * - If the `BigDecimal` is less than the `minimum` value, the function returns the `minimum` value.
721
+ * - If the `BigDecimal` is greater than the `maximum` value, the function returns the `maximum` value.
722
+ * - Otherwise, it returns the original `BigDecimal`.
723
+ *
724
+ * @example
725
+ * ```ts
726
+ * import * as assert from "node:assert"
727
+ * import { BigDecimal } from "effect"
728
+ *
729
+ * const clamp = BigDecimal.clamp({
730
+ * minimum: BigDecimal.unsafeFromString("1"),
731
+ * maximum: BigDecimal.unsafeFromString("5") }
732
+ * )
733
+ *
734
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("3")), BigDecimal.unsafeFromString("3"))
735
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("0")), BigDecimal.unsafeFromString("1"))
736
+ * assert.deepStrictEqual(clamp(BigDecimal.unsafeFromString("6")), BigDecimal.unsafeFromString("5"))
737
+ * ```
738
+ *
739
+ * @since 2.0.0
740
+ * @category math
741
+ */
742
+ (self: BigDecimal, options: {
743
+ minimum: BigDecimal;
744
+ maximum: BigDecimal;
745
+ }): BigDecimal;
746
+ };
747
+ /**
748
+ * Returns the minimum between two `BigDecimal`s.
749
+ *
750
+ * @example
751
+ * ```ts
752
+ * import * as assert from "node:assert"
753
+ * import { min, unsafeFromString } from "effect/BigDecimal"
754
+ *
755
+ * assert.deepStrictEqual(min(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("2"))
756
+ * ```
757
+ *
758
+ * @since 2.0.0
759
+ * @category math
760
+ */
761
+ export declare const min: {
762
+ /**
763
+ * Returns the minimum between two `BigDecimal`s.
764
+ *
765
+ * @example
766
+ * ```ts
767
+ * import * as assert from "node:assert"
768
+ * import { min, unsafeFromString } from "effect/BigDecimal"
769
+ *
770
+ * assert.deepStrictEqual(min(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("2"))
771
+ * ```
772
+ *
773
+ * @since 2.0.0
774
+ * @category math
775
+ */
776
+ (that: BigDecimal): (self: BigDecimal) => BigDecimal;
777
+ /**
778
+ * Returns the minimum between two `BigDecimal`s.
779
+ *
780
+ * @example
781
+ * ```ts
782
+ * import * as assert from "node:assert"
783
+ * import { min, unsafeFromString } from "effect/BigDecimal"
784
+ *
785
+ * assert.deepStrictEqual(min(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("2"))
786
+ * ```
787
+ *
788
+ * @since 2.0.0
789
+ * @category math
790
+ */
791
+ (self: BigDecimal, that: BigDecimal): BigDecimal;
792
+ };
793
+ /**
794
+ * Returns the maximum between two `BigDecimal`s.
795
+ *
796
+ * @example
797
+ * ```ts
798
+ * import * as assert from "node:assert"
799
+ * import { max, unsafeFromString } from "effect/BigDecimal"
800
+ *
801
+ * assert.deepStrictEqual(max(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("3"))
802
+ * ```
803
+ *
804
+ * @since 2.0.0
805
+ * @category math
806
+ */
807
+ export declare const max: {
808
+ /**
809
+ * Returns the maximum between two `BigDecimal`s.
810
+ *
811
+ * @example
812
+ * ```ts
813
+ * import * as assert from "node:assert"
814
+ * import { max, unsafeFromString } from "effect/BigDecimal"
815
+ *
816
+ * assert.deepStrictEqual(max(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("3"))
817
+ * ```
818
+ *
819
+ * @since 2.0.0
820
+ * @category math
821
+ */
822
+ (that: BigDecimal): (self: BigDecimal) => BigDecimal;
823
+ /**
824
+ * Returns the maximum between two `BigDecimal`s.
825
+ *
826
+ * @example
827
+ * ```ts
828
+ * import * as assert from "node:assert"
829
+ * import { max, unsafeFromString } from "effect/BigDecimal"
830
+ *
831
+ * assert.deepStrictEqual(max(unsafeFromString("2"), unsafeFromString("3")), unsafeFromString("3"))
832
+ * ```
833
+ *
834
+ * @since 2.0.0
835
+ * @category math
836
+ */
837
+ (self: BigDecimal, that: BigDecimal): BigDecimal;
838
+ };
839
+ /**
840
+ * Determines the sign of a given `BigDecimal`.
841
+ *
842
+ * @example
843
+ * ```ts
844
+ * import * as assert from "node:assert"
845
+ * import { sign, unsafeFromString } from "effect/BigDecimal"
846
+ *
847
+ * assert.deepStrictEqual(sign(unsafeFromString("-5")), -1)
848
+ * assert.deepStrictEqual(sign(unsafeFromString("0")), 0)
849
+ * assert.deepStrictEqual(sign(unsafeFromString("5")), 1)
850
+ * ```
851
+ *
852
+ * @since 2.0.0
853
+ * @category math
854
+ */
855
+ export declare const sign: (n: BigDecimal) => Ordering;
856
+ /**
857
+ * Determines the absolute value of a given `BigDecimal`.
858
+ *
859
+ * @example
860
+ * ```ts
861
+ * import * as assert from "node:assert"
862
+ * import { abs, unsafeFromString } from "effect/BigDecimal"
863
+ *
864
+ * assert.deepStrictEqual(abs(unsafeFromString("-5")), unsafeFromString("5"))
865
+ * assert.deepStrictEqual(abs(unsafeFromString("0")), unsafeFromString("0"))
866
+ * assert.deepStrictEqual(abs(unsafeFromString("5")), unsafeFromString("5"))
867
+ * ```
868
+ *
869
+ * @since 2.0.0
870
+ * @category math
871
+ */
872
+ export declare const abs: (n: BigDecimal) => BigDecimal;
873
+ /**
874
+ * Provides a negate operation on `BigDecimal`s.
875
+ *
876
+ * @example
877
+ * ```ts
878
+ * import * as assert from "node:assert"
879
+ * import { negate, unsafeFromString } from "effect/BigDecimal"
880
+ *
881
+ * assert.deepStrictEqual(negate(unsafeFromString("3")), unsafeFromString("-3"))
882
+ * assert.deepStrictEqual(negate(unsafeFromString("-6")), unsafeFromString("6"))
883
+ * ```
884
+ *
885
+ * @since 2.0.0
886
+ * @category math
887
+ */
888
+ export declare const negate: (n: BigDecimal) => BigDecimal;
889
+ /**
890
+ * Returns the remainder left over when one operand is divided by a second operand.
891
+ *
892
+ * If the divisor is `0`, the result will be `None`.
893
+ *
894
+ * @example
895
+ * ```ts
896
+ * import * as assert from "node:assert"
897
+ * import { BigDecimal, Option } from "effect"
898
+ *
899
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("2"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("0")))
900
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("3"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("1")))
901
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("-4"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("0")))
902
+ * ```
903
+ *
904
+ * @since 2.0.0
905
+ * @category math
906
+ */
907
+ export declare const remainder: {
908
+ /**
909
+ * Returns the remainder left over when one operand is divided by a second operand.
910
+ *
911
+ * If the divisor is `0`, the result will be `None`.
912
+ *
913
+ * @example
914
+ * ```ts
915
+ * import * as assert from "node:assert"
916
+ * import { BigDecimal, Option } from "effect"
917
+ *
918
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("2"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("0")))
919
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("3"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("1")))
920
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("-4"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("0")))
921
+ * ```
922
+ *
923
+ * @since 2.0.0
924
+ * @category math
925
+ */
926
+ (divisor: BigDecimal): (self: BigDecimal) => Option.Option<BigDecimal>;
927
+ /**
928
+ * Returns the remainder left over when one operand is divided by a second operand.
929
+ *
930
+ * If the divisor is `0`, the result will be `None`.
931
+ *
932
+ * @example
933
+ * ```ts
934
+ * import * as assert from "node:assert"
935
+ * import { BigDecimal, Option } from "effect"
936
+ *
937
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("2"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("0")))
938
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("3"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("1")))
939
+ * assert.deepStrictEqual(BigDecimal.remainder(BigDecimal.unsafeFromString("-4"), BigDecimal.unsafeFromString("2")), Option.some(BigDecimal.unsafeFromString("0")))
940
+ * ```
941
+ *
942
+ * @since 2.0.0
943
+ * @category math
944
+ */
945
+ (self: BigDecimal, divisor: BigDecimal): Option.Option<BigDecimal>;
946
+ };
947
+ /**
948
+ * Returns the remainder left over when one operand is divided by a second operand.
949
+ *
950
+ * Throws a `RangeError` if the divisor is `0`.
951
+ *
952
+ * @example
953
+ * ```ts
954
+ * import * as assert from "node:assert"
955
+ * import { unsafeRemainder, unsafeFromString } from "effect/BigDecimal"
956
+ *
957
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("2"), unsafeFromString("2")), unsafeFromString("0"))
958
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("3"), unsafeFromString("2")), unsafeFromString("1"))
959
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("-4"), unsafeFromString("2")), unsafeFromString("0"))
960
+ * ```
961
+ *
962
+ * @since 2.0.0
963
+ * @category math
964
+ */
965
+ export declare const unsafeRemainder: {
966
+ /**
967
+ * Returns the remainder left over when one operand is divided by a second operand.
968
+ *
969
+ * Throws a `RangeError` if the divisor is `0`.
970
+ *
971
+ * @example
972
+ * ```ts
973
+ * import * as assert from "node:assert"
974
+ * import { unsafeRemainder, unsafeFromString } from "effect/BigDecimal"
975
+ *
976
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("2"), unsafeFromString("2")), unsafeFromString("0"))
977
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("3"), unsafeFromString("2")), unsafeFromString("1"))
978
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("-4"), unsafeFromString("2")), unsafeFromString("0"))
979
+ * ```
980
+ *
981
+ * @since 2.0.0
982
+ * @category math
983
+ */
984
+ (divisor: BigDecimal): (self: BigDecimal) => BigDecimal;
985
+ /**
986
+ * Returns the remainder left over when one operand is divided by a second operand.
987
+ *
988
+ * Throws a `RangeError` if the divisor is `0`.
989
+ *
990
+ * @example
991
+ * ```ts
992
+ * import * as assert from "node:assert"
993
+ * import { unsafeRemainder, unsafeFromString } from "effect/BigDecimal"
994
+ *
995
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("2"), unsafeFromString("2")), unsafeFromString("0"))
996
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("3"), unsafeFromString("2")), unsafeFromString("1"))
997
+ * assert.deepStrictEqual(unsafeRemainder(unsafeFromString("-4"), unsafeFromString("2")), unsafeFromString("0"))
998
+ * ```
999
+ *
1000
+ * @since 2.0.0
1001
+ * @category math
1002
+ */
1003
+ (self: BigDecimal, divisor: BigDecimal): BigDecimal;
1004
+ };
1005
+ /**
1006
+ * @category instances
1007
+ * @since 2.0.0
1008
+ */
1009
+ export declare const Equivalence: equivalence.Equivalence<BigDecimal>;
1010
+ /**
1011
+ * Checks if two `BigDecimal`s are equal.
1012
+ *
1013
+ * @since 2.0.0
1014
+ * @category predicates
1015
+ */
1016
+ export declare const equals: {
1017
+ /**
1018
+ * Checks if two `BigDecimal`s are equal.
1019
+ *
1020
+ * @since 2.0.0
1021
+ * @category predicates
1022
+ */
1023
+ (that: BigDecimal): (self: BigDecimal) => boolean;
1024
+ /**
1025
+ * Checks if two `BigDecimal`s are equal.
1026
+ *
1027
+ * @since 2.0.0
1028
+ * @category predicates
1029
+ */
1030
+ (self: BigDecimal, that: BigDecimal): boolean;
1031
+ };
1032
+ /**
1033
+ * Creates a `BigDecimal` from a `bigint` value.
1034
+ *
1035
+ * @since 2.0.0
1036
+ * @category constructors
1037
+ */
1038
+ export declare const fromBigInt: (n: bigint) => BigDecimal;
1039
+ /**
1040
+ * Creates a `BigDecimal` from a `number` value.
1041
+ *
1042
+ * It is not recommended to convert a floating point number to a decimal directly,
1043
+ * as the floating point representation may be unexpected.
1044
+ *
1045
+ * Throws a `RangeError` if the number is not finite (`NaN`, `+Infinity` or `-Infinity`).
1046
+ *
1047
+ * @example
1048
+ * ```ts
1049
+ * import * as assert from "node:assert"
1050
+ * import { unsafeFromNumber, make } from "effect/BigDecimal"
1051
+ *
1052
+ * assert.deepStrictEqual(unsafeFromNumber(123), make(123n, 0))
1053
+ * assert.deepStrictEqual(unsafeFromNumber(123.456), make(123456n, 3))
1054
+ * ```
1055
+ *
1056
+ * @since 3.11.0
1057
+ * @category constructors
1058
+ */
1059
+ export declare const unsafeFromNumber: (n: number) => BigDecimal;
1060
+ /**
1061
+ * Creates a `BigDecimal` from a `number` value.
1062
+ *
1063
+ * It is not recommended to convert a floating point number to a decimal directly,
1064
+ * as the floating point representation may be unexpected.
1065
+ *
1066
+ * Throws a `RangeError` if the number is not finite (`NaN`, `+Infinity` or `-Infinity`).
1067
+ *
1068
+ * @since 2.0.0
1069
+ * @category constructors
1070
+ * @deprecated Use {@link unsafeFromNumber} instead.
1071
+ */
1072
+ export declare const fromNumber: (n: number) => BigDecimal;
1073
+ /**
1074
+ * Creates a `BigDecimal` from a `number` value.
1075
+ *
1076
+ * It is not recommended to convert a floating point number to a decimal directly,
1077
+ * as the floating point representation may be unexpected.
1078
+ *
1079
+ * Returns `None` if the number is not finite (`NaN`, `+Infinity` or `-Infinity`).
1080
+ *
1081
+ * @example
1082
+ * ```ts
1083
+ * import * as assert from "node:assert"
1084
+ * import { BigDecimal, Option } from "effect"
1085
+ *
1086
+ * assert.deepStrictEqual(BigDecimal.safeFromNumber(123), Option.some(BigDecimal.make(123n, 0)))
1087
+ * assert.deepStrictEqual(BigDecimal.safeFromNumber(123.456), Option.some(BigDecimal.make(123456n, 3)))
1088
+ * assert.deepStrictEqual(BigDecimal.safeFromNumber(Infinity), Option.none())
1089
+ * ```
1090
+ *
1091
+ * @since 3.11.0
1092
+ * @category constructors
1093
+ */
1094
+ export declare const safeFromNumber: (n: number) => Option.Option<BigDecimal>;
1095
+ /**
1096
+ * Parses a numerical `string` into a `BigDecimal`.
1097
+ *
1098
+ * @example
1099
+ * ```ts
1100
+ * import * as assert from "node:assert"
1101
+ * import { BigDecimal, Option } from "effect"
1102
+ *
1103
+ * assert.deepStrictEqual(BigDecimal.fromString("123"), Option.some(BigDecimal.make(123n, 0)))
1104
+ * assert.deepStrictEqual(BigDecimal.fromString("123.456"), Option.some(BigDecimal.make(123456n, 3)))
1105
+ * assert.deepStrictEqual(BigDecimal.fromString("123.abc"), Option.none())
1106
+ * ```
1107
+ *
1108
+ * @since 2.0.0
1109
+ * @category constructors
1110
+ */
1111
+ export declare const fromString: (s: string) => Option.Option<BigDecimal>;
1112
+ /**
1113
+ * Parses a numerical `string` into a `BigDecimal`.
1114
+ *
1115
+ * @example
1116
+ * ```ts
1117
+ * import * as assert from "node:assert"
1118
+ * import { unsafeFromString, make } from "effect/BigDecimal"
1119
+ *
1120
+ * assert.deepStrictEqual(unsafeFromString("123"), make(123n, 0))
1121
+ * assert.deepStrictEqual(unsafeFromString("123.456"), make(123456n, 3))
1122
+ * assert.throws(() => unsafeFromString("123.abc"))
1123
+ * ```
1124
+ *
1125
+ * @since 2.0.0
1126
+ * @category constructors
1127
+ */
1128
+ export declare const unsafeFromString: (s: string) => BigDecimal;
1129
+ /**
1130
+ * Formats a given `BigDecimal` as a `string`.
1131
+ *
1132
+ * If the scale of the `BigDecimal` is greater than or equal to 16, the `BigDecimal` will
1133
+ * be formatted in scientific notation.
1134
+ *
1135
+ * @example
1136
+ * ```ts
1137
+ * import * as assert from "node:assert"
1138
+ * import { format, unsafeFromString } from "effect/BigDecimal"
1139
+ *
1140
+ * assert.deepStrictEqual(format(unsafeFromString("-5")), "-5")
1141
+ * assert.deepStrictEqual(format(unsafeFromString("123.456")), "123.456")
1142
+ * assert.deepStrictEqual(format(unsafeFromString("-0.00000123")), "-0.00000123")
1143
+ * ```
1144
+ *
1145
+ * @since 2.0.0
1146
+ * @category conversions
1147
+ */
1148
+ export declare const format: (n: BigDecimal) => string;
1149
+ /**
1150
+ * Formats a given `BigDecimal` as a `string` in scientific notation.
1151
+ *
1152
+ * @example
1153
+ * ```ts
1154
+ * import * as assert from "node:assert"
1155
+ * import { toExponential, make } from "effect/BigDecimal"
1156
+ *
1157
+ * assert.deepStrictEqual(toExponential(make(123456n, -5)), "1.23456e+10")
1158
+ * ```
1159
+ *
1160
+ * @since 3.11.0
1161
+ * @category conversions
1162
+ */
1163
+ export declare const toExponential: (n: BigDecimal) => string;
1164
+ /**
1165
+ * Converts a `BigDecimal` to a `number`.
1166
+ *
1167
+ * This function will produce incorrect results if the `BigDecimal` exceeds the 64-bit range of a `number`.
1168
+ *
1169
+ * @example
1170
+ * ```ts
1171
+ * import * as assert from "node:assert"
1172
+ * import { unsafeToNumber, unsafeFromString } from "effect/BigDecimal"
1173
+ *
1174
+ * assert.deepStrictEqual(unsafeToNumber(unsafeFromString("123.456")), 123.456)
1175
+ * ```
1176
+ *
1177
+ * @since 2.0.0
1178
+ * @category conversions
1179
+ */
1180
+ export declare const unsafeToNumber: (n: BigDecimal) => number;
1181
+ /**
1182
+ * Checks if a given `BigDecimal` is an integer.
1183
+ *
1184
+ * @example
1185
+ * ```ts
1186
+ * import * as assert from "node:assert"
1187
+ * import { isInteger, unsafeFromString } from "effect/BigDecimal"
1188
+ *
1189
+ * assert.deepStrictEqual(isInteger(unsafeFromString("0")), true)
1190
+ * assert.deepStrictEqual(isInteger(unsafeFromString("1")), true)
1191
+ * assert.deepStrictEqual(isInteger(unsafeFromString("1.1")), false)
1192
+ * ```
1193
+ *
1194
+ * @since 2.0.0
1195
+ * @category predicates
1196
+ */
1197
+ export declare const isInteger: (n: BigDecimal) => boolean;
1198
+ /**
1199
+ * Checks if a given `BigDecimal` is `0`.
1200
+ *
1201
+ * @example
1202
+ * ```ts
1203
+ * import * as assert from "node:assert"
1204
+ * import { isZero, unsafeFromString } from "effect/BigDecimal"
1205
+ *
1206
+ * assert.deepStrictEqual(isZero(unsafeFromString("0")), true)
1207
+ * assert.deepStrictEqual(isZero(unsafeFromString("1")), false)
1208
+ * ```
1209
+ *
1210
+ * @since 2.0.0
1211
+ * @category predicates
1212
+ */
1213
+ export declare const isZero: (n: BigDecimal) => boolean;
1214
+ /**
1215
+ * Checks if a given `BigDecimal` is negative.
1216
+ *
1217
+ * @example
1218
+ * ```ts
1219
+ * import * as assert from "node:assert"
1220
+ * import { isNegative, unsafeFromString } from "effect/BigDecimal"
1221
+ *
1222
+ * assert.deepStrictEqual(isNegative(unsafeFromString("-1")), true)
1223
+ * assert.deepStrictEqual(isNegative(unsafeFromString("0")), false)
1224
+ * assert.deepStrictEqual(isNegative(unsafeFromString("1")), false)
1225
+ * ```
1226
+ *
1227
+ * @since 2.0.0
1228
+ * @category predicates
1229
+ */
1230
+ export declare const isNegative: (n: BigDecimal) => boolean;
1231
+ /**
1232
+ * Checks if a given `BigDecimal` is positive.
1233
+ *
1234
+ * @example
1235
+ * ```ts
1236
+ * import * as assert from "node:assert"
1237
+ * import { isPositive, unsafeFromString } from "effect/BigDecimal"
1238
+ *
1239
+ * assert.deepStrictEqual(isPositive(unsafeFromString("-1")), false)
1240
+ * assert.deepStrictEqual(isPositive(unsafeFromString("0")), false)
1241
+ * assert.deepStrictEqual(isPositive(unsafeFromString("1")), true)
1242
+ * ```
1243
+ *
1244
+ * @since 2.0.0
1245
+ * @category predicates
1246
+ */
1247
+ export declare const isPositive: (n: BigDecimal) => boolean;
1248
+ /**
1249
+ * Calculate the ceiling of a `BigDecimal` at the given scale.
1250
+ *
1251
+ * @example
1252
+ * ```ts
1253
+ * import * as assert from "node:assert"
1254
+ * import { ceil, unsafeFromString } from "effect/BigDecimal"
1255
+ *
1256
+ * assert.deepStrictEqual(ceil(unsafeFromString("145"), -1), unsafeFromString("150"))
1257
+ * assert.deepStrictEqual(ceil(unsafeFromString("-14.5")), unsafeFromString("-14"))
1258
+ * ```
1259
+ *
1260
+ * @since 3.16.0
1261
+ * @category math
1262
+ */
1263
+ export declare const ceil: {
1264
+ /**
1265
+ * Calculate the ceiling of a `BigDecimal` at the given scale.
1266
+ *
1267
+ * @example
1268
+ * ```ts
1269
+ * import * as assert from "node:assert"
1270
+ * import { ceil, unsafeFromString } from "effect/BigDecimal"
1271
+ *
1272
+ * assert.deepStrictEqual(ceil(unsafeFromString("145"), -1), unsafeFromString("150"))
1273
+ * assert.deepStrictEqual(ceil(unsafeFromString("-14.5")), unsafeFromString("-14"))
1274
+ * ```
1275
+ *
1276
+ * @since 3.16.0
1277
+ * @category math
1278
+ */
1279
+ (scale: number): (self: BigDecimal) => BigDecimal;
1280
+ /**
1281
+ * Calculate the ceiling of a `BigDecimal` at the given scale.
1282
+ *
1283
+ * @example
1284
+ * ```ts
1285
+ * import * as assert from "node:assert"
1286
+ * import { ceil, unsafeFromString } from "effect/BigDecimal"
1287
+ *
1288
+ * assert.deepStrictEqual(ceil(unsafeFromString("145"), -1), unsafeFromString("150"))
1289
+ * assert.deepStrictEqual(ceil(unsafeFromString("-14.5")), unsafeFromString("-14"))
1290
+ * ```
1291
+ *
1292
+ * @since 3.16.0
1293
+ * @category math
1294
+ */
1295
+ (self: BigDecimal, scale?: number): BigDecimal;
1296
+ };
1297
+ /**
1298
+ * Calculate the floor of a `BigDecimal` at the given scale.
1299
+ *
1300
+ * @example
1301
+ * ```ts
1302
+ * import * as assert from "node:assert"
1303
+ * import { floor, unsafeFromString } from "effect/BigDecimal"
1304
+ *
1305
+ * assert.deepStrictEqual(floor(unsafeFromString("145"), -1), unsafeFromString("140"))
1306
+ * assert.deepStrictEqual(floor(unsafeFromString("-14.5")), unsafeFromString("-15"))
1307
+ * ```
1308
+ *
1309
+ * @since 3.16.0
1310
+ * @category math
1311
+ */
1312
+ export declare const floor: {
1313
+ /**
1314
+ * Calculate the floor of a `BigDecimal` at the given scale.
1315
+ *
1316
+ * @example
1317
+ * ```ts
1318
+ * import * as assert from "node:assert"
1319
+ * import { floor, unsafeFromString } from "effect/BigDecimal"
1320
+ *
1321
+ * assert.deepStrictEqual(floor(unsafeFromString("145"), -1), unsafeFromString("140"))
1322
+ * assert.deepStrictEqual(floor(unsafeFromString("-14.5")), unsafeFromString("-15"))
1323
+ * ```
1324
+ *
1325
+ * @since 3.16.0
1326
+ * @category math
1327
+ */
1328
+ (scale: number): (self: BigDecimal) => BigDecimal;
1329
+ /**
1330
+ * Calculate the floor of a `BigDecimal` at the given scale.
1331
+ *
1332
+ * @example
1333
+ * ```ts
1334
+ * import * as assert from "node:assert"
1335
+ * import { floor, unsafeFromString } from "effect/BigDecimal"
1336
+ *
1337
+ * assert.deepStrictEqual(floor(unsafeFromString("145"), -1), unsafeFromString("140"))
1338
+ * assert.deepStrictEqual(floor(unsafeFromString("-14.5")), unsafeFromString("-15"))
1339
+ * ```
1340
+ *
1341
+ * @since 3.16.0
1342
+ * @category math
1343
+ */
1344
+ (self: BigDecimal, scale?: number): BigDecimal;
1345
+ };
1346
+ /**
1347
+ * Truncate a `BigDecimal` at the given scale. This is the same operation as rounding away from zero.
1348
+ *
1349
+ * @example
1350
+ * ```ts
1351
+ * import * as assert from "node:assert"
1352
+ * import { truncate, unsafeFromString } from "effect/BigDecimal"
1353
+ *
1354
+ * assert.deepStrictEqual(truncate(unsafeFromString("145"), -1), unsafeFromString("140"))
1355
+ * assert.deepStrictEqual(truncate(unsafeFromString("-14.5")), unsafeFromString("-14"))
1356
+ * ```
1357
+ *
1358
+ * @since 3.16.0
1359
+ * @category math
1360
+ */
1361
+ export declare const truncate: {
1362
+ /**
1363
+ * Truncate a `BigDecimal` at the given scale. This is the same operation as rounding away from zero.
1364
+ *
1365
+ * @example
1366
+ * ```ts
1367
+ * import * as assert from "node:assert"
1368
+ * import { truncate, unsafeFromString } from "effect/BigDecimal"
1369
+ *
1370
+ * assert.deepStrictEqual(truncate(unsafeFromString("145"), -1), unsafeFromString("140"))
1371
+ * assert.deepStrictEqual(truncate(unsafeFromString("-14.5")), unsafeFromString("-14"))
1372
+ * ```
1373
+ *
1374
+ * @since 3.16.0
1375
+ * @category math
1376
+ */
1377
+ (scale: number): (self: BigDecimal) => BigDecimal;
1378
+ /**
1379
+ * Truncate a `BigDecimal` at the given scale. This is the same operation as rounding away from zero.
1380
+ *
1381
+ * @example
1382
+ * ```ts
1383
+ * import * as assert from "node:assert"
1384
+ * import { truncate, unsafeFromString } from "effect/BigDecimal"
1385
+ *
1386
+ * assert.deepStrictEqual(truncate(unsafeFromString("145"), -1), unsafeFromString("140"))
1387
+ * assert.deepStrictEqual(truncate(unsafeFromString("-14.5")), unsafeFromString("-14"))
1388
+ * ```
1389
+ *
1390
+ * @since 3.16.0
1391
+ * @category math
1392
+ */
1393
+ (self: BigDecimal, scale?: number): BigDecimal;
1394
+ };
1395
+ /**
1396
+ * Rounding modes for `BigDecimal`.
1397
+ *
1398
+ * `ceil`: round towards positive infinity
1399
+ * `floor`: round towards negative infinity
1400
+ * `to-zero`: round towards zero
1401
+ * `from-zero`: round away from zero
1402
+ * `half-ceil`: round to the nearest neighbor; if equidistant round towards positive infinity
1403
+ * `half-floor`: round to the nearest neighbor; if equidistant round towards negative infinity
1404
+ * `half-to-zero`: round to the nearest neighbor; if equidistant round towards zero
1405
+ * `half-from-zero`: round to the nearest neighbor; if equidistant round away from zero
1406
+ * `half-even`: round to the nearest neighbor; if equidistant round to the neighbor with an even digit
1407
+ * `half-odd`: round to the nearest neighbor; if equidistant round to the neighbor with an odd digit
1408
+ *
1409
+ * @since 3.16.0
1410
+ * @category math
1411
+ */
1412
+ export type RoundingMode = "ceil" | "floor" | "to-zero" | "from-zero" | "half-ceil" | "half-floor" | "half-to-zero" | "half-from-zero" | "half-even" | "half-odd";
1413
+ /**
1414
+ * Rounds a `BigDecimal` at the given scale with the specified rounding mode.
1415
+ *
1416
+ * @example
1417
+ * ```ts
1418
+ * import * as assert from "node:assert"
1419
+ * import { round, unsafeFromString } from "effect/BigDecimal"
1420
+ *
1421
+ * assert.deepStrictEqual(round(unsafeFromString("145"), { mode: "from-zero", scale: -1 }), unsafeFromString("150"))
1422
+ * assert.deepStrictEqual(round(unsafeFromString("-14.5")), unsafeFromString("-15"))
1423
+ * ```
1424
+ *
1425
+ * @since 3.16.0
1426
+ * @category math
1427
+ */
1428
+ export declare const round: {
1429
+ /**
1430
+ * Rounds a `BigDecimal` at the given scale with the specified rounding mode.
1431
+ *
1432
+ * @example
1433
+ * ```ts
1434
+ * import * as assert from "node:assert"
1435
+ * import { round, unsafeFromString } from "effect/BigDecimal"
1436
+ *
1437
+ * assert.deepStrictEqual(round(unsafeFromString("145"), { mode: "from-zero", scale: -1 }), unsafeFromString("150"))
1438
+ * assert.deepStrictEqual(round(unsafeFromString("-14.5")), unsafeFromString("-15"))
1439
+ * ```
1440
+ *
1441
+ * @since 3.16.0
1442
+ * @category math
1443
+ */
1444
+ (options: {
1445
+ scale?: number;
1446
+ mode?: RoundingMode;
1447
+ }): (self: BigDecimal) => BigDecimal;
1448
+ /**
1449
+ * Rounds a `BigDecimal` at the given scale with the specified rounding mode.
1450
+ *
1451
+ * @example
1452
+ * ```ts
1453
+ * import * as assert from "node:assert"
1454
+ * import { round, unsafeFromString } from "effect/BigDecimal"
1455
+ *
1456
+ * assert.deepStrictEqual(round(unsafeFromString("145"), { mode: "from-zero", scale: -1 }), unsafeFromString("150"))
1457
+ * assert.deepStrictEqual(round(unsafeFromString("-14.5")), unsafeFromString("-15"))
1458
+ * ```
1459
+ *
1460
+ * @since 3.16.0
1461
+ * @category math
1462
+ */
1463
+ (n: BigDecimal, options?: {
1464
+ scale?: number;
1465
+ mode?: RoundingMode;
1466
+ }): BigDecimal;
1467
+ };
1468
+ /**
1469
+ * Takes an `Iterable` of `BigDecimal`s and returns their sum as a single `BigDecimal`
1470
+ *
1471
+ * @example
1472
+ * ```ts
1473
+ * import * as assert from "node:assert"
1474
+ * import { unsafeFromString, sumAll } from "effect/BigDecimal"
1475
+ *
1476
+ * assert.deepStrictEqual(sumAll([unsafeFromString("2"), unsafeFromString("3"), unsafeFromString("4")]), unsafeFromString("9"))
1477
+ * ```
1478
+ *
1479
+ * @category math
1480
+ * @since 3.16.0
1481
+ */
1482
+ export declare const sumAll: (collection: Iterable<BigDecimal>) => BigDecimal;
1483
+ //# sourceMappingURL=BigDecimal.d.ts.map
backend/node_modules/effect/dist/dts/BigDecimal.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"BigDecimal.d.ts","sourceRoot":"","sources":["../../src/BigDecimal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAA;AAG/C,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,kBAAkB,CAAA;AACtE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,KAAK,QAAQ,EAAiB,MAAM,eAAe,CAAA;AAM5D;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,OAAO,MAAwC,CAAA;AAEpE;;;GAGG;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAA;AAElC;;;GAGG;AACH,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,WAAW;IACpE,QAAQ,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAGvB;AAiCD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,GAAG,OAAO,KAAG,CAAC,IAAI,UAAoC,CAAA;AAEnF;;;;;GAKG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,UAKnD,CAAA;AAsBD;;;;;;;;;;;;;;;GAeG;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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Duration from "./Duration.js";
5
+ import type * as Effect from "./Effect.js";
6
+ import type { Either } from "./Either.js";
7
+ import type * as Exit from "./Exit.js";
8
+ import type * as Option from "./Option.js";
9
+ import type * as Predicate from "./Predicate.js";
10
+ import type * as Types from "./Types.js";
11
+ /**
12
+ * @since 2.0.0
13
+ * @category symbols
14
+ */
15
+ export declare const CacheTypeId: unique symbol;
16
+ /**
17
+ * @since 2.0.0
18
+ * @category symbols
19
+ */
20
+ export type CacheTypeId = typeof CacheTypeId;
21
+ /**
22
+ * @since 3.6.4
23
+ * @category symbols
24
+ */
25
+ export declare const ConsumerCacheTypeId: unique symbol;
26
+ /**
27
+ * @since 3.6.4
28
+ * @category symbols
29
+ */
30
+ export type ConsumerCacheTypeId = typeof ConsumerCacheTypeId;
31
+ /**
32
+ * A `Cache` is defined in terms of a lookup function that, given a key of
33
+ * type `Key`, can either fail with an error of type `Error` or succeed with a
34
+ * value of type `Value`. Getting a value from the cache will either return
35
+ * the previous result of the lookup function if it is available or else
36
+ * compute a new result with the lookup function, put it in the cache, and
37
+ * return it.
38
+ *
39
+ * A cache also has a specified capacity and time to live. When the cache is
40
+ * at capacity the least recently accessed values in the cache will be
41
+ * removed to make room for new values. Getting a value with a life older than
42
+ * the specified time to live will result in a new value being computed with
43
+ * the lookup function and returned when available.
44
+ *
45
+ * The cache is safe for concurrent access. If multiple fibers attempt to get
46
+ * the same key the lookup function will only be computed once and the result
47
+ * will be returned to all fibers.
48
+ *
49
+ * @since 2.0.0
50
+ * @category models
51
+ */
52
+ export interface Cache<in out Key, in out Value, out Error = never> extends ConsumerCache<Key, Value, Error>, Cache.Variance<Key, Value, Error> {
53
+ /**
54
+ * Retrieves the value associated with the specified key if it exists.
55
+ * Otherwise computes the value with the lookup function, puts it in the
56
+ * cache, and returns it.
57
+ */
58
+ get(key: Key): Effect.Effect<Value, Error>;
59
+ /**
60
+ * Retrieves the value associated with the specified key if it exists as a left.
61
+ * Otherwise computes the value with the lookup function, puts it in the
62
+ * cache, and returns it as a right.
63
+ */
64
+ getEither(key: Key): Effect.Effect<Either<Value, Value>, Error>;
65
+ /**
66
+ * Computes the value associated with the specified key, with the lookup
67
+ * function, and puts it in the cache. The difference between this and
68
+ * `get` method is that `refresh` triggers (re)computation of the value
69
+ * without invalidating it in the cache, so any request to the associated
70
+ * key can still be served while the value is being re-computed/retrieved
71
+ * by the lookup function. Additionally, `refresh` always triggers the
72
+ * lookup function, disregarding the last `Error`.
73
+ */
74
+ refresh(key: Key): Effect.Effect<void, Error>;
75
+ /**
76
+ * Associates the specified value with the specified key in the cache.
77
+ */
78
+ set(key: Key, value: Value): Effect.Effect<void>;
79
+ }
80
+ /**
81
+ * A ConsumerCache models a portion of a cache which is safe to share without allowing to create new values or access existing ones.
82
+ *
83
+ * It can be used safely to give over control for request management without leaking writer side details.
84
+ *
85
+ * @since 2.0.0
86
+ * @category models
87
+ */
88
+ export interface ConsumerCache<in out Key, out Value, out Error = never> extends Cache.ConsumerVariance<Key, Value, Error> {
89
+ /**
90
+ * Retrieves the value associated with the specified key if it exists.
91
+ * Otherwise returns `Option.none`.
92
+ */
93
+ getOption(key: Key): Effect.Effect<Option.Option<Value>, Error>;
94
+ /**
95
+ * Retrieves the value associated with the specified key if it exists and the
96
+ * lookup function has completed. Otherwise returns `Option.none`.
97
+ */
98
+ getOptionComplete(key: Key): Effect.Effect<Option.Option<Value>>;
99
+ /**
100
+ * Returns statistics for this cache.
101
+ */
102
+ readonly cacheStats: Effect.Effect<CacheStats>;
103
+ /**
104
+ * Returns whether a value associated with the specified key exists in the
105
+ * cache.
106
+ */
107
+ contains(key: Key): Effect.Effect<boolean>;
108
+ /**
109
+ * Returns statistics for the specified entry.
110
+ */
111
+ entryStats(key: Key): Effect.Effect<Option.Option<EntryStats>>;
112
+ /**
113
+ * Invalidates the value associated with the specified key.
114
+ */
115
+ invalidate(key: Key): Effect.Effect<void>;
116
+ /**
117
+ * Invalidates the value associated with the specified key if the predicate holds.
118
+ */
119
+ invalidateWhen(key: Key, predicate: Predicate.Predicate<Value>): Effect.Effect<void>;
120
+ /**
121
+ * Invalidates all values in the cache.
122
+ */
123
+ readonly invalidateAll: Effect.Effect<void>;
124
+ /**
125
+ * Returns the approximate number of values in the cache.
126
+ */
127
+ readonly size: Effect.Effect<number>;
128
+ /**
129
+ * Returns an approximation of the values in the cache.
130
+ */
131
+ readonly keys: Effect.Effect<Array<Key>>;
132
+ /**
133
+ * Returns an approximation of the values in the cache.
134
+ */
135
+ readonly values: Effect.Effect<Array<Value>>;
136
+ /**
137
+ * Returns an approximation of the values in the cache.
138
+ */
139
+ readonly entries: Effect.Effect<Array<[Key, Value]>>;
140
+ }
141
+ /**
142
+ * @since 2.0.0
143
+ */
144
+ export declare namespace Cache {
145
+ /**
146
+ * @since 2.0.0
147
+ * @category models
148
+ */
149
+ interface Variance<in out Key, in out Value, out Error> {
150
+ readonly [CacheTypeId]: {
151
+ readonly _Key: Types.Invariant<Key>;
152
+ readonly _Error: Types.Covariant<Error>;
153
+ readonly _Value: Types.Invariant<Value>;
154
+ };
155
+ }
156
+ /**
157
+ * @since 3.6.4
158
+ * @category models
159
+ */
160
+ interface ConsumerVariance<in out Key, out Value, out Error> {
161
+ readonly [ConsumerCacheTypeId]: {
162
+ readonly _Key: Types.Invariant<Key>;
163
+ readonly _Error: Types.Covariant<Error>;
164
+ readonly _Value: Types.Covariant<Value>;
165
+ };
166
+ }
167
+ }
168
+ /**
169
+ * Constructs a new cache with the specified capacity, time to live, and
170
+ * lookup function.
171
+ *
172
+ * @since 2.0.0
173
+ * @category constructors
174
+ */
175
+ export declare const make: <Key, Value, Error = never, Environment = never>(options: {
176
+ readonly capacity: number;
177
+ readonly timeToLive: Duration.DurationInput;
178
+ readonly lookup: Lookup<Key, Value, Error, Environment>;
179
+ }) => Effect.Effect<Cache<Key, Value, Error>, never, Environment>;
180
+ /**
181
+ * Constructs a new cache with the specified capacity, time to live, and
182
+ * lookup function, where the time to live can depend on the `Exit` value
183
+ * returned by the lookup function.
184
+ *
185
+ * @since 2.0.0
186
+ * @category constructors
187
+ */
188
+ export declare const makeWith: <Key, Value, Error = never, Environment = never>(options: {
189
+ readonly capacity: number;
190
+ readonly lookup: Lookup<Key, Value, Error, Environment>;
191
+ readonly timeToLive: (exit: Exit.Exit<Value, Error>) => Duration.DurationInput;
192
+ }) => Effect.Effect<Cache<Key, Value, Error>, never, Environment>;
193
+ /**
194
+ * `CacheStats` represents a snapshot of statistics for the cache as of a
195
+ * point in time.
196
+ *
197
+ * @since 2.0.0
198
+ * @category models
199
+ */
200
+ export interface CacheStats {
201
+ readonly hits: number;
202
+ readonly misses: number;
203
+ readonly size: number;
204
+ }
205
+ /**
206
+ * Constructs a new `CacheStats` from the specified values.
207
+ *
208
+ * @since 2.0.0
209
+ * @category constructors
210
+ */
211
+ export declare const makeCacheStats: (options: {
212
+ readonly hits: number;
213
+ readonly misses: number;
214
+ readonly size: number;
215
+ }) => CacheStats;
216
+ /**
217
+ * Represents a snapshot of statistics for an entry in the cache.
218
+ *
219
+ * @since 2.0.0
220
+ * @category models
221
+ */
222
+ export interface EntryStats {
223
+ readonly loadedMillis: number;
224
+ }
225
+ /**
226
+ * Constructs a new `EntryStats` from the specified values.
227
+ *
228
+ * @since 2.0.0
229
+ * @category constructors
230
+ */
231
+ export declare const makeEntryStats: (loadedMillis: number) => EntryStats;
232
+ /**
233
+ * A `Lookup` represents a lookup function that, given a key of type `Key`, can
234
+ * return an effect that will either produce a value of type `Value` or fail
235
+ * with an error of type `Error` using an environment of type `Environment`.
236
+ *
237
+ * @since 2.0.0
238
+ * @category models
239
+ */
240
+ export type Lookup<Key, Value, Error = never, Environment = never> = (key: Key) => Effect.Effect<Value, Error, Environment>;
241
+ //# sourceMappingURL=Cache.d.ts.map
backend/node_modules/effect/dist/dts/Cache.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * The `Effect<A, E, R>` type is polymorphic in values of type `E` and we can
3
+ * work with any error type that we want. However, there is a lot of information
4
+ * that is not inside an arbitrary `E` value. So as a result, an `Effect` needs
5
+ * somewhere to store things like unexpected errors or defects, stack and
6
+ * execution traces, causes of fiber interruptions, and so forth.
7
+ *
8
+ * Effect-TS is very strict about preserving the full information related to a
9
+ * failure. It captures all type of errors into the `Cause` data type. `Effect`
10
+ * uses the `Cause<E>` data type to store the full story of failure. So its
11
+ * error model is lossless. It doesn't throw information related to the failure
12
+ * result. So we can figure out exactly what happened during the operation of
13
+ * our effects.
14
+ *
15
+ * It is important to note that `Cause` is an underlying data type representing
16
+ * errors occuring within an `Effect` workflow. Thus, we don't usually deal with
17
+ * `Cause`s directly. Even though it is not a data type that we deal with very
18
+ * often, the `Cause` of a failing `Effect` workflow can be accessed at any
19
+ * time, which gives us total access to all parallel and sequential errors in
20
+ * occurring within our codebase.
21
+ *
22
+ * @since 2.0.0
23
+ */
24
+ import type * as Channel from "./Channel.js";
25
+ import type * as Chunk from "./Chunk.js";
26
+ import type * as Effect from "./Effect.js";
27
+ import type * as Either from "./Either.js";
28
+ import type * as Equal from "./Equal.js";
29
+ import type * as FiberId from "./FiberId.js";
30
+ import type * as HashSet from "./HashSet.js";
31
+ import type { Inspectable } from "./Inspectable.js";
32
+ import type * as Option from "./Option.js";
33
+ import type { Pipeable } from "./Pipeable.js";
34
+ import type { Predicate, Refinement } from "./Predicate.js";
35
+ import type * as Sink from "./Sink.js";
36
+ import type * as Stream from "./Stream.js";
37
+ import type { Span } from "./Tracer.js";
38
+ import type { Covariant, NoInfer } from "./Types.js";
39
+ /**
40
+ * A unique symbol identifying the `Cause` type.
41
+ *
42
+ * **Details**
43
+ *
44
+ * This provides a symbol that helps identify instances of the `Cause` data
45
+ * type. This can be used for advanced operations such as refining types or
46
+ * building internal utilities that check whether an unknown value is a `Cause`.
47
+ *
48
+ * @see {@link isCause} Check if a value is a `Cause`
49
+ *
50
+ * @since 2.0.0
51
+ * @category Symbols
52
+ */
53
+ export declare const CauseTypeId: unique symbol;
54
+ /**
55
+ * @since 2.0.0
56
+ * @category Symbols
57
+ */
58
+ export type CauseTypeId = typeof CauseTypeId;
59
+ /**
60
+ * A unique symbol identifying the `RuntimeException` type.
61
+ *
62
+ * **Details**
63
+ *
64
+ * This provides a symbol that identifies a `RuntimeException`. This is
65
+ * typically used internally by the library to recognize checked exceptions that
66
+ * occur during runtime.
67
+ *
68
+ * @see {@link RuntimeException} Create or work with a `RuntimeException`
69
+ *
70
+ * @since 2.0.0
71
+ * @category Symbols
72
+ */
73
+ export declare const RuntimeExceptionTypeId: unique symbol;
74
+ /**
75
+ * @since 2.0.0
76
+ * @category Symbols
77
+ */
78
+ export type RuntimeExceptionTypeId = typeof RuntimeExceptionTypeId;
79
+ /**
80
+ * A unique symbol identifying the `InterruptedException` type.
81
+ *
82
+ * **Details**
83
+ *
84
+ * This provides a symbol that identifies an `InterruptedException`. This is
85
+ * typically used internally to recognize when a fiber has been interrupted,
86
+ * helping the framework handle interruption logic correctly.
87
+ *
88
+ * @see {@link InterruptedException} Create or work with an `InterruptedException`
89
+ *
90
+ * @since 2.0.0
91
+ * @category Symbols
92
+ */
93
+ export declare const InterruptedExceptionTypeId: unique symbol;
94
+ /**
95
+ * @since 2.0.0
96
+ * @category Symbols
97
+ */
98
+ export type InterruptedExceptionTypeId = typeof InterruptedExceptionTypeId;
99
+ /**
100
+ * A unique symbol identifying the `IllegalArgumentException` type.
101
+ *
102
+ * **Details**
103
+ *
104
+ * This provides a symbol that identifies an `IllegalArgumentException`. This is
105
+ * often used in scenarios where invalid arguments are supplied to methods that
106
+ * expect specific input.
107
+ *
108
+ * @see {@link IllegalArgumentException} Create or work with an `IllegalArgumentException`
109
+ *
110
+ * @since 2.0.0
111
+ * @category Symbols
112
+ */
113
+ export declare const IllegalArgumentExceptionTypeId: unique symbol;
114
+ /**
115
+ * @since 2.0.0
116
+ * @category Symbols
117
+ */
118
+ export type IllegalArgumentExceptionTypeId = typeof IllegalArgumentExceptionTypeId;
119
+ /**
120
+ * A unique symbol identifying the `NoSuchElementException` type.
121
+ *
122
+ * **Details**
123
+ *
124
+ * This provides a symbol that identifies a `NoSuchElementException`. It helps
125
+ * differentiate cases where a required element is missing within a data
126
+ * structure.
127
+ *
128
+ * @see {@link NoSuchElementException} Create or work with a `NoSuchElementException`
129
+ *
130
+ * @since 2.0.0
131
+ * @category Symbols
132
+ */
133
+ export declare const NoSuchElementExceptionTypeId: unique symbol;
134
+ /**
135
+ * @since 2.0.0
136
+ * @category Symbols
137
+ */
138
+ export type NoSuchElementExceptionTypeId = typeof NoSuchElementExceptionTypeId;
139
+ /**
140
+ * A unique symbol identifying the `InvalidPubSubCapacityException` type.
141
+ *
142
+ * **Details**
143
+ *
144
+ * This provides a symbol that identifies an `InvalidPubSubCapacityException`.
145
+ * It indicates an error related to an invalid capacity passed to a `PubSub`
146
+ * structure.
147
+ *
148
+ * @see {@link InvalidPubSubCapacityException} Create or work with an `InvalidPubSubCapacityException`
149
+ *
150
+ * @since 2.0.0
151
+ * @category Symbols
152
+ */
153
+ export declare const InvalidPubSubCapacityExceptionTypeId: unique symbol;
154
+ /**
155
+ * @since 2.0.0
156
+ * @category Symbols
157
+ */
158
+ export type InvalidPubSubCapacityExceptionTypeId = typeof InvalidPubSubCapacityExceptionTypeId;
159
+ /**
160
+ * A unique symbol identifying the `ExceededCapacityException` type.
161
+ *
162
+ * **Details**
163
+ *
164
+ * This provides a symbol that identifies an `ExceededCapacityException`. It
165
+ * denotes situations where a resource has exceeded its configured capacity
166
+ * limit.
167
+ *
168
+ * @see {@link ExceededCapacityException} Create or work with an `ExceededCapacityException`
169
+ *
170
+ * @since 3.5.0
171
+ * @category Symbols
172
+ */
173
+ export declare const ExceededCapacityExceptionTypeId: unique symbol;
174
+ /**
175
+ * @since 3.5.0
176
+ * @category Symbols
177
+ */
178
+ export type ExceededCapacityExceptionTypeId = typeof ExceededCapacityExceptionTypeId;
179
+ /**
180
+ * A unique symbol identifying the `TimeoutException` type.
181
+ *
182
+ * **Details**
183
+ *
184
+ * This provides a symbol that identifies a `TimeoutException`. It helps the
185
+ * framework recognize errors related to operations that fail to complete within
186
+ * a given timeframe.
187
+ *
188
+ * @see {@link TimeoutException} Create or work with a `TimeoutException`
189
+ *
190
+ * @since 2.0.0
191
+ * @category Symbols
192
+ */
193
+ export declare const TimeoutExceptionTypeId: unique symbol;
194
+ /**
195
+ * @since 2.0.0
196
+ * @category Symbols
197
+ */
198
+ export type TimeoutExceptionTypeId = typeof TimeoutExceptionTypeId;
199
+ /**
200
+ * A unique symbol identifying the `UnknownException` type.
201
+ *
202
+ * **Details**
203
+ *
204
+ * This provides a symbol that identifies an `UnknownException`. It is typically
205
+ * used for generic or unexpected errors that do not fit other specific
206
+ * exception categories.
207
+ *
208
+ * @see {@link UnknownException} Create or work with an `UnknownException`
209
+ *
210
+ * @since 2.0.0
211
+ * @category Symbols
212
+ */
213
+ export declare const UnknownExceptionTypeId: unique symbol;
214
+ /**
215
+ * @since 2.0.0
216
+ * @category Symbols
217
+ */
218
+ export type UnknownExceptionTypeId = typeof UnknownExceptionTypeId;
219
+ /**
220
+ * Represents the full history of a failure within an `Effect`.
221
+ *
222
+ * **Details**
223
+ *
224
+ * This type is a data structure that captures all information about why and how
225
+ * an effect has failed, including parallel errors, sequential errors, defects,
226
+ * and interruptions. It enables a "lossless" error model: no error-related
227
+ * information is discarded, which helps in debugging and understanding the root
228
+ * cause of failures.
229
+ *
230
+ * @since 2.0.0
231
+ * @category Models
232
+ */
233
+ export type Cause<E> = Empty | Fail<E> | Die | Interrupt | Sequential<E> | Parallel<E>;
234
+ /**
235
+ * @since 2.0.0
236
+ */
237
+ export declare namespace Cause {
238
+ /**
239
+ * This interface is used internally to manage the type variance of `Cause`.
240
+ *
241
+ * @since 2.0.0
242
+ * @category Models
243
+ */
244
+ interface Variance<out E> {
245
+ readonly [CauseTypeId]: {
246
+ readonly _E: Covariant<E>;
247
+ };
248
+ }
249
+ }
250
+ /**
251
+ * Describes methods for reducing a `Cause<E>` into a value of type `Z` with
252
+ * access to contextual information.
253
+ *
254
+ * **Details**
255
+ *
256
+ * This interface is meant for advanced transformations of `Cause`. By
257
+ * implementing each method, you can define how different parts of the `Cause`
258
+ * structure (like `Fail`, `Die`, or `Interrupt`) should be transformed into a
259
+ * final type `Z`. The `context` parameter carries additional data needed during
260
+ * this reduction.
261
+ *
262
+ * @see {@link reduceWithContext} Apply a `CauseReducer` to transform a `Cause`
263
+ *
264
+ * @since 2.0.0
265
+ * @category Models
266
+ */
267
+ export interface CauseReducer<in C, in E, in out Z> {
268
+ emptyCase(context: C): Z;
269
+ failCase(context: C, error: E): Z;
270
+ dieCase(context: C, defect: unknown): Z;
271
+ interruptCase(context: C, fiberId: FiberId.FiberId): Z;
272
+ sequentialCase(context: C, left: Z, right: Z): Z;
273
+ parallelCase(context: C, left: Z, right: Z): Z;
274
+ }
275
+ /**
276
+ * Represents an error object that can be yielded in `Effect.gen`.
277
+ *
278
+ * @since 2.0.0
279
+ * @category Models
280
+ */
281
+ export interface YieldableError extends Pipeable, Inspectable, Error {
282
+ readonly [Effect.EffectTypeId]: Effect.Effect.VarianceStruct<never, this, never>;
283
+ readonly [Stream.StreamTypeId]: Stream.Stream.VarianceStruct<never, this, never>;
284
+ readonly [Sink.SinkTypeId]: Sink.Sink.VarianceStruct<never, unknown, never, this, never>;
285
+ readonly [Channel.ChannelTypeId]: Channel.Channel.VarianceStruct<never, unknown, this, unknown, never, unknown, never>;
286
+ [Symbol.iterator](): Effect.EffectGenerator<Effect.Effect<never, this, never>>;
287
+ }
288
+ /**
289
+ * Creates an error that occurs at runtime, extendable for other exception
290
+ * types.
291
+ *
292
+ * @since 2.0.0
293
+ * @category Errors
294
+ */
295
+ export declare const YieldableError: new (message?: string | undefined) => YieldableError;
296
+ /**
297
+ * An error representing a runtime error.
298
+ *
299
+ * **Details**
300
+ *
301
+ * This interface is used for errors that occur at runtime but are still
302
+ * considered recoverable or typed.
303
+ *
304
+ * @since 2.0.0
305
+ * @category Models
306
+ */
307
+ export interface RuntimeException extends YieldableError {
308
+ readonly _tag: "RuntimeException";
309
+ readonly [RuntimeExceptionTypeId]: RuntimeExceptionTypeId;
310
+ }
311
+ /**
312
+ * An error representing fiber interruption.
313
+ *
314
+ * **Details**
315
+ *
316
+ * This interface represents errors that occur when a fiber is forcefully
317
+ * interrupted. Interruption can happen for various reasons, including
318
+ * cancellations or system directives to halt operations. Code that deals with
319
+ * concurrency might need to catch or handle these to ensure proper cleanup.
320
+ *
321
+ * @since 2.0.0
322
+ * @category Models
323
+ */
324
+ export interface InterruptedException extends YieldableError {
325
+ readonly _tag: "InterruptedException";
326
+ readonly [InterruptedExceptionTypeId]: InterruptedExceptionTypeId;
327
+ }
328
+ /**
329
+ * An error representing an invalid argument passed to a method.
330
+ *
331
+ * **Details**
332
+ *
333
+ * This interface is used for signaling that a function or method received an
334
+ * argument that does not meet its preconditions.
335
+ *
336
+ * @since 2.0.0
337
+ * @category Models
338
+ */
339
+ export interface IllegalArgumentException extends YieldableError {
340
+ readonly _tag: "IllegalArgumentException";
341
+ readonly [IllegalArgumentExceptionTypeId]: IllegalArgumentExceptionTypeId;
342
+ }
343
+ /**
344
+ * An error that occurs when an expected element is missing.
345
+ *
346
+ * **Details**
347
+ *
348
+ * This interface indicates scenarios like looking up an item in a collection
349
+ * or searching for data that should be present but isn't. It helps your code
350
+ * signal a more specific issue rather than a general error.
351
+ *
352
+ * @since 2.0.0
353
+ * @category Models
354
+ */
355
+ export interface NoSuchElementException extends YieldableError {
356
+ readonly _tag: "NoSuchElementException";
357
+ readonly [NoSuchElementExceptionTypeId]: NoSuchElementExceptionTypeId;
358
+ }
359
+ /**
360
+ * An error indicating invalid capacity for a `PubSub`.
361
+ *
362
+ * @since 2.0.0
363
+ * @category Models
364
+ */
365
+ export interface InvalidPubSubCapacityException extends YieldableError {
366
+ readonly _tag: "InvalidPubSubCapacityException";
367
+ readonly [InvalidPubSubCapacityExceptionTypeId]: InvalidPubSubCapacityExceptionTypeId;
368
+ }
369
+ /**
370
+ * An error that occurs when resource capacity is exceeded.
371
+ *
372
+ * @since 3.5.0
373
+ * @category Models
374
+ */
375
+ export interface ExceededCapacityException extends YieldableError {
376
+ readonly _tag: "ExceededCapacityException";
377
+ readonly [ExceededCapacityExceptionTypeId]: ExceededCapacityExceptionTypeId;
378
+ }
379
+ /**
380
+ * An error representing a computation that timed out.
381
+ *
382
+ * @since 2.0.0
383
+ * @category Models
384
+ */
385
+ export interface TimeoutException extends YieldableError {
386
+ readonly _tag: "TimeoutException";
387
+ readonly [TimeoutExceptionTypeId]: TimeoutExceptionTypeId;
388
+ }
389
+ /**
390
+ * A checked exception for handling unknown or unexpected errors.
391
+ *
392
+ * **Details**
393
+ *
394
+ * This interface captures errors that don't fall under known categories. It is
395
+ * especially helpful for wrapping low-level or third-party library errors that
396
+ * might provide little or no context, such as from a rejected promise.
397
+ *
398
+ * @since 2.0.0
399
+ * @category Models
400
+ */
401
+ export interface UnknownException extends YieldableError {
402
+ readonly _tag: "UnknownException";
403
+ readonly [UnknownExceptionTypeId]: UnknownExceptionTypeId;
404
+ readonly error: unknown;
405
+ }
406
+ /**
407
+ * Represents a lack of errors within a `Cause`.
408
+ *
409
+ * @see {@link empty} Construct a new `Empty` cause
410
+ * @see {@link isEmptyType} Check if a `Cause` is an `Empty` type
411
+ *
412
+ * @since 2.0.0
413
+ * @category Models
414
+ */
415
+ export interface Empty extends Cause.Variance<never>, Equal.Equal, Pipeable, Inspectable {
416
+ readonly _tag: "Empty";
417
+ }
418
+ /**
419
+ * Represents an expected error within a `Cause`.
420
+ *
421
+ * **Details**
422
+ *
423
+ * This interface models a `Cause` that carries an expected or known error of
424
+ * type `E`. For example, if you validate user input and find it invalid, you
425
+ * might store that error within a `Fail`.
426
+ *
427
+ * @see {@link fail} Construct a `Fail` cause
428
+ * @see {@link isFailType} Check if a `Cause` is a `Fail`
429
+ *
430
+ * @since 2.0.0
431
+ * @category Models
432
+ */
433
+ export interface Fail<out E> extends Cause.Variance<E>, Equal.Equal, Pipeable, Inspectable {
434
+ readonly _tag: "Fail";
435
+ readonly error: E;
436
+ }
437
+ /**
438
+ * Represents an unexpected defect within a `Cause`.
439
+ *
440
+ * **Details**
441
+ *
442
+ * This interface models a `Cause` for errors that are typically unrecoverable or
443
+ * unanticipated—like runtime exceptions or bugs. When code "dies," it indicates a
444
+ * severe failure that wasn't accounted for.
445
+ *
446
+ * @see {@link die} Construct a `Die` cause
447
+ * @see {@link isDieType} Check if a `Cause` is a `Die`
448
+ *
449
+ * @since 2.0.0
450
+ * @category Models
451
+ */
452
+ export interface Die extends Cause.Variance<never>, Equal.Equal, Pipeable, Inspectable {
453
+ readonly _tag: "Die";
454
+ readonly defect: unknown;
455
+ }
456
+ /**
457
+ * Represents fiber interruption within a `Cause`.
458
+ *
459
+ * **Details**
460
+ *
461
+ * This interface models a scenario where an effect was halted by an external
462
+ * signal, carrying a `FiberId` that identifies which fiber was interrupted.
463
+ * Interruption is a normal part of concurrency, used for cancellation or
464
+ * resource cleanup.
465
+ *
466
+ * @see {@link interrupt} Construct an `Interrupt` cause
467
+ * @see {@link isInterruptType} Check if a `Cause` is an `Interrupt`
468
+ *
469
+ * @since 2.0.0
470
+ * @category Models
471
+ */
472
+ export interface Interrupt extends Cause.Variance<never>, Equal.Equal, Pipeable, Inspectable {
473
+ readonly _tag: "Interrupt";
474
+ readonly fiberId: FiberId.FiberId;
475
+ }
476
+ /**
477
+ * Represents parallel composition of two `Cause`s.
478
+ *
479
+ * **Details**
480
+ *
481
+ * This interface captures failures that happen simultaneously. In scenarios
482
+ * with concurrency, more than one operation can fail in parallel. Instead of
483
+ * losing information, this structure stores both errors together.
484
+ *
485
+ * @see {@link parallel} Combine two `Cause`s in parallel
486
+ * @see {@link isParallelType} Check if a `Cause` is a `Parallel`
487
+ *
488
+ * @since 2.0.0
489
+ * @category Models
490
+ */
491
+ export interface Parallel<out E> extends Cause.Variance<E>, Equal.Equal, Pipeable, Inspectable {
492
+ readonly _tag: "Parallel";
493
+ readonly left: Cause<E>;
494
+ readonly right: Cause<E>;
495
+ }
496
+ /**
497
+ * Represents sequential composition of two `Cause`s.
498
+ *
499
+ * **Details**
500
+ *
501
+ * This interface models the scenario where one error follows another in
502
+ * sequence, such as when a main effect fails and then a finalizer also fails.
503
+ * It ensures both errors are retained in the final `Cause`.
504
+ *
505
+ * @see {@link sequential} Combine two `Cause`s sequentially
506
+ * @see {@link isSequentialType} Check if a `Cause` is a `Sequential`
507
+ *
508
+ * @since 2.0.0
509
+ * @category Models
510
+ */
511
+ export interface Sequential<out E> extends Cause.Variance<E>, Equal.Equal, Pipeable, Inspectable {
512
+ readonly _tag: "Sequential";
513
+ readonly left: Cause<E>;
514
+ readonly right: Cause<E>;
515
+ }
516
+ /**
517
+ * Creates an `Empty` cause.
518
+ *
519
+ * **Details**
520
+ *
521
+ * This function returns a cause that signifies "no error." It's commonly used
522
+ * to represent an absence of failure conditions.
523
+ *
524
+ * @see {@link isEmpty} Check if a `Cause` is empty
525
+ *
526
+ * @since 2.0.0
527
+ * @category Constructors
528
+ */
529
+ export declare const empty: Cause<never>;
530
+ /**
531
+ * Creates a `Fail` cause from an expected error.
532
+ *
533
+ * **Details**
534
+ *
535
+ * This function constructs a `Cause` carrying an error of type `E`. It's used
536
+ * when you want to represent a known or anticipated failure in your effectful
537
+ * computations.
538
+ *
539
+ * @see {@link isFailure} Check if a `Cause` contains a failure
540
+ *
541
+ * @since 2.0.0
542
+ * @category Constructors
543
+ */
544
+ export declare const fail: <E>(error: E) => Cause<E>;
545
+ /**
546
+ * Creates a `Die` cause from an unexpected error.
547
+ *
548
+ * **Details**
549
+ *
550
+ * This function wraps an unhandled or unknown defect (like a runtime crash)
551
+ * into a `Cause`. It's useful for capturing unforeseen issues in a structured
552
+ * way.
553
+ *
554
+ * @see {@link isDie} Check if a `Cause` contains a defect
555
+ *
556
+ * @since 2.0.0
557
+ * @category Constructors
558
+ */
559
+ export declare const die: (defect: unknown) => Cause<never>;
560
+ /**
561
+ * Creates an `Interrupt` cause from a `FiberId`.
562
+ *
563
+ * **Details**
564
+ *
565
+ * This function represents a fiber that has been interrupted. It stores the
566
+ * identifier of the interrupted fiber, enabling precise tracking of concurrent
567
+ * cancellations.
568
+ *
569
+ * @see {@link isInterrupted} Check if a `Cause` contains an interruption
570
+ *
571
+ * @since 2.0.0
572
+ * @category Constructors
573
+ */
574
+ export declare const interrupt: (fiberId: FiberId.FiberId) => Cause<never>;
575
+ /**
576
+ * Combines two `Cause`s in parallel.
577
+ *
578
+ * **Details**
579
+ *
580
+ * This function merges two errors that occurred simultaneously. Instead of
581
+ * discarding one error, both are retained, allowing for richer error reporting
582
+ * and debugging.
583
+ *
584
+ * @see {@link isParallelType} Check if a `Cause` is a `Parallel`
585
+ *
586
+ * @since 2.0.0
587
+ * @category Constructors
588
+ */
589
+ export declare const parallel: <E, E2>(left: Cause<E>, right: Cause<E2>) => Cause<E | E2>;
590
+ /**
591
+ * Combines two `Cause`s sequentially.
592
+ *
593
+ * **Details**
594
+ *
595
+ * This function merges two errors that occurred in sequence, such as a main
596
+ * error followed by a finalization error. It preserves both errors for complete
597
+ * failure information.
598
+ *
599
+ * @see {@link isSequentialType} Check if a `Cause` is a `Sequential`
600
+ *
601
+ * @since 2.0.0
602
+ * @category Constructors
603
+ */
604
+ export declare const sequential: <E, E2>(left: Cause<E>, right: Cause<E2>) => Cause<E | E2>;
605
+ /**
606
+ * Checks if a value is a `Cause`.
607
+ *
608
+ * @since 2.0.0
609
+ * @category Guards
610
+ */
611
+ export declare const isCause: (u: unknown) => u is Cause<unknown>;
612
+ /**
613
+ * Checks if a `Cause` is an `Empty` type.
614
+ *
615
+ * @see {@link empty} Create a new `Empty` cause
616
+ *
617
+ * @since 2.0.0
618
+ * @category Guards
619
+ */
620
+ export declare const isEmptyType: <E>(self: Cause<E>) => self is Empty;
621
+ /**
622
+ * Checks if a `Cause` is a `Fail` type.
623
+ *
624
+ * @see {@link fail} Create a new `Fail` cause
625
+ *
626
+ * @since 2.0.0
627
+ * @category Guards
628
+ */
629
+ export declare const isFailType: <E>(self: Cause<E>) => self is Fail<E>;
630
+ /**
631
+ * Checks if a `Cause` is a `Die` type.
632
+ *
633
+ * @see {@link die} Create a new `Die` cause
634
+ *
635
+ * @since 2.0.0
636
+ * @category Guards
637
+ */
638
+ export declare const isDieType: <E>(self: Cause<E>) => self is Die;
639
+ /**
640
+ * Checks if a `Cause` is an `Interrupt` type.
641
+ *
642
+ * @see {@link interrupt} Create an `Interrupt` cause
643
+ *
644
+ * @since 2.0.0
645
+ * @category Guards
646
+ */
647
+ export declare const isInterruptType: <E>(self: Cause<E>) => self is Interrupt;
648
+ /**
649
+ * Checks if a `Cause` is a `Sequential` type.
650
+ *
651
+ * @see {@link sequential} Combine two `Cause`s sequentially
652
+ *
653
+ * @since 2.0.0
654
+ * @category Guards
655
+ */
656
+ export declare const isSequentialType: <E>(self: Cause<E>) => self is Sequential<E>;
657
+ /**
658
+ * Checks if a `Cause` is a `Parallel` type.
659
+ *
660
+ * @see {@link parallel} Combine two `Cause`s in parallel
661
+ *
662
+ * @since 2.0.0
663
+ * @category Guards
664
+ */
665
+ export declare const isParallelType: <E>(self: Cause<E>) => self is Parallel<E>;
666
+ /**
667
+ * Calculates the size of a `Cause`.
668
+ *
669
+ * **Details**
670
+ *
671
+ * This function returns the total number of `Cause` nodes in the semiring
672
+ * structure, reflecting how many individual error elements are recorded.
673
+ *
674
+ * @since 2.0.0
675
+ * @category Getters
676
+ */
677
+ export declare const size: <E>(self: Cause<E>) => number;
678
+ /**
679
+ * Checks if a `Cause` is entirely empty.
680
+ *
681
+ * **Details**
682
+ *
683
+ * This function returns `true` if the `Cause` contains no errors, defects, or
684
+ * interruptions. It's helpful for verifying if a computation truly had no
685
+ * failures.
686
+ *
687
+ * @since 2.0.0
688
+ * @category Getters
689
+ */
690
+ export declare const isEmpty: <E>(self: Cause<E>) => boolean;
691
+ /**
692
+ * Checks if a `Cause` contains a failure.
693
+ *
694
+ * **Details**
695
+ *
696
+ * This function returns `true` if the `Cause` includes any `Fail` error. It's
697
+ * commonly used to confirm whether a workflow encountered an anticipated error
698
+ * versus just defects or interruptions.
699
+ *
700
+ * @since 2.0.0
701
+ * @category Getters
702
+ */
703
+ export declare const isFailure: <E>(self: Cause<E>) => boolean;
704
+ /**
705
+ * Checks if a `Cause` contains a defect.
706
+ *
707
+ * **Details**
708
+ *
709
+ * This function returns `true` if the `Cause` includes any unexpected or
710
+ * unhandled errors (`Die`). It's useful for differentiating known failures from
711
+ * unexpected ones.
712
+ *
713
+ * @since 2.0.0
714
+ * @category Getters
715
+ */
716
+ export declare const isDie: <E>(self: Cause<E>) => boolean;
717
+ /**
718
+ * Checks if a `Cause` contains an interruption.
719
+ *
720
+ * **Details**
721
+ *
722
+ * This function returns `true` if the `Cause` includes any fiber interruptions.
723
+ *
724
+ * @since 2.0.0
725
+ * @category Getters
726
+ */
727
+ export declare const isInterrupted: <E>(self: Cause<E>) => boolean;
728
+ /**
729
+ * Checks if a `Cause` contains only interruptions.
730
+ *
731
+ * **Details**
732
+ *
733
+ * This function returns `true` if the `Cause` has been interrupted but does not
734
+ * contain any other failures, such as `Fail` or `Die`. It's helpful for
735
+ * verifying purely "cancellation" scenarios.
736
+ *
737
+ * @since 2.0.0
738
+ * @category Getters
739
+ */
740
+ export declare const isInterruptedOnly: <E>(self: Cause<E>) => boolean;
741
+ /**
742
+ * Extracts all recoverable errors of type `E` from a `Cause`.
743
+ *
744
+ * **Details**
745
+ *
746
+ * This function returns a chunk of errors, providing a list of all `Fail`
747
+ * values found in the cause. It's useful for collecting all known failures for
748
+ * logging or combined error handling.
749
+ *
750
+ * @since 2.0.0
751
+ * @category Getters
752
+ */
753
+ export declare const failures: <E>(self: Cause<E>) => Chunk.Chunk<E>;
754
+ /**
755
+ * Extracts all unrecoverable defects from a `Cause`.
756
+ *
757
+ * **Details**
758
+ *
759
+ * This function returns a chunk of values representing unexpected errors
760
+ * (`Die`). It's handy for capturing or logging unanticipated failures that
761
+ * might need special handling, such as bug reports.
762
+ *
763
+ * @since 2.0.0
764
+ * @category Getters
765
+ */
766
+ export declare const defects: <E>(self: Cause<E>) => Chunk.Chunk<unknown>;
767
+ /**
768
+ * Collects all `FiberId`s responsible for interrupting a fiber.
769
+ *
770
+ * **Details**
771
+ *
772
+ * This function returns a set of IDs indicating which fibers caused
773
+ * interruptions within this `Cause`. It's useful for debugging concurrency
774
+ * issues or tracing cancellations.
775
+ *
776
+ * @since 2.0.0
777
+ * @category Getters
778
+ */
779
+ export declare const interruptors: <E>(self: Cause<E>) => HashSet.HashSet<FiberId.FiberId>;
780
+ /**
781
+ * Retrieves the first `Fail` error in a `Cause`, if present.
782
+ *
783
+ * **Details**
784
+ *
785
+ * This function returns an `Option` containing the first recoverable error
786
+ * (`E`) from the cause. It's often used to quickly check if there's a primary
787
+ * error to handle or display.
788
+ *
789
+ * @since 2.0.0
790
+ * @category Getters
791
+ */
792
+ export declare const failureOption: <E>(self: Cause<E>) => Option.Option<E>;
793
+ /**
794
+ * Splits a `Cause` into either its first `Fail` error or the rest of the cause
795
+ * (which might only contain `Die` or `Interrupt`).
796
+ *
797
+ * **Details**
798
+ *
799
+ * This function either returns the checked error (`E`) or the remaining
800
+ * `Cause<never>` with defects/interruptions. It helps you decide if there's a
801
+ * recoverable path or if only unhandled issues remain.
802
+ *
803
+ * @since 2.0.0
804
+ * @category Getters
805
+ */
806
+ export declare const failureOrCause: <E>(self: Cause<E>) => Either.Either<Cause<never>, E>;
807
+ /**
808
+ * Strips out failures with an error of `None` from a `Cause<Option<E>>`.
809
+ *
810
+ * **Details**
811
+ *
812
+ * This function turns a `Cause<Option<E>>` into an `Option<Cause<E>>`. If the
813
+ * cause only contains failures of `None`, it becomes `None`; otherwise, it
814
+ * returns a `Cause` of the remaining errors. It's helpful when working with
815
+ * optional errors and filtering out certain error paths.
816
+ *
817
+ * @since 2.0.0
818
+ * @category Getters
819
+ */
820
+ export declare const flipCauseOption: <E>(self: Cause<Option.Option<E>>) => Option.Option<Cause<E>>;
821
+ /**
822
+ * Retrieves the first `Die` defect in a `Cause`, if present.
823
+ *
824
+ * **Details**
825
+ *
826
+ * This function returns an `Option` containing the first unexpected failure
827
+ * (`Die`) discovered. It's helpful for diagnosing the primary defect in a chain
828
+ * of errors.
829
+ *
830
+ * @since 2.0.0
831
+ * @category Getters
832
+ */
833
+ export declare const dieOption: <E>(self: Cause<E>) => Option.Option<unknown>;
834
+ /**
835
+ * Retrieves the first `Interrupt` in a `Cause`, if present.
836
+ *
837
+ * **Details**
838
+ *
839
+ * This function returns an `Option` with the first fiber interruption
840
+ * discovered. This is particularly useful for concurrency analysis or debugging
841
+ * cancellations.
842
+ *
843
+ * @since 2.0.0
844
+ * @category Getters
845
+ */
846
+ export declare const interruptOption: <E>(self: Cause<E>) => Option.Option<FiberId.FiberId>;
847
+ /**
848
+ * Removes all `Fail` and `Interrupt` nodes, keeping only defects (`Die`) in a
849
+ * `Cause`.
850
+ *
851
+ * **Details**
852
+ *
853
+ * This function strips a cause of recoverable errors and interruptions, leaving
854
+ * only unexpected failures. If no defects remain, it returns `None`. It's
855
+ * valuable for focusing only on unanticipated problems when both known errors
856
+ * and defects could occur.
857
+ *
858
+ * @since 2.0.0
859
+ * @category Getters
860
+ */
861
+ export declare const keepDefects: <E>(self: Cause<E>) => Option.Option<Cause<never>>;
862
+ /**
863
+ * Linearizes a `Cause` into a set of parallel causes, each containing a
864
+ * sequential chain of failures.
865
+ *
866
+ * **Details**
867
+ *
868
+ * This function reorganizes the cause structure so that you can analyze each
869
+ * parallel branch separately, even if they have multiple sequential errors.
870
+ *
871
+ * @since 2.0.0
872
+ * @category Getters
873
+ */
874
+ export declare const linearize: <E>(self: Cause<E>) => HashSet.HashSet<Cause<E>>;
875
+ /**
876
+ * Removes `Fail` and `Interrupt` nodes from a `Cause`, keeping only defects
877
+ * (`Die`).
878
+ *
879
+ * **Details**
880
+ *
881
+ * This function is similar to `keepDefects` but returns a `Cause<never>`
882
+ * directly, which can still store `Die` or finalizer-related defects. It's
883
+ * helpful for analyzing only the irrecoverable portion of the error.
884
+ *
885
+ * @since 2.0.0
886
+ * @category Getters
887
+ */
888
+ export declare const stripFailures: <E>(self: Cause<E>) => Cause<never>;
889
+ /**
890
+ * Removes matching defects from a `Cause` using a partial function, returning
891
+ * the remainder.
892
+ *
893
+ * **Details**
894
+ *
895
+ * This function applies a user-defined extraction function to each defect
896
+ * (`Die`). If the function matches the defect, that defect is removed. If all
897
+ * defects match, the result is `None`. Otherwise, you get a `Cause` with the
898
+ * unmatched defects.
899
+ *
900
+ * @since 2.0.0
901
+ * @category Getters
902
+ */
903
+ export declare const stripSomeDefects: {
904
+ /**
905
+ * Removes matching defects from a `Cause` using a partial function, returning
906
+ * the remainder.
907
+ *
908
+ * **Details**
909
+ *
910
+ * This function applies a user-defined extraction function to each defect
911
+ * (`Die`). If the function matches the defect, that defect is removed. If all
912
+ * defects match, the result is `None`. Otherwise, you get a `Cause` with the
913
+ * unmatched defects.
914
+ *
915
+ * @since 2.0.0
916
+ * @category Getters
917
+ */
918
+ (pf: (defect: unknown) => Option.Option<unknown>): <E>(self: Cause<E>) => Option.Option<Cause<E>>;
919
+ /**
920
+ * Removes matching defects from a `Cause` using a partial function, returning
921
+ * the remainder.
922
+ *
923
+ * **Details**
924
+ *
925
+ * This function applies a user-defined extraction function to each defect
926
+ * (`Die`). If the function matches the defect, that defect is removed. If all
927
+ * defects match, the result is `None`. Otherwise, you get a `Cause` with the
928
+ * unmatched defects.
929
+ *
930
+ * @since 2.0.0
931
+ * @category Getters
932
+ */
933
+ <E>(self: Cause<E>, pf: (defect: unknown) => Option.Option<unknown>): Option.Option<Cause<E>>;
934
+ };
935
+ /**
936
+ * Replaces any errors in a `Cause` with a provided constant error.
937
+ *
938
+ * **Details**
939
+ *
940
+ * This function transforms all `Fail` errors into the specified error value,
941
+ * preserving the structure of the `Cause`. It's useful when you no longer need
942
+ * the original error details but still want to keep the cause shape.
943
+ *
944
+ * @see {@link map} Apply a custom transformation to `Fail` errors
945
+ *
946
+ * @since 2.0.0
947
+ * @category Mapping
948
+ */
949
+ export declare const as: {
950
+ /**
951
+ * Replaces any errors in a `Cause` with a provided constant error.
952
+ *
953
+ * **Details**
954
+ *
955
+ * This function transforms all `Fail` errors into the specified error value,
956
+ * preserving the structure of the `Cause`. It's useful when you no longer need
957
+ * the original error details but still want to keep the cause shape.
958
+ *
959
+ * @see {@link map} Apply a custom transformation to `Fail` errors
960
+ *
961
+ * @since 2.0.0
962
+ * @category Mapping
963
+ */
964
+ <E2>(error: E2): <E>(self: Cause<E>) => Cause<E2>;
965
+ /**
966
+ * Replaces any errors in a `Cause` with a provided constant error.
967
+ *
968
+ * **Details**
969
+ *
970
+ * This function transforms all `Fail` errors into the specified error value,
971
+ * preserving the structure of the `Cause`. It's useful when you no longer need
972
+ * the original error details but still want to keep the cause shape.
973
+ *
974
+ * @see {@link map} Apply a custom transformation to `Fail` errors
975
+ *
976
+ * @since 2.0.0
977
+ * @category Mapping
978
+ */
979
+ <E, E2>(self: Cause<E>, error: E2): Cause<E2>;
980
+ };
981
+ /**
982
+ * Transforms the errors in a `Cause` using a user-provided function.
983
+ *
984
+ * **Details**
985
+ *
986
+ * This function applies `f` to each `Fail` error while leaving defects (`Die`)
987
+ * and interruptions untouched. It's useful for changing or simplifying error
988
+ * types in your effectful workflows.
989
+ *
990
+ * @see {@link as} Replace errors with a single constant
991
+ *
992
+ * @since 2.0.0
993
+ * @category Mapping
994
+ */
995
+ export declare const map: {
996
+ /**
997
+ * Transforms the errors in a `Cause` using a user-provided function.
998
+ *
999
+ * **Details**
1000
+ *
1001
+ * This function applies `f` to each `Fail` error while leaving defects (`Die`)
1002
+ * and interruptions untouched. It's useful for changing or simplifying error
1003
+ * types in your effectful workflows.
1004
+ *
1005
+ * @see {@link as} Replace errors with a single constant
1006
+ *
1007
+ * @since 2.0.0
1008
+ * @category Mapping
1009
+ */
1010
+ <E, E2>(f: (e: E) => E2): (self: Cause<E>) => Cause<E2>;
1011
+ /**
1012
+ * Transforms the errors in a `Cause` using a user-provided function.
1013
+ *
1014
+ * **Details**
1015
+ *
1016
+ * This function applies `f` to each `Fail` error while leaving defects (`Die`)
1017
+ * and interruptions untouched. It's useful for changing or simplifying error
1018
+ * types in your effectful workflows.
1019
+ *
1020
+ * @see {@link as} Replace errors with a single constant
1021
+ *
1022
+ * @since 2.0.0
1023
+ * @category Mapping
1024
+ */
1025
+ <E, E2>(self: Cause<E>, f: (e: E) => E2): Cause<E2>;
1026
+ };
1027
+ /**
1028
+ * Transforms errors in a `Cause` into new causes.
1029
+ *
1030
+ * **Details**
1031
+ *
1032
+ * This function applies a function `f` to each `Fail` error, converting it into
1033
+ * a new `Cause`. This is especially powerful for merging or restructuring error
1034
+ * types while preserving or combining cause information.
1035
+ *
1036
+ * @see {@link map} Apply a simpler transformation to errors
1037
+ *
1038
+ * @since 2.0.0
1039
+ * @category Sequencing
1040
+ */
1041
+ export declare const flatMap: {
1042
+ /**
1043
+ * Transforms errors in a `Cause` into new causes.
1044
+ *
1045
+ * **Details**
1046
+ *
1047
+ * This function applies a function `f` to each `Fail` error, converting it into
1048
+ * a new `Cause`. This is especially powerful for merging or restructuring error
1049
+ * types while preserving or combining cause information.
1050
+ *
1051
+ * @see {@link map} Apply a simpler transformation to errors
1052
+ *
1053
+ * @since 2.0.0
1054
+ * @category Sequencing
1055
+ */
1056
+ <E, E2>(f: (e: E) => Cause<E2>): (self: Cause<E>) => Cause<E2>;
1057
+ /**
1058
+ * Transforms errors in a `Cause` into new causes.
1059
+ *
1060
+ * **Details**
1061
+ *
1062
+ * This function applies a function `f` to each `Fail` error, converting it into
1063
+ * a new `Cause`. This is especially powerful for merging or restructuring error
1064
+ * types while preserving or combining cause information.
1065
+ *
1066
+ * @see {@link map} Apply a simpler transformation to errors
1067
+ *
1068
+ * @since 2.0.0
1069
+ * @category Sequencing
1070
+ */
1071
+ <E, E2>(self: Cause<E>, f: (e: E) => Cause<E2>): Cause<E2>;
1072
+ };
1073
+ /**
1074
+ * Sequences two `Cause`s. The second `Cause` can be dependent on the result of
1075
+ * the first `Cause`.
1076
+ *
1077
+ * @since 2.0.0
1078
+ * @category Sequencing
1079
+ */
1080
+ export declare const andThen: {
1081
+ /**
1082
+ * Sequences two `Cause`s. The second `Cause` can be dependent on the result of
1083
+ * the first `Cause`.
1084
+ *
1085
+ * @since 2.0.0
1086
+ * @category Sequencing
1087
+ */
1088
+ <E, E2>(f: (e: E) => Cause<E2>): (self: Cause<E>) => Cause<E2>;
1089
+ /**
1090
+ * Sequences two `Cause`s. The second `Cause` can be dependent on the result of
1091
+ * the first `Cause`.
1092
+ *
1093
+ * @since 2.0.0
1094
+ * @category Sequencing
1095
+ */
1096
+ <E2>(f: Cause<E2>): <E>(self: Cause<E>) => Cause<E2>;
1097
+ /**
1098
+ * Sequences two `Cause`s. The second `Cause` can be dependent on the result of
1099
+ * the first `Cause`.
1100
+ *
1101
+ * @since 2.0.0
1102
+ * @category Sequencing
1103
+ */
1104
+ <E, E2>(self: Cause<E>, f: (e: E) => Cause<E2>): Cause<E2>;
1105
+ /**
1106
+ * Sequences two `Cause`s. The second `Cause` can be dependent on the result of
1107
+ * the first `Cause`.
1108
+ *
1109
+ * @since 2.0.0
1110
+ * @category Sequencing
1111
+ */
1112
+ <E, E2>(self: Cause<E>, f: Cause<E2>): Cause<E2>;
1113
+ };
1114
+ /**
1115
+ * Flattens a nested `Cause` structure.
1116
+ *
1117
+ * **Details**
1118
+ *
1119
+ * This function takes a `Cause<Cause<E>>` and merges the layers into a single
1120
+ * `Cause<E>`. It's useful for eliminating additional nesting created by
1121
+ * repeated transformations or compositions.
1122
+ *
1123
+ * @see {@link flatMap} Compose nested causes
1124
+ *
1125
+ * @since 2.0.0
1126
+ * @category Sequencing
1127
+ */
1128
+ export declare const flatten: <E>(self: Cause<Cause<E>>) => Cause<E>;
1129
+ /**
1130
+ * Checks if the current `Cause` contains or is equal to another `Cause`.
1131
+ *
1132
+ * **Details**
1133
+ *
1134
+ * This function returns `true` if `that` cause is part of or the same as
1135
+ * the current `Cause`. It's useful when you need to check for specific
1136
+ * error patterns or deduplicate repeated failures.
1137
+ *
1138
+ * @since 2.0.0
1139
+ * @category Elements
1140
+ */
1141
+ export declare const contains: {
1142
+ /**
1143
+ * Checks if the current `Cause` contains or is equal to another `Cause`.
1144
+ *
1145
+ * **Details**
1146
+ *
1147
+ * This function returns `true` if `that` cause is part of or the same as
1148
+ * the current `Cause`. It's useful when you need to check for specific
1149
+ * error patterns or deduplicate repeated failures.
1150
+ *
1151
+ * @since 2.0.0
1152
+ * @category Elements
1153
+ */
1154
+ <E2>(that: Cause<E2>): <E>(self: Cause<E>) => boolean;
1155
+ /**
1156
+ * Checks if the current `Cause` contains or is equal to another `Cause`.
1157
+ *
1158
+ * **Details**
1159
+ *
1160
+ * This function returns `true` if `that` cause is part of or the same as
1161
+ * the current `Cause`. It's useful when you need to check for specific
1162
+ * error patterns or deduplicate repeated failures.
1163
+ *
1164
+ * @since 2.0.0
1165
+ * @category Elements
1166
+ */
1167
+ <E, E2>(self: Cause<E>, that: Cause<E2>): boolean;
1168
+ };
1169
+ /**
1170
+ * Extracts the most "important" defect from a `Cause`.
1171
+ *
1172
+ * **Details**
1173
+ *
1174
+ * This function reduces a `Cause` to a single, prioritized defect. It evaluates
1175
+ * the `Cause` in the following order of priority:
1176
+ *
1177
+ * 1. If the `Cause` contains a failure (e.g., from `Effect.fail`), it returns
1178
+ * the raw error value.
1179
+ * 2. If there is no failure, it looks for the first defect (e.g., from
1180
+ * `Effect.die`).
1181
+ * 3. If neither of the above is present, and the `Cause` stems from an
1182
+ * interruption, it creates and returns an `InterruptedException`.
1183
+ *
1184
+ * This function ensures you can always extract a meaningful representation of
1185
+ * the primary issue from a potentially complex `Cause` structure.
1186
+ *
1187
+ * **When to Use**
1188
+ *
1189
+ * Use this function when you need to extract the most relevant error or defect
1190
+ * from a `Cause`, especially in scenarios where multiple errors or defects may
1191
+ * be present. It's particularly useful for simplifying error reporting or
1192
+ * logging.
1193
+ *
1194
+ * @see {@link squashWith} Allows transforming failures into defects when squashing.
1195
+ *
1196
+ * @since 2.0.0
1197
+ * @category Destructors
1198
+ */
1199
+ export declare const squash: <E>(self: Cause<E>) => unknown;
1200
+ /**
1201
+ * Extracts the most "important" defect from a `Cause`, transforming failures
1202
+ * into defects using a provided function.
1203
+ *
1204
+ * **Details**
1205
+ *
1206
+ * This function reduces a `Cause` to a single, prioritized defect, while
1207
+ * allowing you to transform recoverable failures into defects through a custom
1208
+ * function. It processes the `Cause` in the following order:
1209
+ *
1210
+ * 1. If the `Cause` contains a failure (e.g., from `Effect.fail`), it applies
1211
+ * the provided function `f` to the error to transform it into a defect.
1212
+ * 2. If there is no failure, it looks for the first defect (e.g., from
1213
+ * `Effect.die`) and returns it.
1214
+ * 3. If neither is present and the `Cause` stems from an interruption, it
1215
+ * returns an `InterruptedException`.
1216
+ *
1217
+ * This function is particularly useful when you need custom handling or
1218
+ * transformation of errors while processing a `Cause`.
1219
+ *
1220
+ * @see {@link squash} Extracts the most "important" defect without transforming failures.
1221
+ *
1222
+ * @since 2.0.0
1223
+ * @category Destructors
1224
+ */
1225
+ export declare const squashWith: {
1226
+ /**
1227
+ * Extracts the most "important" defect from a `Cause`, transforming failures
1228
+ * into defects using a provided function.
1229
+ *
1230
+ * **Details**
1231
+ *
1232
+ * This function reduces a `Cause` to a single, prioritized defect, while
1233
+ * allowing you to transform recoverable failures into defects through a custom
1234
+ * function. It processes the `Cause` in the following order:
1235
+ *
1236
+ * 1. If the `Cause` contains a failure (e.g., from `Effect.fail`), it applies
1237
+ * the provided function `f` to the error to transform it into a defect.
1238
+ * 2. If there is no failure, it looks for the first defect (e.g., from
1239
+ * `Effect.die`) and returns it.
1240
+ * 3. If neither is present and the `Cause` stems from an interruption, it
1241
+ * returns an `InterruptedException`.
1242
+ *
1243
+ * This function is particularly useful when you need custom handling or
1244
+ * transformation of errors while processing a `Cause`.
1245
+ *
1246
+ * @see {@link squash} Extracts the most "important" defect without transforming failures.
1247
+ *
1248
+ * @since 2.0.0
1249
+ * @category Destructors
1250
+ */
1251
+ <E>(f: (error: E) => unknown): (self: Cause<E>) => unknown;
1252
+ /**
1253
+ * Extracts the most "important" defect from a `Cause`, transforming failures
1254
+ * into defects using a provided function.
1255
+ *
1256
+ * **Details**
1257
+ *
1258
+ * This function reduces a `Cause` to a single, prioritized defect, while
1259
+ * allowing you to transform recoverable failures into defects through a custom
1260
+ * function. It processes the `Cause` in the following order:
1261
+ *
1262
+ * 1. If the `Cause` contains a failure (e.g., from `Effect.fail`), it applies
1263
+ * the provided function `f` to the error to transform it into a defect.
1264
+ * 2. If there is no failure, it looks for the first defect (e.g., from
1265
+ * `Effect.die`) and returns it.
1266
+ * 3. If neither is present and the `Cause` stems from an interruption, it
1267
+ * returns an `InterruptedException`.
1268
+ *
1269
+ * This function is particularly useful when you need custom handling or
1270
+ * transformation of errors while processing a `Cause`.
1271
+ *
1272
+ * @see {@link squash} Extracts the most "important" defect without transforming failures.
1273
+ *
1274
+ * @since 2.0.0
1275
+ * @category Destructors
1276
+ */
1277
+ <E>(self: Cause<E>, f: (error: E) => unknown): unknown;
1278
+ };
1279
+ /**
1280
+ * Searches a `Cause` using a partial function to extract information.
1281
+ *
1282
+ * **Details**
1283
+ *
1284
+ * This function allows you to search through a `Cause` using a custom partial
1285
+ * function. The partial function is applied to the `Cause`, and if it matches,
1286
+ * the result is returned wrapped in a `Some`. If no match is found, the result
1287
+ * is `None`.
1288
+ *
1289
+ * This is particularly useful when you are only interested in specific types of
1290
+ * errors, defects, or interruption causes within a potentially complex `Cause`
1291
+ * structure. By leveraging a partial function, you can focus on extracting only
1292
+ * the relevant information you care about.
1293
+ *
1294
+ * The partial function should return an `Option` indicating whether it matched
1295
+ * and the value it extracted.
1296
+ *
1297
+ * @since 2.0.0
1298
+ * @category Elements
1299
+ */
1300
+ export declare const find: {
1301
+ /**
1302
+ * Searches a `Cause` using a partial function to extract information.
1303
+ *
1304
+ * **Details**
1305
+ *
1306
+ * This function allows you to search through a `Cause` using a custom partial
1307
+ * function. The partial function is applied to the `Cause`, and if it matches,
1308
+ * the result is returned wrapped in a `Some`. If no match is found, the result
1309
+ * is `None`.
1310
+ *
1311
+ * This is particularly useful when you are only interested in specific types of
1312
+ * errors, defects, or interruption causes within a potentially complex `Cause`
1313
+ * structure. By leveraging a partial function, you can focus on extracting only
1314
+ * the relevant information you care about.
1315
+ *
1316
+ * The partial function should return an `Option` indicating whether it matched
1317
+ * and the value it extracted.
1318
+ *
1319
+ * @since 2.0.0
1320
+ * @category Elements
1321
+ */
1322
+ <E, Z>(pf: (cause: Cause<E>) => Option.Option<Z>): (self: Cause<E>) => Option.Option<Z>;
1323
+ /**
1324
+ * Searches a `Cause` using a partial function to extract information.
1325
+ *
1326
+ * **Details**
1327
+ *
1328
+ * This function allows you to search through a `Cause` using a custom partial
1329
+ * function. The partial function is applied to the `Cause`, and if it matches,
1330
+ * the result is returned wrapped in a `Some`. If no match is found, the result
1331
+ * is `None`.
1332
+ *
1333
+ * This is particularly useful when you are only interested in specific types of
1334
+ * errors, defects, or interruption causes within a potentially complex `Cause`
1335
+ * structure. By leveraging a partial function, you can focus on extracting only
1336
+ * the relevant information you care about.
1337
+ *
1338
+ * The partial function should return an `Option` indicating whether it matched
1339
+ * and the value it extracted.
1340
+ *
1341
+ * @since 2.0.0
1342
+ * @category Elements
1343
+ */
1344
+ <E, Z>(self: Cause<E>, pf: (cause: Cause<E>) => Option.Option<Z>): Option.Option<Z>;
1345
+ };
1346
+ /**
1347
+ * Preserves parts of a `Cause` that match a given predicate.
1348
+ *
1349
+ * **Details**
1350
+ *
1351
+ * This function allows you to retain only the parts of a `Cause` structure that
1352
+ * match a specified predicate or refinement. Any parts of the `Cause` that do
1353
+ * not match the provided condition are excluded from the result.
1354
+ *
1355
+ * You can use this function in two ways:
1356
+ * - With a `Predicate`: A function that evaluates whether a `Cause` should be
1357
+ * retained based on its value.
1358
+ * - With a `Refinement`: A more specific predicate that can refine the type of
1359
+ * the `Cause`.
1360
+ *
1361
+ * This is useful when you need to extract specific types of errors, defects, or
1362
+ * interruptions from a `Cause` while discarding unrelated parts.
1363
+ *
1364
+ * @since 2.0.0
1365
+ * @category Filtering
1366
+ */
1367
+ export declare const filter: {
1368
+ /**
1369
+ * Preserves parts of a `Cause` that match a given predicate.
1370
+ *
1371
+ * **Details**
1372
+ *
1373
+ * This function allows you to retain only the parts of a `Cause` structure that
1374
+ * match a specified predicate or refinement. Any parts of the `Cause` that do
1375
+ * not match the provided condition are excluded from the result.
1376
+ *
1377
+ * You can use this function in two ways:
1378
+ * - With a `Predicate`: A function that evaluates whether a `Cause` should be
1379
+ * retained based on its value.
1380
+ * - With a `Refinement`: A more specific predicate that can refine the type of
1381
+ * the `Cause`.
1382
+ *
1383
+ * This is useful when you need to extract specific types of errors, defects, or
1384
+ * interruptions from a `Cause` while discarding unrelated parts.
1385
+ *
1386
+ * @since 2.0.0
1387
+ * @category Filtering
1388
+ */
1389
+ <E, EB extends E>(refinement: Refinement<Cause<NoInfer<E>>, Cause<EB>>): (self: Cause<E>) => Cause<EB>;
1390
+ /**
1391
+ * Preserves parts of a `Cause` that match a given predicate.
1392
+ *
1393
+ * **Details**
1394
+ *
1395
+ * This function allows you to retain only the parts of a `Cause` structure that
1396
+ * match a specified predicate or refinement. Any parts of the `Cause` that do
1397
+ * not match the provided condition are excluded from the result.
1398
+ *
1399
+ * You can use this function in two ways:
1400
+ * - With a `Predicate`: A function that evaluates whether a `Cause` should be
1401
+ * retained based on its value.
1402
+ * - With a `Refinement`: A more specific predicate that can refine the type of
1403
+ * the `Cause`.
1404
+ *
1405
+ * This is useful when you need to extract specific types of errors, defects, or
1406
+ * interruptions from a `Cause` while discarding unrelated parts.
1407
+ *
1408
+ * @since 2.0.0
1409
+ * @category Filtering
1410
+ */
1411
+ <E>(predicate: Predicate<Cause<NoInfer<E>>>): (self: Cause<E>) => Cause<E>;
1412
+ /**
1413
+ * Preserves parts of a `Cause` that match a given predicate.
1414
+ *
1415
+ * **Details**
1416
+ *
1417
+ * This function allows you to retain only the parts of a `Cause` structure that
1418
+ * match a specified predicate or refinement. Any parts of the `Cause` that do
1419
+ * not match the provided condition are excluded from the result.
1420
+ *
1421
+ * You can use this function in two ways:
1422
+ * - With a `Predicate`: A function that evaluates whether a `Cause` should be
1423
+ * retained based on its value.
1424
+ * - With a `Refinement`: A more specific predicate that can refine the type of
1425
+ * the `Cause`.
1426
+ *
1427
+ * This is useful when you need to extract specific types of errors, defects, or
1428
+ * interruptions from a `Cause` while discarding unrelated parts.
1429
+ *
1430
+ * @since 2.0.0
1431
+ * @category Filtering
1432
+ */
1433
+ <E, EB extends E>(self: Cause<E>, refinement: Refinement<Cause<E>, Cause<EB>>): Cause<EB>;
1434
+ /**
1435
+ * Preserves parts of a `Cause` that match a given predicate.
1436
+ *
1437
+ * **Details**
1438
+ *
1439
+ * This function allows you to retain only the parts of a `Cause` structure that
1440
+ * match a specified predicate or refinement. Any parts of the `Cause` that do
1441
+ * not match the provided condition are excluded from the result.
1442
+ *
1443
+ * You can use this function in two ways:
1444
+ * - With a `Predicate`: A function that evaluates whether a `Cause` should be
1445
+ * retained based on its value.
1446
+ * - With a `Refinement`: A more specific predicate that can refine the type of
1447
+ * the `Cause`.
1448
+ *
1449
+ * This is useful when you need to extract specific types of errors, defects, or
1450
+ * interruptions from a `Cause` while discarding unrelated parts.
1451
+ *
1452
+ * @since 2.0.0
1453
+ * @category Filtering
1454
+ */
1455
+ <E>(self: Cause<E>, predicate: Predicate<Cause<E>>): Cause<E>;
1456
+ };
1457
+ /**
1458
+ * Transforms a `Cause` into a single value using custom handlers for each
1459
+ * possible case.
1460
+ *
1461
+ * **Details**
1462
+ *
1463
+ * This function processes a `Cause` by applying a set of custom handlers to
1464
+ * each possible type of cause: `Empty`, `Fail`, `Die`, `Interrupt`,
1465
+ * `Sequential`, and `Parallel`. The result of this function is a single value
1466
+ * of type `Z`. This function allows you to define exactly how to handle each
1467
+ * part of a `Cause`, whether it's a failure, defect, interruption, or a
1468
+ * combination of these.
1469
+ *
1470
+ * The options parameter provides handlers for:
1471
+ * - `onEmpty`: Handles the case where the cause is `Empty`, meaning no errors
1472
+ * occurred.
1473
+ * - `onFail`: Processes a failure with an error of type `E`.
1474
+ * - `onDie`: Processes a defect (unexpected error).
1475
+ * - `onInterrupt`: Handles a fiber interruption, providing the `FiberId` of the
1476
+ * interruption.
1477
+ * - `onSequential`: Combines two sequential causes into a single value of type
1478
+ * `Z`.
1479
+ * - `onParallel`: Combines two parallel causes into a single value of type `Z`.
1480
+ *
1481
+ * @since 2.0.0
1482
+ * @category Matching
1483
+ */
1484
+ export declare const match: {
1485
+ /**
1486
+ * Transforms a `Cause` into a single value using custom handlers for each
1487
+ * possible case.
1488
+ *
1489
+ * **Details**
1490
+ *
1491
+ * This function processes a `Cause` by applying a set of custom handlers to
1492
+ * each possible type of cause: `Empty`, `Fail`, `Die`, `Interrupt`,
1493
+ * `Sequential`, and `Parallel`. The result of this function is a single value
1494
+ * of type `Z`. This function allows you to define exactly how to handle each
1495
+ * part of a `Cause`, whether it's a failure, defect, interruption, or a
1496
+ * combination of these.
1497
+ *
1498
+ * The options parameter provides handlers for:
1499
+ * - `onEmpty`: Handles the case where the cause is `Empty`, meaning no errors
1500
+ * occurred.
1501
+ * - `onFail`: Processes a failure with an error of type `E`.
1502
+ * - `onDie`: Processes a defect (unexpected error).
1503
+ * - `onInterrupt`: Handles a fiber interruption, providing the `FiberId` of the
1504
+ * interruption.
1505
+ * - `onSequential`: Combines two sequential causes into a single value of type
1506
+ * `Z`.
1507
+ * - `onParallel`: Combines two parallel causes into a single value of type `Z`.
1508
+ *
1509
+ * @since 2.0.0
1510
+ * @category Matching
1511
+ */
1512
+ <Z, E>(options: {
1513
+ readonly onEmpty: Z;
1514
+ readonly onFail: (error: E) => Z;
1515
+ readonly onDie: (defect: unknown) => Z;
1516
+ readonly onInterrupt: (fiberId: FiberId.FiberId) => Z;
1517
+ readonly onSequential: (left: Z, right: Z) => Z;
1518
+ readonly onParallel: (left: Z, right: Z) => Z;
1519
+ }): (self: Cause<E>) => Z;
1520
+ /**
1521
+ * Transforms a `Cause` into a single value using custom handlers for each
1522
+ * possible case.
1523
+ *
1524
+ * **Details**
1525
+ *
1526
+ * This function processes a `Cause` by applying a set of custom handlers to
1527
+ * each possible type of cause: `Empty`, `Fail`, `Die`, `Interrupt`,
1528
+ * `Sequential`, and `Parallel`. The result of this function is a single value
1529
+ * of type `Z`. This function allows you to define exactly how to handle each
1530
+ * part of a `Cause`, whether it's a failure, defect, interruption, or a
1531
+ * combination of these.
1532
+ *
1533
+ * The options parameter provides handlers for:
1534
+ * - `onEmpty`: Handles the case where the cause is `Empty`, meaning no errors
1535
+ * occurred.
1536
+ * - `onFail`: Processes a failure with an error of type `E`.
1537
+ * - `onDie`: Processes a defect (unexpected error).
1538
+ * - `onInterrupt`: Handles a fiber interruption, providing the `FiberId` of the
1539
+ * interruption.
1540
+ * - `onSequential`: Combines two sequential causes into a single value of type
1541
+ * `Z`.
1542
+ * - `onParallel`: Combines two parallel causes into a single value of type `Z`.
1543
+ *
1544
+ * @since 2.0.0
1545
+ * @category Matching
1546
+ */
1547
+ <Z, E>(self: Cause<E>, options: {
1548
+ readonly onEmpty: Z;
1549
+ readonly onFail: (error: E) => Z;
1550
+ readonly onDie: (defect: unknown) => Z;
1551
+ readonly onInterrupt: (fiberId: FiberId.FiberId) => Z;
1552
+ readonly onSequential: (left: Z, right: Z) => Z;
1553
+ readonly onParallel: (left: Z, right: Z) => Z;
1554
+ }): Z;
1555
+ };
1556
+ /**
1557
+ * Combines all parts of a `Cause` into a single value by starting with an
1558
+ * initial value.
1559
+ *
1560
+ * **Details**
1561
+ *
1562
+ * This function processes a `Cause` by starting with an initial value (`zero`)
1563
+ * and applying a custom function (`pf`) to combine all elements of the `Cause`
1564
+ * into a single result of type `Z`. The custom function determines how each
1565
+ * part of the `Cause` contributes to the final result. The function can return
1566
+ * an `Option` to either continue combining values or skip specific parts of the
1567
+ * `Cause`.
1568
+ *
1569
+ * This function is useful for tasks such as:
1570
+ * - Aggregating error messages from a `Cause` into a single string.
1571
+ * - Summarizing the structure of a `Cause` into a simplified result.
1572
+ * - Filtering or processing only specific parts of a `Cause`.
1573
+ *
1574
+ * The reduction proceeds in a top-down manner, visiting all nodes in the
1575
+ * `Cause` structure. This gives you complete control over how each part of the
1576
+ * `Cause` contributes to the final result.
1577
+ *
1578
+ * @since 2.0.0
1579
+ * @category Reducing
1580
+ */
1581
+ export declare const reduce: {
1582
+ /**
1583
+ * Combines all parts of a `Cause` into a single value by starting with an
1584
+ * initial value.
1585
+ *
1586
+ * **Details**
1587
+ *
1588
+ * This function processes a `Cause` by starting with an initial value (`zero`)
1589
+ * and applying a custom function (`pf`) to combine all elements of the `Cause`
1590
+ * into a single result of type `Z`. The custom function determines how each
1591
+ * part of the `Cause` contributes to the final result. The function can return
1592
+ * an `Option` to either continue combining values or skip specific parts of the
1593
+ * `Cause`.
1594
+ *
1595
+ * This function is useful for tasks such as:
1596
+ * - Aggregating error messages from a `Cause` into a single string.
1597
+ * - Summarizing the structure of a `Cause` into a simplified result.
1598
+ * - Filtering or processing only specific parts of a `Cause`.
1599
+ *
1600
+ * The reduction proceeds in a top-down manner, visiting all nodes in the
1601
+ * `Cause` structure. This gives you complete control over how each part of the
1602
+ * `Cause` contributes to the final result.
1603
+ *
1604
+ * @since 2.0.0
1605
+ * @category Reducing
1606
+ */
1607
+ <Z, E>(zero: Z, pf: (accumulator: Z, cause: Cause<E>) => Option.Option<Z>): (self: Cause<E>) => Z;
1608
+ /**
1609
+ * Combines all parts of a `Cause` into a single value by starting with an
1610
+ * initial value.
1611
+ *
1612
+ * **Details**
1613
+ *
1614
+ * This function processes a `Cause` by starting with an initial value (`zero`)
1615
+ * and applying a custom function (`pf`) to combine all elements of the `Cause`
1616
+ * into a single result of type `Z`. The custom function determines how each
1617
+ * part of the `Cause` contributes to the final result. The function can return
1618
+ * an `Option` to either continue combining values or skip specific parts of the
1619
+ * `Cause`.
1620
+ *
1621
+ * This function is useful for tasks such as:
1622
+ * - Aggregating error messages from a `Cause` into a single string.
1623
+ * - Summarizing the structure of a `Cause` into a simplified result.
1624
+ * - Filtering or processing only specific parts of a `Cause`.
1625
+ *
1626
+ * The reduction proceeds in a top-down manner, visiting all nodes in the
1627
+ * `Cause` structure. This gives you complete control over how each part of the
1628
+ * `Cause` contributes to the final result.
1629
+ *
1630
+ * @since 2.0.0
1631
+ * @category Reducing
1632
+ */
1633
+ <Z, E>(self: Cause<E>, zero: Z, pf: (accumulator: Z, cause: Cause<E>) => Option.Option<Z>): Z;
1634
+ };
1635
+ /**
1636
+ * Combines all parts of a `Cause` into a single value using a custom reducer
1637
+ * and a context.
1638
+ *
1639
+ * **Details**
1640
+ *
1641
+ * This function allows you to reduce a `Cause` into a single value of type `Z`
1642
+ * using a custom `CauseReducer`. A `CauseReducer` provides methods to handle
1643
+ * specific parts of the `Cause`, such as failures, defects, or interruptions.
1644
+ * Additionally, this function provides access to a `context` value, which can
1645
+ * be used to carry information or maintain state during the reduction process.
1646
+ *
1647
+ * This is particularly useful when the reduction process needs additional
1648
+ * context or configuration, such as:
1649
+ * - Aggregating error details with dynamic formatting.
1650
+ * - Collecting logs or statistics about the `Cause`.
1651
+ * - Performing stateful transformations based on the `context`.
1652
+ *
1653
+ * @see {@link reduce} To reduce a `Cause` without additional context.
1654
+ *
1655
+ * @since 2.0.0
1656
+ * @category Reducing
1657
+ */
1658
+ export declare const reduceWithContext: {
1659
+ /**
1660
+ * Combines all parts of a `Cause` into a single value using a custom reducer
1661
+ * and a context.
1662
+ *
1663
+ * **Details**
1664
+ *
1665
+ * This function allows you to reduce a `Cause` into a single value of type `Z`
1666
+ * using a custom `CauseReducer`. A `CauseReducer` provides methods to handle
1667
+ * specific parts of the `Cause`, such as failures, defects, or interruptions.
1668
+ * Additionally, this function provides access to a `context` value, which can
1669
+ * be used to carry information or maintain state during the reduction process.
1670
+ *
1671
+ * This is particularly useful when the reduction process needs additional
1672
+ * context or configuration, such as:
1673
+ * - Aggregating error details with dynamic formatting.
1674
+ * - Collecting logs or statistics about the `Cause`.
1675
+ * - Performing stateful transformations based on the `context`.
1676
+ *
1677
+ * @see {@link reduce} To reduce a `Cause` without additional context.
1678
+ *
1679
+ * @since 2.0.0
1680
+ * @category Reducing
1681
+ */
1682
+ <C, E, Z>(context: C, reducer: CauseReducer<C, E, Z>): (self: Cause<E>) => Z;
1683
+ /**
1684
+ * Combines all parts of a `Cause` into a single value using a custom reducer
1685
+ * and a context.
1686
+ *
1687
+ * **Details**
1688
+ *
1689
+ * This function allows you to reduce a `Cause` into a single value of type `Z`
1690
+ * using a custom `CauseReducer`. A `CauseReducer` provides methods to handle
1691
+ * specific parts of the `Cause`, such as failures, defects, or interruptions.
1692
+ * Additionally, this function provides access to a `context` value, which can
1693
+ * be used to carry information or maintain state during the reduction process.
1694
+ *
1695
+ * This is particularly useful when the reduction process needs additional
1696
+ * context or configuration, such as:
1697
+ * - Aggregating error details with dynamic formatting.
1698
+ * - Collecting logs or statistics about the `Cause`.
1699
+ * - Performing stateful transformations based on the `context`.
1700
+ *
1701
+ * @see {@link reduce} To reduce a `Cause` without additional context.
1702
+ *
1703
+ * @since 2.0.0
1704
+ * @category Reducing
1705
+ */
1706
+ <C, E, Z>(self: Cause<E>, context: C, reducer: CauseReducer<C, E, Z>): Z;
1707
+ };
1708
+ /**
1709
+ * Creates an error that indicates a `Fiber` was interrupted.
1710
+ *
1711
+ * **Details**
1712
+ *
1713
+ * This function constructs an `InterruptedException` recognized by the Effect
1714
+ * runtime. It is usually thrown or returned when a fiber's execution is
1715
+ * interrupted by external events or by another fiber. This is particularly
1716
+ * helpful in concurrent programs where fibers may halt each other before
1717
+ * completion.
1718
+ *
1719
+ * @since 2.0.0
1720
+ * @category Errors
1721
+ */
1722
+ export declare const InterruptedException: new (message?: string | undefined) => InterruptedException;
1723
+ /**
1724
+ * Checks if a given unknown value is an `InterruptedException`.
1725
+ *
1726
+ * @since 2.0.0
1727
+ * @category Guards
1728
+ */
1729
+ export declare const isInterruptedException: (u: unknown) => u is InterruptedException;
1730
+ /**
1731
+ * Creates an error indicating an invalid method argument.
1732
+ *
1733
+ * **Details**
1734
+ *
1735
+ * This function constructs an `IllegalArgumentException`. It is typically
1736
+ * thrown or returned when an operation receives improper inputs, such as
1737
+ * out-of-range values or invalid object states.
1738
+ *
1739
+ * @since 2.0.0
1740
+ * @category Errors
1741
+ */
1742
+ export declare const IllegalArgumentException: new (message?: string | undefined) => IllegalArgumentException;
1743
+ /**
1744
+ * Checks if a given unknown value is an `IllegalArgumentException`.
1745
+ *
1746
+ * @since 2.0.0
1747
+ * @category Guards
1748
+ */
1749
+ export declare const isIllegalArgumentException: (u: unknown) => u is IllegalArgumentException;
1750
+ /**
1751
+ * Creates an error indicating a missing element.
1752
+ *
1753
+ * **Details**
1754
+ *
1755
+ * This function constructs a `NoSuchElementException`. It helps you clearly
1756
+ * communicate that a required element is unavailable.
1757
+ *
1758
+ * @since 2.0.0
1759
+ * @category Errors
1760
+ */
1761
+ export declare const NoSuchElementException: new (message?: string | undefined) => NoSuchElementException;
1762
+ /**
1763
+ * Checks if a given unknown value is a `NoSuchElementException`.
1764
+ *
1765
+ * @since 2.0.0
1766
+ * @category Guards
1767
+ */
1768
+ export declare const isNoSuchElementException: (u: unknown) => u is NoSuchElementException;
1769
+ /**
1770
+ * Creates an error for general runtime errors.
1771
+ *
1772
+ * **Details**
1773
+ *
1774
+ * This function constructs a `RuntimeException`, for errors that occur at
1775
+ * runtime but are not specifically typed or categorized as interruptions,
1776
+ * missing elements, or invalid arguments. It helps unify a wide range of
1777
+ * unexpected conditions under a single, recognizable error type.
1778
+ *
1779
+ * @since 2.0.0
1780
+ * @category Errors
1781
+ */
1782
+ export declare const RuntimeException: new (message?: string | undefined) => RuntimeException;
1783
+ /**
1784
+ * Checks if a given unknown value is a `RuntimeException`.
1785
+ *
1786
+ * @since 2.0.0
1787
+ * @category Guards
1788
+ */
1789
+ export declare const isRuntimeException: (u: unknown) => u is RuntimeException;
1790
+ /**
1791
+ * Creates an error for operations that exceed their expected time.
1792
+ *
1793
+ * **Details**
1794
+ *
1795
+ * This function constructs a `TimeoutException`. It is typically used to signal
1796
+ * that an operation or fiber did not complete within a designated time limit,
1797
+ * allowing you to handle slow or hanging processes.
1798
+ *
1799
+ * @since 2.0.0
1800
+ * @category Errors
1801
+ */
1802
+ export declare const TimeoutException: new (message?: string | undefined) => TimeoutException;
1803
+ /**
1804
+ * Checks if a given unknown value is a `TimeoutException`.
1805
+ *
1806
+ * @since 3.15.0
1807
+ * @category Guards
1808
+ */
1809
+ export declare const isTimeoutException: (u: unknown) => u is TimeoutException;
1810
+ /**
1811
+ * Creates an instance of `UnknownException`, an error object used to handle
1812
+ * unknown errors such as those from rejected promises.
1813
+ *
1814
+ * **Details**
1815
+ *
1816
+ * This function constructs an `UnknownException` with flexible behavior for
1817
+ * managing the error message and cause.
1818
+ *
1819
+ * The required `error` argument is passed as the `cause` to the global `Error`
1820
+ * constructor, ensuring that the original cause is preserved in the error chain
1821
+ * for debugging purposes. This ensures that the origin stack trace is
1822
+ * preserved.
1823
+ *
1824
+ * The `error` argument is always stored in the `error` property of the
1825
+ * `UnknownException` instance for reference, regardless of its type.
1826
+ *
1827
+ * Additionally, if you provide a `message` argument, it is used as the error
1828
+ * message. If no `message` is provided, the error message defaults to `"An
1829
+ * unknown error occurred"`.
1830
+ *
1831
+ * **When to Use**
1832
+ *
1833
+ * Use this function when you need to handle unexpected or unknown errors in
1834
+ * your application, particularly when the source of the error might not provide
1835
+ * a clear message. This is useful for wrapping generic errors thrown from
1836
+ * promises or external APIs.
1837
+ *
1838
+ * @since 2.0.0
1839
+ * @category Errors
1840
+ */
1841
+ export declare const UnknownException: new (error: unknown, message?: string | undefined) => UnknownException;
1842
+ /**
1843
+ * Checks if a given unknown value is an `UnknownException`.
1844
+ *
1845
+ * @since 2.0.0
1846
+ * @category Guards
1847
+ */
1848
+ export declare const isUnknownException: (u: unknown) => u is UnknownException;
1849
+ /**
1850
+ * Creates an error indicating resource capacity has been exceeded.
1851
+ *
1852
+ * **Details**
1853
+ *
1854
+ * This function constructs an `ExceededCapacityException`, signifying that an
1855
+ * operation or resource usage surpassed established limits. This can be
1856
+ * essential for concurrency or resource management situations, ensuring your
1857
+ * application doesn't go beyond acceptable thresholds.
1858
+ *
1859
+ * @since 3.5.0
1860
+ * @category Errors
1861
+ */
1862
+ export declare const ExceededCapacityException: new (message?: string | undefined) => ExceededCapacityException;
1863
+ /**
1864
+ * Checks if a given unknown value is an `ExceededCapacityException`.
1865
+ *
1866
+ * @since 3.5.0
1867
+ * @category Guards
1868
+ */
1869
+ export declare const isExceededCapacityException: (u: unknown) => u is ExceededCapacityException;
1870
+ /**
1871
+ * Converts a `Cause` into a human-readable string.
1872
+ *
1873
+ * **Details**
1874
+ *
1875
+ * This function pretty-prints the entire `Cause`, including any failures,
1876
+ * defects, and interruptions. It can be especially helpful for logging,
1877
+ * debugging, or displaying structured errors to users.
1878
+ *
1879
+ * You can optionally pass `options` to configure how the error cause is
1880
+ * rendered. By default, it includes essential details of all errors in the
1881
+ * `Cause`.
1882
+ *
1883
+ * @see {@link prettyErrors} Get a list of `PrettyError` objects instead of a single string.
1884
+ *
1885
+ * @since 2.0.0
1886
+ * @category Formatting
1887
+ */
1888
+ export declare const pretty: <E>(cause: Cause<E>, options?: {
1889
+ readonly renderErrorCause?: boolean | undefined;
1890
+ }) => string;
1891
+ /**
1892
+ * A shape for prettified errors, optionally including a source span.
1893
+ *
1894
+ * @since 3.2.0
1895
+ * @category Models
1896
+ */
1897
+ export interface PrettyError extends Error {
1898
+ readonly span: Span | undefined;
1899
+ }
1900
+ /**
1901
+ * Returns a list of prettified errors (`PrettyError`) from a `Cause`.
1902
+ *
1903
+ * **Details**
1904
+ *
1905
+ * This function inspects the entire `Cause` and produces an array of
1906
+ * `PrettyError` objects. Each object may include additional metadata, such as a
1907
+ * `Span`, to provide deeper insights into where and how the error occurred.
1908
+ *
1909
+ * @since 3.2.0
1910
+ * @category Formatting
1911
+ */
1912
+ export declare const prettyErrors: <E>(cause: Cause<E>) => Array<PrettyError>;
1913
+ /**
1914
+ * Retrieves the original, unproxied error instance from an error object.
1915
+ *
1916
+ * **Details**
1917
+ *
1918
+ * This function returns the underlying error object without any
1919
+ * library-specific wrapping or proxying that might occur during error handling.
1920
+ * This can be essential if you need direct access to the error's native
1921
+ * properties, such as stack traces or custom data fields, for detailed
1922
+ * debugging or integration with external systems.
1923
+ *
1924
+ * @since 2.0.0
1925
+ * @category Errors
1926
+ */
1927
+ export declare const originalError: <E>(obj: E) => E;
1928
+ //# sourceMappingURL=Cause.d.ts.map
backend/node_modules/effect/dist/dts/Cause.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Cause.d.ts","sourceRoot":"","sources":["../../src/Cause.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,KAAK,OAAO,MAAM,cAAc,C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AAK,CAAC,IAAI,gBAA0C,CAAA;AAEhG;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAI,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,KAAK,yBAC7C,CAAA;AAEhC;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,CAAC,IAAI,yBAC7B,CAAA;AAElC;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE;IAClD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChD,KAAK,MAAwB,CAAA;AAE9B;;;;;GAKG;AACH,MAAM,WAAW,WAAY,SAAQ,KAAK;IACxC,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,CAAA;CAChC;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,WAAW,CAAyB,CAAA;AAE7F;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAyB,CAAA"}
backend/node_modules/effect/dist/dts/Channel.d.ts ADDED
The diff for this file is too large to render. See raw diff
 
backend/node_modules/effect/dist/dts/ChildExecutorDecision.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"ChildExecutorDecision.d.ts","sourceRoot":"","sources":["../../src/ChildExecutorDecision.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,MAA6C,CAAA;AAE9F;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E;;;GAGG;AACH,MAA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mptyReadonlyArray } from "./Array.js";
6
+ import type { Either } from "./Either.js";
7
+ import * as Equal from "./Equal.js";
8
+ import * as Equivalence from "./Equivalence.js";
9
+ import type { TypeLambda } from "./HKT.js";
10
+ import { type Inspectable } from "./Inspectable.js";
11
+ import type { NonEmptyIterable } from "./NonEmptyIterable.js";
12
+ import type { Option } from "./Option.js";
13
+ import * as Order from "./Order.js";
14
+ import type { Pipeable } from "./Pipeable.js";
15
+ import { type Predicate, type Refinement } from "./Predicate.js";
16
+ import type { Covariant, NoInfer } from "./Types.js";
17
+ declare const TypeId: unique symbol;
18
+ /**
19
+ * @category symbol
20
+ * @since 2.0.0
21
+ */
22
+ export type TypeId = typeof TypeId;
23
+ /**
24
+ * @category models
25
+ * @since 2.0.0
26
+ */
27
+ export interface Chunk<out A> extends Iterable<A>, Equal.Equal, Pipeable, Inspectable {
28
+ readonly [TypeId]: {
29
+ readonly _A: Covariant<A>;
30
+ };
31
+ readonly length: number;
32
+ }
33
+ /**
34
+ * @category model
35
+ * @since 2.0.0
36
+ */
37
+ export interface NonEmptyChunk<out A> extends Chunk<A>, NonEmptyIterable<A> {
38
+ }
39
+ /**
40
+ * @category type lambdas
41
+ * @since 2.0.0
42
+ */
43
+ export interface ChunkTypeLambda extends TypeLambda {
44
+ readonly type: Chunk<this["Target"]>;
45
+ }
46
+ /**
47
+ * Compares the two chunks of equal length using the specified function
48
+ *
49
+ * @category equivalence
50
+ * @since 2.0.0
51
+ */
52
+ export declare const getEquivalence: <A>(isEquivalent: Equivalence.Equivalence<A>) => Equivalence.Equivalence<Chunk<A>>;
53
+ /**
54
+ * Checks if `u` is a `Chunk<unknown>`
55
+ *
56
+ * @category constructors
57
+ * @since 2.0.0
58
+ */
59
+ export declare const isChunk: {
60
+ /**
61
+ * Checks if `u` is a `Chunk<unknown>`
62
+ *
63
+ * @category constructors
64
+ * @since 2.0.0
65
+ */
66
+ <A>(u: Iterable<A>): u is Chunk<A>;
67
+ /**
68
+ * Checks if `u` is a `Chunk<unknown>`
69
+ *
70
+ * @category constructors
71
+ * @since 2.0.0
72
+ */
73
+ (u: unknown): u is Chunk<unknown>;
74
+ };
75
+ /**
76
+ * @category constructors
77
+ * @since 2.0.0
78
+ */
79
+ export declare const empty: <A = never>() => Chunk<A>;
80
+ /**
81
+ * Builds a `NonEmptyChunk` from an non-empty collection of elements.
82
+ *
83
+ * @category constructors
84
+ * @since 2.0.0
85
+ */
86
+ export declare const make: <As extends readonly [any, ...ReadonlyArray<any>]>(...as: As) => NonEmptyChunk<As[number]>;
87
+ /**
88
+ * Builds a `NonEmptyChunk` from a single element.
89
+ *
90
+ * @category constructors
91
+ * @since 2.0.0
92
+ */
93
+ export declare const of: <A>(a: A) => NonEmptyChunk<A>;
94
+ /**
95
+ * Creates a new `Chunk` from an iterable collection of values.
96
+ *
97
+ * @category constructors
98
+ * @since 2.0.0
99
+ */
100
+ export declare const fromIterable: <A>(self: Iterable<A>) => Chunk<A>;
101
+ /**
102
+ * Converts a `Chunk` into an `Array`. If the provided `Chunk` is non-empty
103
+ * (`NonEmptyChunk`), the function will return a `NonEmptyArray`, ensuring the
104
+ * non-empty property is preserved.
105
+ *
106
+ * @category conversions
107
+ * @since 2.0.0
108
+ */
109
+ export declare const toArray: <S extends Chunk<any>>(self: S) => S extends NonEmptyChunk<any> ? RA.NonEmptyArray<Chunk.Infer<S>> : Array<Chunk.Infer<S>>;
110
+ /**
111
+ * Converts a `Chunk` into a `ReadonlyArray`. If the provided `Chunk` is
112
+ * non-empty (`NonEmptyChunk`), the function will return a
113
+ * `NonEmptyReadonlyArray`, ensuring the non-empty property is preserved.
114
+ *
115
+ * @category conversions
116
+ * @since 2.0.0
117
+ */
118
+ export declare const toReadonlyArray: <S extends Chunk<any>>(self: S) => S extends NonEmptyChunk<any> ? RA.NonEmptyReadonlyArray<Chunk.Infer<S>> : ReadonlyArray<Chunk.Infer<S>>;
119
+ /**
120
+ * Reverses the order of elements in a `Chunk`.
121
+ * Importantly, if the input chunk is a `NonEmptyChunk`, the reversed chunk will also be a `NonEmptyChunk`.
122
+ *
123
+ * **Example**
124
+ *
125
+ * ```ts
126
+ * import { Chunk } from "effect"
127
+ *
128
+ * const chunk = Chunk.make(1, 2, 3)
129
+ * const result = Chunk.reverse(chunk)
130
+ *
131
+ * console.log(result)
132
+ * // { _id: 'Chunk', values: [ 3, 2, 1 ] }
133
+ * ```
134
+ *
135
+ * @since 2.0.0
136
+ * @category elements
137
+ */
138
+ export declare const reverse: <S extends Chunk<any>>(self: S) => Chunk.With<S, Chunk.Infer<S>>;
139
+ /**
140
+ * This function provides a safe way to read a value at a particular index from a `Chunk`.
141
+ *
142
+ * @category elements
143
+ * @since 2.0.0
144
+ */
145
+ export declare const get: {
146
+ /**
147
+ * This function provides a safe way to read a value at a particular index from a `Chunk`.
148
+ *
149
+ * @category elements
150
+ * @since 2.0.0
151
+ */
152
+ (index: number): <A>(self: Chunk<A>) => Option<A>;
153
+ /**
154
+ * This function provides a safe way to read a value at a particular index from a `Chunk`.
155
+ *
156
+ * @category elements
157
+ * @since 2.0.0
158
+ */
159
+ <A>(self: Chunk<A>, index: number): Option<A>;
160
+ };
161
+ /**
162
+ * Wraps an array into a chunk without copying, unsafe on mutable arrays
163
+ *
164
+ * @since 2.0.0
165
+ * @category unsafe
166
+ */
167
+ export declare const unsafeFromArray: <A>(self: ReadonlyArray<A>) => Chunk<A>;
168
+ /**
169
+ * Wraps an array into a chunk without copying, unsafe on mutable arrays
170
+ *
171
+ * @since 2.0.0
172
+ * @category unsafe
173
+ */
174
+ export declare const unsafeFromNonEmptyArray: <A>(self: NonEmptyReadonlyArray<A>) => NonEmptyChunk<A>;
175
+ /**
176
+ * Gets an element unsafely, will throw on out of bounds
177
+ *
178
+ * @since 2.0.0
179
+ * @category unsafe
180
+ */
181
+ export declare const unsafeGet: {
182
+ /**
183
+ * Gets an element unsafely, will throw on out of bounds
184
+ *
185
+ * @since 2.0.0
186
+ * @category unsafe
187
+ */
188
+ (index: number): <A>(self: Chunk<A>) => A;
189
+ /**
190
+ * Gets an element unsafely, will throw on out of bounds
191
+ *
192
+ * @since 2.0.0
193
+ * @category unsafe
194
+ */
195
+ <A>(self: Chunk<A>, index: number): A;
196
+ };
197
+ /**
198
+ * Appends the specified element to the end of the `Chunk`.
199
+ *
200
+ * @category concatenating
201
+ * @since 2.0.0
202
+ */
203
+ export declare const append: {
204
+ /**
205
+ * Appends the specified element to the end of the `Chunk`.
206
+ *
207
+ * @category concatenating
208
+ * @since 2.0.0
209
+ */
210
+ <A2>(a: A2): <A>(self: Chunk<A>) => NonEmptyChunk<A2 | A>;
211
+ /**
212
+ * Appends the specified element to the end of the `Chunk`.
213
+ *
214
+ * @category concatenating
215
+ * @since 2.0.0
216
+ */
217
+ <A, A2>(self: Chunk<A>, a: A2): NonEmptyChunk<A | A2>;
218
+ };
219
+ /**
220
+ * Prepend an element to the front of a `Chunk`, creating a new `NonEmptyChunk`.
221
+ *
222
+ * @category concatenating
223
+ * @since 2.0.0
224
+ */
225
+ export declare const prepend: {
226
+ /**
227
+ * Prepend an element to the front of a `Chunk`, creating a new `NonEmptyChunk`.
228
+ *
229
+ * @category concatenating
230
+ * @since 2.0.0
231
+ */
232
+ <B>(elem: B): <A>(self: Chunk<A>) => NonEmptyChunk<B | A>;
233
+ /**
234
+ * Prepend an element to the front of a `Chunk`, creating a new `NonEmptyChunk`.
235
+ *
236
+ * @category concatenating
237
+ * @since 2.0.0
238
+ */
239
+ <A, B>(self: Chunk<A>, elem: B): NonEmptyChunk<A | B>;
240
+ };
241
+ /**
242
+ * Takes the first up to `n` elements from the chunk
243
+ *
244
+ * @since 2.0.0
245
+ */
246
+ export declare const take: {
247
+ /**
248
+ * Takes the first up to `n` elements from the chunk
249
+ *
250
+ * @since 2.0.0
251
+ */
252
+ (n: number): <A>(self: Chunk<A>) => Chunk<A>;
253
+ /**
254
+ * Takes the first up to `n` elements from the chunk
255
+ *
256
+ * @since 2.0.0
257
+ */
258
+ <A>(self: Chunk<A>, n: number): Chunk<A>;
259
+ };
260
+ /**
261
+ * Drops the first up to `n` elements from the chunk
262
+ *
263
+ * @since 2.0.0
264
+ */
265
+ export declare const drop: {
266
+ /**
267
+ * Drops the first up to `n` elements from the chunk
268
+ *
269
+ * @since 2.0.0
270
+ */
271
+ (n: number): <A>(self: Chunk<A>) => Chunk<A>;
272
+ /**
273
+ * Drops the first up to `n` elements from the chunk
274
+ *
275
+ * @since 2.0.0
276
+ */
277
+ <A>(self: Chunk<A>, n: number): Chunk<A>;
278
+ };
279
+ /**
280
+ * Drops the last `n` elements.
281
+ *
282
+ * @since 2.0.0
283
+ */
284
+ export declare const dropRight: {
285
+ /**
286
+ * Drops the last `n` elements.
287
+ *
288
+ * @since 2.0.0
289
+ */
290
+ (n: number): <A>(self: Chunk<A>) => Chunk<A>;
291
+ /**
292
+ * Drops the last `n` elements.
293
+ *
294
+ * @since 2.0.0
295
+ */
296
+ <A>(self: Chunk<A>, n: number): Chunk<A>;
297
+ };
298
+ /**
299
+ * Drops all elements so long as the predicate returns true.
300
+ *
301
+ * @since 2.0.0
302
+ */
303
+ export declare const dropWhile: {
304
+ /**
305
+ * Drops all elements so long as the predicate returns true.
306
+ *
307
+ * @since 2.0.0
308
+ */
309
+ <A>(predicate: Predicate<NoInfer<A>>): (self: Chunk<A>) => Chunk<A>;
310
+ /**
311
+ * Drops all elements so long as the predicate returns true.
312
+ *
313
+ * @since 2.0.0
314
+ */
315
+ <A>(self: Chunk<A>, predicate: Predicate<A>): Chunk<A>;
316
+ };
317
+ /**
318
+ * Prepends the specified prefix chunk to the beginning of the specified chunk.
319
+ * If either chunk is non-empty, the result is also a non-empty chunk.
320
+ *
321
+ * **Example**
322
+ *
323
+ * ```ts
324
+ * import { Chunk } from "effect"
325
+ *
326
+ * const result = Chunk.make(1, 2).pipe(Chunk.prependAll(Chunk.make("a", "b")), Chunk.toArray)
327
+ *
328
+ * console.log(result)
329
+ * // [ "a", "b", 1, 2 ]
330
+ * ```
331
+ *
332
+ * @category concatenating
333
+ * @since 2.0.0
334
+ */
335
+ export declare const prependAll: {
336
+ /**
337
+ * Prepends the specified prefix chunk to the beginning of the specified chunk.
338
+ * If either chunk is non-empty, the result is also a non-empty chunk.
339
+ *
340
+ * **Example**
341
+ *
342
+ * ```ts
343
+ * import { Chunk } from "effect"
344
+ *
345
+ * const result = Chunk.make(1, 2).pipe(Chunk.prependAll(Chunk.make("a", "b")), Chunk.toArray)
346
+ *
347
+ * console.log(result)
348
+ * // [ "a", "b", 1, 2 ]
349
+ * ```
350
+ *
351
+ * @category concatenating
352
+ * @since 2.0.0
353
+ */
354
+ <S extends Chunk<any>, T extends Chunk<any>>(that: T): (self: S) => Chunk.OrNonEmpty<S, T, Chunk.Infer<S> | Chunk.Infer<T>>;
355
+ /**
356
+ * Prepends the specified prefix chunk to the beginning of the specified chunk.
357
+ * If either chunk is non-empty, the result is also a non-empty chunk.
358
+ *
359
+ * **Example**
360
+ *
361
+ * ```ts
362
+ * import { Chunk } from "effect"
363
+ *
364
+ * const result = Chunk.make(1, 2).pipe(Chunk.prependAll(Chunk.make("a", "b")), Chunk.toArray)
365
+ *
366
+ * console.log(result)
367
+ * // [ "a", "b", 1, 2 ]
368
+ * ```
369
+ *
370
+ * @category concatenating
371
+ * @since 2.0.0
372
+ */
373
+ <A, B>(self: Chunk<A>, that: NonEmptyChunk<B>): NonEmptyChunk<A | B>;
374
+ /**
375
+ * Prepends the specified prefix chunk to the beginning of the specified chunk.
376
+ * If either chunk is non-empty, the result is also a non-empty chunk.
377
+ *
378
+ * **Example**
379
+ *
380
+ * ```ts
381
+ * import { Chunk } from "effect"
382
+ *
383
+ * const result = Chunk.make(1, 2).pipe(Chunk.prependAll(Chunk.make("a", "b")), Chunk.toArray)
384
+ *
385
+ * console.log(result)
386
+ * // [ "a", "b", 1, 2 ]
387
+ * ```
388
+ *
389
+ * @category concatenating
390
+ * @since 2.0.0
391
+ */
392
+ <A, B>(self: NonEmptyChunk<A>, that: Chunk<B>): NonEmptyChunk<A | B>;
393
+ /**
394
+ * Prepends the specified prefix chunk to the beginning of the specified chunk.
395
+ * If either chunk is non-empty, the result is also a non-empty chunk.
396
+ *
397
+ * **Example**
398
+ *
399
+ * ```ts
400
+ * import { Chunk } from "effect"
401
+ *
402
+ * const result = Chunk.make(1, 2).pipe(Chunk.prependAll(Chunk.make("a", "b")), Chunk.toArray)
403
+ *
404
+ * console.log(result)
405
+ * // [ "a", "b", 1, 2 ]
406
+ * ```
407
+ *
408
+ * @category concatenating
409
+ * @since 2.0.0
410
+ */
411
+ <A, B>(self: Chunk<A>, that: Chunk<B>): Chunk<A | B>;
412
+ };
413
+ /**
414
+ * Concatenates two chunks, combining their elements.
415
+ * If either chunk is non-empty, the result is also a non-empty chunk.
416
+ *
417
+ * **Example**
418
+ *
419
+ * ```ts
420
+ * import { Chunk } from "effect"
421
+ *
422
+ * const result = Chunk.make(1, 2).pipe(Chunk.appendAll(Chunk.make("a", "b")), Chunk.toArray)
423
+ *
424
+ * console.log(result)
425
+ * // [ 1, 2, "a", "b" ]
426
+ * ```
427
+ *
428
+ * @category concatenating
429
+ * @since 2.0.0
430
+ */
431
+ export declare const appendAll: {
432
+ /**
433
+ * Concatenates two chunks, combining their elements.
434
+ * If either chunk is non-empty, the result is also a non-empty chunk.
435
+ *
436
+ * **Example**
437
+ *
438
+ * ```ts
439
+ * import { Chunk } from "effect"
440
+ *
441
+ * const result = Chunk.make(1, 2).pipe(Chunk.appendAll(Chunk.make("a", "b")), Chunk.toArray)
442
+ *
443
+ * console.log(result)
444
+ * // [ 1, 2, "a", "b" ]
445
+ * ```
446
+ *
447
+ * @category concatenating
448
+ * @since 2.0.0
449
+ */
450
+ <S extends Chunk<any>, T extends Chunk<any>>(that: T): (self: S) => Chunk.OrNonEmpty<S, T, Chunk.Infer<S> | Chunk.Infer<T>>;
451
+ /**
452
+ * Concatenates two chunks, combining their elements.
453
+ * If either chunk is non-empty, the result is also a non-empty chunk.
454
+ *
455
+ * **Example**
456
+ *
457
+ * ```ts
458
+ * import { Chunk } from "effect"
459
+ *
460
+ * const result = Chunk.make(1, 2).pipe(Chunk.appendAll(Chunk.make("a", "b")), Chunk.toArray)
461
+ *
462
+ * console.log(result)
463
+ * // [ 1, 2, "a", "b" ]
464
+ * ```
465
+ *
466
+ * @category concatenating
467
+ * @since 2.0.0
468
+ */
469
+ <A, B>(self: Chunk<A>, that: NonEmptyChunk<B>): NonEmptyChunk<A | B>;
470
+ /**
471
+ * Concatenates two chunks, combining their elements.
472
+ * If either chunk is non-empty, the result is also a non-empty chunk.
473
+ *
474
+ * **Example**
475
+ *
476
+ * ```ts
477
+ * import { Chunk } from "effect"
478
+ *
479
+ * const result = Chunk.make(1, 2).pipe(Chunk.appendAll(Chunk.make("a", "b")), Chunk.toArray)
480
+ *
481
+ * console.log(result)
482
+ * // [ 1, 2, "a", "b" ]
483
+ * ```
484
+ *
485
+ * @category concatenating
486
+ * @since 2.0.0
487
+ */
488
+ <A, B>(self: NonEmptyChunk<A>, that: Chunk<B>): NonEmptyChunk<A | B>;
489
+ /**
490
+ * Concatenates two chunks, combining their elements.
491
+ * If either chunk is non-empty, the result is also a non-empty chunk.
492
+ *
493
+ * **Example**
494
+ *
495
+ * ```ts
496
+ * import { Chunk } from "effect"
497
+ *
498
+ * const result = Chunk.make(1, 2).pipe(Chunk.appendAll(Chunk.make("a", "b")), Chunk.toArray)
499
+ *
500
+ * console.log(result)
501
+ * // [ 1, 2, "a", "b" ]
502
+ * ```
503
+ *
504
+ * @category concatenating
505
+ * @since 2.0.0
506
+ */
507
+ <A, B>(self: Chunk<A>, that: Chunk<B>): Chunk<A | B>;
508
+ };
509
+ /**
510
+ * Returns a filtered and mapped subset of the elements.
511
+ *
512
+ * @since 2.0.0
513
+ * @category filtering
514
+ */
515
+ export declare const filterMap: {
516
+ /**
517
+ * Returns a filtered and mapped subset of the elements.
518
+ *
519
+ * @since 2.0.0
520
+ * @category filtering
521
+ */
522
+ <A, B>(f: (a: A, i: number) => Option<B>): (self: Chunk<A>) => Chunk<B>;
523
+ /**
524
+ * Returns a filtered and mapped subset of the elements.
525
+ *
526
+ * @since 2.0.0
527
+ * @category filtering
528
+ */
529
+ <A, B>(self: Chunk<A>, f: (a: A, i: number) => Option<B>): Chunk<B>;
530
+ };
531
+ /**
532
+ * Returns a filtered and mapped subset of the elements.
533
+ *
534
+ * @since 2.0.0
535
+ * @category filtering
536
+ */
537
+ export declare const filter: {
538
+ /**
539
+ * Returns a filtered and mapped subset of the elements.
540
+ *
541
+ * @since 2.0.0
542
+ * @category filtering
543
+ */
544
+ <A, B extends A>(refinement: Refinement<NoInfer<A>, B>): (self: Chunk<A>) => Chunk<B>;
545
+ /**
546
+ * Returns a filtered and mapped subset of the elements.
547
+ *
548
+ * @since 2.0.0
549
+ * @category filtering
550
+ */
551
+ <A>(predicate: Predicate<NoInfer<A>>): (self: Chunk<A>) => Chunk<A>;
552
+ /**
553
+ * Returns a filtered and mapped subset of the elements.
554
+ *
555
+ * @since 2.0.0
556
+ * @category filtering
557
+ */
558
+ <A, B extends A>(self: Chunk<A>, refinement: Refinement<A, B>): Chunk<B>;
559
+ /**
560
+ * Returns a filtered and mapped subset of the elements.
561
+ *
562
+ * @since 2.0.0
563
+ * @category filtering
564
+ */
565
+ <A>(self: Chunk<A>, predicate: Predicate<A>): Chunk<A>;
566
+ };
567
+ /**
568
+ * Transforms all elements of the chunk for as long as the specified function returns some value
569
+ *
570
+ * @since 2.0.0
571
+ * @category filtering
572
+ */
573
+ export declare const filterMapWhile: {
574
+ /**
575
+ * Transforms all elements of the chunk for as long as the specified function returns some value
576
+ *
577
+ * @since 2.0.0
578
+ * @category filtering
579
+ */
580
+ <A, B>(f: (a: A) => Option<B>): (self: Chunk<A>) => Chunk<B>;
581
+ /**
582
+ * Transforms all elements of the chunk for as long as the specified function returns some value
583
+ *
584
+ * @since 2.0.0
585
+ * @category filtering
586
+ */
587
+ <A, B>(self: Chunk<A>, f: (a: A) => Option<B>): Chunk<B>;
588
+ };
589
+ /**
590
+ * Filter out optional values
591
+ *
592
+ * @since 2.0.0
593
+ * @category filtering
594
+ */
595
+ export declare const compact: <A>(self: Chunk<Option<A>>) => Chunk<A>;
596
+ /**
597
+ * Applies a function to each element in a chunk and returns a new chunk containing the concatenated mapped elements.
598
+ *
599
+ * @since 2.0.0
600
+ * @category sequencing
601
+ */
602
+ export declare const flatMap: {
603
+ /**
604
+ * Applies a function to each element in a chunk and returns a new chunk containing the concatenated mapped elements.
605
+ *
606
+ * @since 2.0.0
607
+ * @category sequencing
608
+ */
609
+ <S extends Chunk<any>, T extends Chunk<any>>(f: (a: Chunk.Infer<S>, i: number) => T): (self: S) => Chunk.AndNonEmpty<S, T, Chunk.Infer<T>>;
610
+ /**
611
+ * Applies a function to each element in a chunk and returns a new chunk containing the concatenated mapped elements.
612
+ *
613
+ * @since 2.0.0
614
+ * @category sequencing
615
+ */
616
+ <A, B>(self: NonEmptyChunk<A>, f: (a: A, i: number) => NonEmptyChunk<B>): NonEmptyChunk<B>;
617
+ /**
618
+ * Applies a function to each element in a chunk and returns a new chunk containing the concatenated mapped elements.
619
+ *
620
+ * @since 2.0.0
621
+ * @category sequencing
622
+ */
623
+ <A, B>(self: Chunk<A>, f: (a: A, i: number) => Chunk<B>): Chunk<B>;
624
+ };
625
+ /**
626
+ * Iterates over each element of a `Chunk` and applies a function to it.
627
+ *
628
+ * **Details**
629
+ *
630
+ * This function processes every element of the given `Chunk`, calling the
631
+ * provided function `f` on each element. It does not return a new value;
632
+ * instead, it is primarily used for side effects, such as logging or
633
+ * accumulating data in an external variable.
634
+ *
635
+ * @since 2.0.0
636
+ * @category combinators
637
+ */
638
+ export declare const forEach: {
639
+ /**
640
+ * Iterates over each element of a `Chunk` and applies a function to it.
641
+ *
642
+ * **Details**
643
+ *
644
+ * This function processes every element of the given `Chunk`, calling the
645
+ * provided function `f` on each element. It does not return a new value;
646
+ * instead, it is primarily used for side effects, such as logging or
647
+ * accumulating data in an external variable.
648
+ *
649
+ * @since 2.0.0
650
+ * @category combinators
651
+ */
652
+ <A, B>(f: (a: A, index: number) => B): (self: Chunk<A>) => void;
653
+ /**
654
+ * Iterates over each element of a `Chunk` and applies a function to it.
655
+ *
656
+ * **Details**
657
+ *
658
+ * This function processes every element of the given `Chunk`, calling the
659
+ * provided function `f` on each element. It does not return a new value;
660
+ * instead, it is primarily used for side effects, such as logging or
661
+ * accumulating data in an external variable.
662
+ *
663
+ * @since 2.0.0
664
+ * @category combinators
665
+ */
666
+ <A, B>(self: Chunk<A>, f: (a: A, index: number) => B): void;
667
+ };
668
+ /**
669
+ * Flattens a chunk of chunks into a single chunk by concatenating all chunks.
670
+ *
671
+ * @since 2.0.0
672
+ * @category sequencing
673
+ */
674
+ export declare const flatten: <S extends Chunk<Chunk<any>>>(self: S) => Chunk.Flatten<S>;
675
+ /**
676
+ * Groups elements in chunks of up to `n` elements.
677
+ *
678
+ * @since 2.0.0
679
+ * @category elements
680
+ */
681
+ export declare const chunksOf: {
682
+ /**
683
+ * Groups elements in chunks of up to `n` elements.
684
+ *
685
+ * @since 2.0.0
686
+ * @category elements
687
+ */
688
+ (n: number): <A>(self: Chunk<A>) => Chunk<Chunk<A>>;
689
+ /**
690
+ * Groups elements in chunks of up to `n` elements.
691
+ *
692
+ * @since 2.0.0
693
+ * @category elements
694
+ */
695
+ <A>(self: Chunk<A>, n: number): Chunk<Chunk<A>>;
696
+ };
697
+ /**
698
+ * Creates a Chunk of unique values that are included in all given Chunks.
699
+ *
700
+ * The order and references of result values are determined by the Chunk.
701
+ *
702
+ * @since 2.0.0
703
+ * @category elements
704
+ */
705
+ export declare const intersection: {
706
+ /**
707
+ * Creates a Chunk of unique values that are included in all given Chunks.
708
+ *
709
+ * The order and references of result values are determined by the Chunk.
710
+ *
711
+ * @since 2.0.0
712
+ * @category elements
713
+ */
714
+ <A>(that: Chunk<A>): <B>(self: Chunk<B>) => Chunk<A & B>;
715
+ /**
716
+ * Creates a Chunk of unique values that are included in all given Chunks.
717
+ *
718
+ * The order and references of result values are determined by the Chunk.
719
+ *
720
+ * @since 2.0.0
721
+ * @category elements
722
+ */
723
+ <A, B>(self: Chunk<A>, that: Chunk<B>): Chunk<A & B>;
724
+ };
725
+ /**
726
+ * Determines if the chunk is empty.
727
+ *
728
+ * @since 2.0.0
729
+ * @category elements
730
+ */
731
+ export declare const isEmpty: <A>(self: Chunk<A>) => boolean;
732
+ /**
733
+ * Determines if the chunk is not empty.
734
+ *
735
+ * @since 2.0.0
736
+ * @category elements
737
+ */
738
+ export declare const isNonEmpty: <A>(self: Chunk<A>) => self is NonEmptyChunk<A>;
739
+ /**
740
+ * Returns the first element of this chunk if it exists.
741
+ *
742
+ * @since 2.0.0
743
+ * @category elements
744
+ */
745
+ export declare const head: <A>(self: Chunk<A>) => Option<A>;
746
+ /**
747
+ * Returns the first element of this chunk.
748
+ *
749
+ * It will throw an error if the chunk is empty.
750
+ *
751
+ * @since 2.0.0
752
+ * @category unsafe
753
+ */
754
+ export declare const unsafeHead: <A>(self: Chunk<A>) => A;
755
+ /**
756
+ * Returns the first element of this non empty chunk.
757
+ *
758
+ * @since 2.0.0
759
+ * @category elements
760
+ */
761
+ export declare const headNonEmpty: <A>(self: NonEmptyChunk<A>) => A;
762
+ /**
763
+ * Returns the last element of this chunk if it exists.
764
+ *
765
+ * @since 2.0.0
766
+ * @category elements
767
+ */
768
+ export declare const last: <A>(self: Chunk<A>) => Option<A>;
769
+ /**
770
+ * Returns the last element of this chunk.
771
+ *
772
+ * It will throw an error if the chunk is empty.
773
+ *
774
+ * @since 2.0.0
775
+ * @category unsafe
776
+ */
777
+ export declare const unsafeLast: <A>(self: Chunk<A>) => A;
778
+ /**
779
+ * Returns the last element of this non empty chunk.
780
+ *
781
+ * @since 3.4.0
782
+ * @category elements
783
+ */
784
+ export declare const lastNonEmpty: <A>(self: NonEmptyChunk<A>) => A;
785
+ /**
786
+ * @since 2.0.0
787
+ */
788
+ export declare namespace Chunk {
789
+ /**
790
+ * @since 2.0.0
791
+ */
792
+ type Infer<S extends Chunk<any>> = S extends Chunk<infer A> ? A : never;
793
+ /**
794
+ * @since 2.0.0
795
+ */
796
+ type With<S extends Chunk<any>, A> = S extends NonEmptyChunk<any> ? NonEmptyChunk<A> : Chunk<A>;
797
+ /**
798
+ * @since 2.0.0
799
+ */
800
+ type OrNonEmpty<S extends Chunk<any>, T extends Chunk<any>, A> = S extends NonEmptyChunk<any> ? NonEmptyChunk<A> : T extends NonEmptyChunk<any> ? NonEmptyChunk<A> : Chunk<A>;
801
+ /**
802
+ * @since 2.0.0
803
+ */
804
+ type AndNonEmpty<S extends Chunk<any>, T extends Chunk<any>, A> = S extends NonEmptyChunk<any> ? T extends NonEmptyChunk<any> ? NonEmptyChunk<A> : Chunk<A> : Chunk<A>;
805
+ /**
806
+ * @since 2.0.0
807
+ */
808
+ type Flatten<T extends Chunk<Chunk<any>>> = T extends NonEmptyChunk<NonEmptyChunk<infer A>> ? NonEmptyChunk<A> : T extends Chunk<Chunk<infer A>> ? Chunk<A> : never;
809
+ }
810
+ /**
811
+ * Transforms the elements of a chunk using the specified mapping function.
812
+ * If the input chunk is non-empty, the resulting chunk will also be non-empty.
813
+ *
814
+ * **Example**
815
+ *
816
+ * ```ts
817
+ * import { Chunk } from "effect"
818
+ *
819
+ * const result = Chunk.map(Chunk.make(1, 2), (n) => n + 1)
820
+ *
821
+ * console.log(result)
822
+ * // { _id: 'Chunk', values: [ 2, 3 ] }
823
+ * ```
824
+ *
825
+ * @since 2.0.0
826
+ * @category mapping
827
+ */
828
+ export declare const map: {
829
+ /**
830
+ * Transforms the elements of a chunk using the specified mapping function.
831
+ * If the input chunk is non-empty, the resulting chunk will also be non-empty.
832
+ *
833
+ * **Example**
834
+ *
835
+ * ```ts
836
+ * import { Chunk } from "effect"
837
+ *
838
+ * const result = Chunk.map(Chunk.make(1, 2), (n) => n + 1)
839
+ *
840
+ * console.log(result)
841
+ * // { _id: 'Chunk', values: [ 2, 3 ] }
842
+ * ```
843
+ *
844
+ * @since 2.0.0
845
+ * @category mapping
846
+ */
847
+ <S extends Chunk<any>, B>(f: (a: Chunk.Infer<S>, i: number) => B): (self: S) => Chunk.With<S, B>;
848
+ /**
849
+ * Transforms the elements of a chunk using the specified mapping function.
850
+ * If the input chunk is non-empty, the resulting chunk will also be non-empty.
851
+ *
852
+ * **Example**
853
+ *
854
+ * ```ts
855
+ * import { Chunk } from "effect"
856
+ *
857
+ * const result = Chunk.map(Chunk.make(1, 2), (n) => n + 1)
858
+ *
859
+ * console.log(result)
860
+ * // { _id: 'Chunk', values: [ 2, 3 ] }
861
+ * ```
862
+ *
863
+ * @since 2.0.0
864
+ * @category mapping
865
+ */
866
+ <A, B>(self: NonEmptyChunk<A>, f: (a: A, i: number) => B): NonEmptyChunk<B>;
867
+ /**
868
+ * Transforms the elements of a chunk using the specified mapping function.
869
+ * If the input chunk is non-empty, the resulting chunk will also be non-empty.
870
+ *
871
+ * **Example**
872
+ *
873
+ * ```ts
874
+ * import { Chunk } from "effect"
875
+ *
876
+ * const result = Chunk.map(Chunk.make(1, 2), (n) => n + 1)
877
+ *
878
+ * console.log(result)
879
+ * // { _id: 'Chunk', values: [ 2, 3 ] }
880
+ * ```
881
+ *
882
+ * @since 2.0.0
883
+ * @category mapping
884
+ */
885
+ <A, B>(self: Chunk<A>, f: (a: A, i: number) => B): Chunk<B>;
886
+ };
887
+ /**
888
+ * Statefully maps over the chunk, producing new elements of type `B`.
889
+ *
890
+ * @since 2.0.0
891
+ * @category folding
892
+ */
893
+ export declare const mapAccum: {
894
+ /**
895
+ * Statefully maps over the chunk, producing new elements of type `B`.
896
+ *
897
+ * @since 2.0.0
898
+ * @category folding
899
+ */
900
+ <S, A, B>(s: S, f: (s: S, a: A) => readonly [S, B]): (self: Chunk<A>) => [S, Chunk<B>];
901
+ /**
902
+ * Statefully maps over the chunk, producing new elements of type `B`.
903
+ *
904
+ * @since 2.0.0
905
+ * @category folding
906
+ */
907
+ <S, A, B>(self: Chunk<A>, s: S, f: (s: S, a: A) => readonly [S, B]): [S, Chunk<B>];
908
+ };
909
+ /**
910
+ * Separate elements based on a predicate that also exposes the index of the element.
911
+ *
912
+ * @category filtering
913
+ * @since 2.0.0
914
+ */
915
+ export declare const partition: {
916
+ /**
917
+ * Separate elements based on a predicate that also exposes the index of the element.
918
+ *
919
+ * @category filtering
920
+ * @since 2.0.0
921
+ */
922
+ <A, B extends A>(refinement: (a: NoInfer<A>, i: number) => a is B): (self: Chunk<A>) => [excluded: Chunk<Exclude<A, B>>, satisfying: Chunk<B>];
923
+ /**
924
+ * Separate elements based on a predicate that also exposes the index of the element.
925
+ *
926
+ * @category filtering
927
+ * @since 2.0.0
928
+ */
929
+ <A>(predicate: (a: NoInfer<A>, i: number) => boolean): (self: Chunk<A>) => [excluded: Chunk<A>, satisfying: Chunk<A>];
930
+ /**
931
+ * Separate elements based on a predicate that also exposes the index of the element.
932
+ *
933
+ * @category filtering
934
+ * @since 2.0.0
935
+ */
936
+ <A, B extends A>(self: Chunk<A>, refinement: (a: A, i: number) => a is B): [excluded: Chunk<Exclude<A, B>>, satisfying: Chunk<B>];
937
+ /**
938
+ * Separate elements based on a predicate that also exposes the index of the element.
939
+ *
940
+ * @category filtering
941
+ * @since 2.0.0
942
+ */
943
+ <A>(self: Chunk<A>, predicate: (a: A, i: number) => boolean): [excluded: Chunk<A>, satisfying: Chunk<A>];
944
+ };
945
+ /**
946
+ * Partitions the elements of this chunk into two chunks using f.
947
+ *
948
+ * @category filtering
949
+ * @since 2.0.0
950
+ */
951
+ export declare const partitionMap: {
952
+ /**
953
+ * Partitions the elements of this chunk into two chunks using f.
954
+ *
955
+ * @category filtering
956
+ * @since 2.0.0
957
+ */
958
+ <A, B, C>(f: (a: A) => Either<C, B>): (self: Chunk<A>) => [left: Chunk<B>, right: Chunk<C>];
959
+ /**
960
+ * Partitions the elements of this chunk into two chunks using f.
961
+ *
962
+ * @category filtering
963
+ * @since 2.0.0
964
+ */
965
+ <A, B, C>(self: Chunk<A>, f: (a: A) => Either<C, B>): [left: Chunk<B>, right: Chunk<C>];
966
+ };
967
+ /**
968
+ * Partitions the elements of this chunk into two chunks.
969
+ *
970
+ * @category filtering
971
+ * @since 2.0.0
972
+ */
973
+ export declare const separate: <A, B>(self: Chunk<Either<B, A>>) => [Chunk<A>, Chunk<B>];
974
+ /**
975
+ * Retireves the size of the chunk
976
+ *
977
+ * @since 2.0.0
978
+ * @category elements
979
+ */
980
+ export declare const size: <A>(self: Chunk<A>) => number;
981
+ /**
982
+ * Sort the elements of a Chunk in increasing order, creating a new Chunk.
983
+ *
984
+ * @since 2.0.0
985
+ * @category sorting
986
+ */
987
+ export declare const sort: {
988
+ /**
989
+ * Sort the elements of a Chunk in increasing order, creating a new Chunk.
990
+ *
991
+ * @since 2.0.0
992
+ * @category sorting
993
+ */
994
+ <B>(O: Order.Order<B>): <A extends B>(self: Chunk<A>) => Chunk<A>;
995
+ /**
996
+ * Sort the elements of a Chunk in increasing order, creating a new Chunk.
997
+ *
998
+ * @since 2.0.0
999
+ * @category sorting
1000
+ */
1001
+ <A extends B, B>(self: Chunk<A>, O: Order.Order<B>): Chunk<A>;
1002
+ };
1003
+ /**
1004
+ * @since 2.0.0
1005
+ * @category sorting
1006
+ */
1007
+ export declare const sortWith: {
1008
+ /**
1009
+ * @since 2.0.0
1010
+ * @category sorting
1011
+ */
1012
+ <A, B>(f: (a: A) => B, order: Order.Order<B>): (self: Chunk<A>) => Chunk<A>;
1013
+ /**
1014
+ * @since 2.0.0
1015
+ * @category sorting
1016
+ */
1017
+ <A, B>(self: Chunk<A>, f: (a: A) => B, order: Order.Order<B>): Chunk<A>;
1018
+ };
1019
+ /**
1020
+ * Returns two splits of this chunk at the specified index.
1021
+ *
1022
+ * @since 2.0.0
1023
+ * @category splitting
1024
+ */
1025
+ export declare const splitAt: {
1026
+ /**
1027
+ * Returns two splits of this chunk at the specified index.
1028
+ *
1029
+ * @since 2.0.0
1030
+ * @category splitting
1031
+ */
1032
+ (n: number): <A>(self: Chunk<A>) => [beforeIndex: Chunk<A>, fromIndex: Chunk<A>];
1033
+ /**
1034
+ * Returns two splits of this chunk at the specified index.
1035
+ *
1036
+ * @since 2.0.0
1037
+ * @category splitting
1038
+ */
1039
+ <A>(self: Chunk<A>, n: number): [beforeIndex: Chunk<A>, fromIndex: Chunk<A>];
1040
+ };
1041
+ /**
1042
+ * Splits a `NonEmptyChunk` into two segments, with the first segment containing a maximum of `n` elements.
1043
+ * The value of `n` must be `>= 1`.
1044
+ *
1045
+ * @category splitting
1046
+ * @since 2.0.0
1047
+ */
1048
+ export declare const splitNonEmptyAt: {
1049
+ /**
1050
+ * Splits a `NonEmptyChunk` into two segments, with the first segment containing a maximum of `n` elements.
1051
+ * The value of `n` must be `>= 1`.
1052
+ *
1053
+ * @category splitting
1054
+ * @since 2.0.0
1055
+ */
1056
+ (n: number): <A>(self: NonEmptyChunk<A>) => [beforeIndex: NonEmptyChunk<A>, fromIndex: Chunk<A>];
1057
+ /**
1058
+ * Splits a `NonEmptyChunk` into two segments, with the first segment containing a maximum of `n` elements.
1059
+ * The value of `n` must be `>= 1`.
1060
+ *
1061
+ * @category splitting
1062
+ * @since 2.0.0
1063
+ */
1064
+ <A>(self: NonEmptyChunk<A>, n: number): [beforeIndex: NonEmptyChunk<A>, fromIndex: Chunk<A>];
1065
+ };
1066
+ /**
1067
+ * Splits this chunk into `n` equally sized chunks.
1068
+ *
1069
+ * @since 2.0.0
1070
+ * @category splitting
1071
+ */
1072
+ export declare const split: {
1073
+ /**
1074
+ * Splits this chunk into `n` equally sized chunks.
1075
+ *
1076
+ * @since 2.0.0
1077
+ * @category splitting
1078
+ */
1079
+ (n: number): <A>(self: Chunk<A>) => Chunk<Chunk<A>>;
1080
+ /**
1081
+ * Splits this chunk into `n` equally sized chunks.
1082
+ *
1083
+ * @since 2.0.0
1084
+ * @category splitting
1085
+ */
1086
+ <A>(self: Chunk<A>, n: number): Chunk<Chunk<A>>;
1087
+ };
1088
+ /**
1089
+ * Splits this chunk on the first element that matches this predicate.
1090
+ * Returns a tuple containing two chunks: the first one is before the match, and the second one is from the match onward.
1091
+ *
1092
+ * @category splitting
1093
+ * @since 2.0.0
1094
+ */
1095
+ export declare const splitWhere: {
1096
+ /**
1097
+ * Splits this chunk on the first element that matches this predicate.
1098
+ * Returns a tuple containing two chunks: the first one is before the match, and the second one is from the match onward.
1099
+ *
1100
+ * @category splitting
1101
+ * @since 2.0.0
1102
+ */
1103
+ <A>(predicate: Predicate<NoInfer<A>>): (self: Chunk<A>) => [beforeMatch: Chunk<A>, fromMatch: Chunk<A>];
1104
+ /**
1105
+ * Splits this chunk on the first element that matches this predicate.
1106
+ * Returns a tuple containing two chunks: the first one is before the match, and the second one is from the match onward.
1107
+ *
1108
+ * @category splitting
1109
+ * @since 2.0.0
1110
+ */
1111
+ <A>(self: Chunk<A>, predicate: Predicate<A>): [beforeMatch: Chunk<A>, fromMatch: Chunk<A>];
1112
+ };
1113
+ /**
1114
+ * Returns every elements after the first.
1115
+ *
1116
+ * @since 2.0.0
1117
+ * @category elements
1118
+ */
1119
+ export declare const tail: <A>(self: Chunk<A>) => Option<Chunk<A>>;
1120
+ /**
1121
+ * Returns every elements after the first.
1122
+ *
1123
+ * @since 2.0.0
1124
+ * @category elements
1125
+ */
1126
+ export declare const tailNonEmpty: <A>(self: NonEmptyChunk<A>) => Chunk<A>;
1127
+ /**
1128
+ * Takes the last `n` elements.
1129
+ *
1130
+ * @since 2.0.0
1131
+ * @category elements
1132
+ */
1133
+ export declare const takeRight: {
1134
+ /**
1135
+ * Takes the last `n` elements.
1136
+ *
1137
+ * @since 2.0.0
1138
+ * @category elements
1139
+ */
1140
+ (n: number): <A>(self: Chunk<A>) => Chunk<A>;
1141
+ /**
1142
+ * Takes the last `n` elements.
1143
+ *
1144
+ * @since 2.0.0
1145
+ * @category elements
1146
+ */
1147
+ <A>(self: Chunk<A>, n: number): Chunk<A>;
1148
+ };
1149
+ /**
1150
+ * Takes all elements so long as the predicate returns true.
1151
+ *
1152
+ * @since 2.0.0
1153
+ * @category elements
1154
+ */
1155
+ export declare const takeWhile: {
1156
+ /**
1157
+ * Takes all elements so long as the predicate returns true.
1158
+ *
1159
+ * @since 2.0.0
1160
+ * @category elements
1161
+ */
1162
+ <A, B extends A>(refinement: Refinement<NoInfer<A>, B>): (self: Chunk<A>) => Chunk<B>;
1163
+ /**
1164
+ * Takes all elements so long as the predicate returns true.
1165
+ *
1166
+ * @since 2.0.0
1167
+ * @category elements
1168
+ */
1169
+ <A>(predicate: Predicate<NoInfer<A>>): (self: Chunk<A>) => Chunk<A>;
1170
+ /**
1171
+ * Takes all elements so long as the predicate returns true.
1172
+ *
1173
+ * @since 2.0.0
1174
+ * @category elements
1175
+ */
1176
+ <A, B extends A>(self: Chunk<A>, refinement: Refinement<A, B>): Chunk<B>;
1177
+ /**
1178
+ * Takes all elements so long as the predicate returns true.
1179
+ *
1180
+ * @since 2.0.0
1181
+ * @category elements
1182
+ */
1183
+ <A>(self: Chunk<A>, predicate: Predicate<A>): Chunk<A>;
1184
+ };
1185
+ /**
1186
+ * Creates a Chunks of unique values, in order, from all given Chunks.
1187
+ *
1188
+ * @since 2.0.0
1189
+ * @category elements
1190
+ */
1191
+ export declare const union: {
1192
+ /**
1193
+ * Creates a Chunks of unique values, in order, from all given Chunks.
1194
+ *
1195
+ * @since 2.0.0
1196
+ * @category elements
1197
+ */
1198
+ <A>(that: Chunk<A>): <B>(self: Chunk<B>) => Chunk<A | B>;
1199
+ /**
1200
+ * Creates a Chunks of unique values, in order, from all given Chunks.
1201
+ *
1202
+ * @since 2.0.0
1203
+ * @category elements
1204
+ */
1205
+ <A, B>(self: Chunk<A>, that: Chunk<B>): Chunk<A | B>;
1206
+ };
1207
+ /**
1208
+ * Remove duplicates from an array, keeping the first occurrence of an element.
1209
+ *
1210
+ * @since 2.0.0
1211
+ * @category elements
1212
+ */
1213
+ export declare const dedupe: <A>(self: Chunk<A>) => Chunk<A>;
1214
+ /**
1215
+ * Deduplicates adjacent elements that are identical.
1216
+ *
1217
+ * @since 2.0.0
1218
+ * @category filtering
1219
+ */
1220
+ export declare const dedupeAdjacent: <A>(self: Chunk<A>) => Chunk<A>;
1221
+ /**
1222
+ * Takes a `Chunk` of pairs and return two corresponding `Chunk`s.
1223
+ *
1224
+ * Note: The function is reverse of `zip`.
1225
+ *
1226
+ * @since 2.0.0
1227
+ * @category elements
1228
+ */
1229
+ export declare const unzip: <A, B>(self: Chunk<readonly [A, B]>) => [Chunk<A>, Chunk<B>];
1230
+ /**
1231
+ * Zips this chunk pointwise with the specified chunk using the specified combiner.
1232
+ *
1233
+ * @since 2.0.0
1234
+ * @category zipping
1235
+ */
1236
+ export declare const zipWith: {
1237
+ /**
1238
+ * Zips this chunk pointwise with the specified chunk using the specified combiner.
1239
+ *
1240
+ * @since 2.0.0
1241
+ * @category zipping
1242
+ */
1243
+ <A, B, C>(that: Chunk<B>, f: (a: A, b: B) => C): (self: Chunk<A>) => Chunk<C>;
1244
+ /**
1245
+ * Zips this chunk pointwise with the specified chunk using the specified combiner.
1246
+ *
1247
+ * @since 2.0.0
1248
+ * @category zipping
1249
+ */
1250
+ <A, B, C>(self: Chunk<A>, that: Chunk<B>, f: (a: A, b: B) => C): Chunk<C>;
1251
+ };
1252
+ /**
1253
+ * Zips this chunk pointwise with the specified chunk.
1254
+ *
1255
+ * @since 2.0.0
1256
+ * @category zipping
1257
+ */
1258
+ export declare const zip: {
1259
+ /**
1260
+ * Zips this chunk pointwise with the specified chunk.
1261
+ *
1262
+ * @since 2.0.0
1263
+ * @category zipping
1264
+ */
1265
+ <B>(that: Chunk<B>): <A>(self: Chunk<A>) => Chunk<[A, B]>;
1266
+ /**
1267
+ * Zips this chunk pointwise with the specified chunk.
1268
+ *
1269
+ * @since 2.0.0
1270
+ * @category zipping
1271
+ */
1272
+ <A, B>(self: Chunk<A>, that: Chunk<B>): Chunk<[A, B]>;
1273
+ };
1274
+ /**
1275
+ * Delete the element at the specified index, creating a new `Chunk`.
1276
+ *
1277
+ * @since 2.0.0
1278
+ */
1279
+ export declare const remove: {
1280
+ /**
1281
+ * Delete the element at the specified index, creating a new `Chunk`.
1282
+ *
1283
+ * @since 2.0.0
1284
+ */
1285
+ (i: number): <A>(self: Chunk<A>) => Chunk<A>;
1286
+ /**
1287
+ * Delete the element at the specified index, creating a new `Chunk`.
1288
+ *
1289
+ * @since 2.0.0
1290
+ */
1291
+ <A>(self: Chunk<A>, i: number): Chunk<A>;
1292
+ };
1293
+ /**
1294
+ * @since 3.16.0
1295
+ */
1296
+ export declare const removeOption: {
1297
+ /**
1298
+ * @since 3.16.0
1299
+ */
1300
+ (i: number): <A>(self: Chunk<A>) => Option<Chunk<A>>;
1301
+ /**
1302
+ * @since 3.16.0
1303
+ */
1304
+ <A>(self: Chunk<A>, i: number): Option<Chunk<A>>;
1305
+ };
1306
+ /**
1307
+ * @since 2.0.0
1308
+ */
1309
+ export declare const modifyOption: {
1310
+ /**
1311
+ * @since 2.0.0
1312
+ */
1313
+ <A, B>(i: number, f: (a: A) => B): (self: Chunk<A>) => Option<Chunk<A | B>>;
1314
+ /**
1315
+ * @since 2.0.0
1316
+ */
1317
+ <A, B>(self: Chunk<A>, i: number, f: (a: A) => B): Option<Chunk<A | B>>;
1318
+ };
1319
+ /**
1320
+ * Apply a function to the element at the specified index, creating a new `Chunk`,
1321
+ * or returning the input if the index is out of bounds.
1322
+ *
1323
+ * @since 2.0.0
1324
+ */
1325
+ export declare const modify: {
1326
+ /**
1327
+ * Apply a function to the element at the specified index, creating a new `Chunk`,
1328
+ * or returning the input if the index is out of bounds.
1329
+ *
1330
+ * @since 2.0.0
1331
+ */
1332
+ <A, B>(i: number, f: (a: A) => B): (self: Chunk<A>) => Chunk<A | B>;
1333
+ /**
1334
+ * Apply a function to the element at the specified index, creating a new `Chunk`,
1335
+ * or returning the input if the index is out of bounds.
1336
+ *
1337
+ * @since 2.0.0
1338
+ */
1339
+ <A, B>(self: Chunk<A>, i: number, f: (a: A) => B): Chunk<A | B>;
1340
+ };
1341
+ /**
1342
+ * Change the element at the specified index, creating a new `Chunk`,
1343
+ * or returning the input if the index is out of bounds.
1344
+ *
1345
+ * @since 2.0.0
1346
+ */
1347
+ export declare const replace: {
1348
+ /**
1349
+ * Change the element at the specified index, creating a new `Chunk`,
1350
+ * or returning the input if the index is out of bounds.
1351
+ *
1352
+ * @since 2.0.0
1353
+ */
1354
+ <B>(i: number, b: B): <A>(self: Chunk<A>) => Chunk<B | A>;
1355
+ /**
1356
+ * Change the element at the specified index, creating a new `Chunk`,
1357
+ * or returning the input if the index is out of bounds.
1358
+ *
1359
+ * @since 2.0.0
1360
+ */
1361
+ <A, B>(self: Chunk<A>, i: number, b: B): Chunk<B | A>;
1362
+ };
1363
+ /**
1364
+ * @since 2.0.0
1365
+ */
1366
+ export declare const replaceOption: {
1367
+ /**
1368
+ * @since 2.0.0
1369
+ */
1370
+ <B>(i: number, b: B): <A>(self: Chunk<A>) => Option<Chunk<B | A>>;
1371
+ /**
1372
+ * @since 2.0.0
1373
+ */
1374
+ <A, B>(self: Chunk<A>, i: number, b: B): Option<Chunk<B | A>>;
1375
+ };
1376
+ /**
1377
+ * Return a Chunk of length n with element i initialized with f(i).
1378
+ *
1379
+ * **Note**. `n` is normalized to an integer >= 1.
1380
+ *
1381
+ * @category constructors
1382
+ * @since 2.0.0
1383
+ */
1384
+ export declare const makeBy: {
1385
+ /**
1386
+ * Return a Chunk of length n with element i initialized with f(i).
1387
+ *
1388
+ * **Note**. `n` is normalized to an integer >= 1.
1389
+ *
1390
+ * @category constructors
1391
+ * @since 2.0.0
1392
+ */
1393
+ <A>(f: (i: number) => A): (n: number) => NonEmptyChunk<A>;
1394
+ /**
1395
+ * Return a Chunk of length n with element i initialized with f(i).
1396
+ *
1397
+ * **Note**. `n` is normalized to an integer >= 1.
1398
+ *
1399
+ * @category constructors
1400
+ * @since 2.0.0
1401
+ */
1402
+ <A>(n: number, f: (i: number) => A): NonEmptyChunk<A>;
1403
+ };
1404
+ /**
1405
+ * Create a non empty `Chunk` containing a range of integers, including both endpoints.
1406
+ *
1407
+ * @category constructors
1408
+ * @since 2.0.0
1409
+ */
1410
+ export declare const range: (start: number, end: number) => NonEmptyChunk<number>;
1411
+ /**
1412
+ * Returns a function that checks if a `Chunk` contains a given value using the default `Equivalence`.
1413
+ *
1414
+ * @category elements
1415
+ * @since 2.0.0
1416
+ */
1417
+ export declare const contains: {
1418
+ /**
1419
+ * Returns a function that checks if a `Chunk` contains a given value using the default `Equivalence`.
1420
+ *
1421
+ * @category elements
1422
+ * @since 2.0.0
1423
+ */
1424
+ <A>(a: A): (self: Chunk<A>) => boolean;
1425
+ /**
1426
+ * Returns a function that checks if a `Chunk` contains a given value using the default `Equivalence`.
1427
+ *
1428
+ * @category elements
1429
+ * @since 2.0.0
1430
+ */
1431
+ <A>(self: Chunk<A>, a: A): boolean;
1432
+ };
1433
+ /**
1434
+ * Returns a function that checks if a `Chunk` contains a given value using a provided `isEquivalent` function.
1435
+ *
1436
+ * @category elements
1437
+ * @since 2.0.0
1438
+ */
1439
+ export declare const containsWith: <A>(isEquivalent: (self: A, that: A) => boolean) => {
1440
+ (a: A): (self: Chunk<A>) => boolean;
1441
+ (self: Chunk<A>, a: A): boolean;
1442
+ };
1443
+ /**
1444
+ * Returns the first element that satisfies the specified
1445
+ * predicate, or `None` if no such element exists.
1446
+ *
1447
+ * @category elements
1448
+ * @since 2.0.0
1449
+ */
1450
+ export declare const findFirst: {
1451
+ /**
1452
+ * Returns the first element that satisfies the specified
1453
+ * predicate, or `None` if no such element exists.
1454
+ *
1455
+ * @category elements
1456
+ * @since 2.0.0
1457
+ */
1458
+ <A, B extends A>(refinement: Refinement<NoInfer<A>, B>): (self: Chunk<A>) => Option<B>;
1459
+ /**
1460
+ * Returns the first element that satisfies the specified
1461
+ * predicate, or `None` if no such element exists.
1462
+ *
1463
+ * @category elements
1464
+ * @since 2.0.0
1465
+ */
1466
+ <A>(predicate: Predicate<NoInfer<A>>): (self: Chunk<A>) => Option<A>;
1467
+ /**
1468
+ * Returns the first element that satisfies the specified
1469
+ * predicate, or `None` if no such element exists.
1470
+ *
1471
+ * @category elements
1472
+ * @since 2.0.0
1473
+ */
1474
+ <A, B extends A>(self: Chunk<A>, refinement: Refinement<A, B>): Option<B>;
1475
+ /**
1476
+ * Returns the first element that satisfies the specified
1477
+ * predicate, or `None` if no such element exists.
1478
+ *
1479
+ * @category elements
1480
+ * @since 2.0.0
1481
+ */
1482
+ <A>(self: Chunk<A>, predicate: Predicate<A>): Option<A>;
1483
+ };
1484
+ /**
1485
+ * Return the first index for which a predicate holds.
1486
+ *
1487
+ * @category elements
1488
+ * @since 2.0.0
1489
+ */
1490
+ export declare const findFirstIndex: {
1491
+ /**
1492
+ * Return the first index for which a predicate holds.
1493
+ *
1494
+ * @category elements
1495
+ * @since 2.0.0
1496
+ */
1497
+ <A>(predicate: Predicate<A>): (self: Chunk<A>) => Option<number>;
1498
+ /**
1499
+ * Return the first index for which a predicate holds.
1500
+ *
1501
+ * @category elements
1502
+ * @since 2.0.0
1503
+ */
1504
+ <A>(self: Chunk<A>, predicate: Predicate<A>): Option<number>;
1505
+ };
1506
+ /**
1507
+ * Find the last element for which a predicate holds.
1508
+ *
1509
+ * @category elements
1510
+ * @since 2.0.0
1511
+ */
1512
+ export declare const findLast: {
1513
+ /**
1514
+ * Find the last element for which a predicate holds.
1515
+ *
1516
+ * @category elements
1517
+ * @since 2.0.0
1518
+ */
1519
+ <A, B extends A>(refinement: Refinement<NoInfer<A>, B>): (self: Chunk<A>) => Option<B>;
1520
+ /**
1521
+ * Find the last element for which a predicate holds.
1522
+ *
1523
+ * @category elements
1524
+ * @since 2.0.0
1525
+ */
1526
+ <A>(predicate: Predicate<NoInfer<A>>): (self: Chunk<A>) => Option<A>;
1527
+ /**
1528
+ * Find the last element for which a predicate holds.
1529
+ *
1530
+ * @category elements
1531
+ * @since 2.0.0
1532
+ */
1533
+ <A, B extends A>(self: Chunk<A>, refinement: Refinement<A, B>): Option<B>;
1534
+ /**
1535
+ * Find the last element for which a predicate holds.
1536
+ *
1537
+ * @category elements
1538
+ * @since 2.0.0
1539
+ */
1540
+ <A>(self: Chunk<A>, predicate: Predicate<A>): Option<A>;
1541
+ };
1542
+ /**
1543
+ * Return the last index for which a predicate holds.
1544
+ *
1545
+ * @category elements
1546
+ * @since 2.0.0
1547
+ */
1548
+ export declare const findLastIndex: {
1549
+ /**
1550
+ * Return the last index for which a predicate holds.
1551
+ *
1552
+ * @category elements
1553
+ * @since 2.0.0
1554
+ */
1555
+ <A>(predicate: Predicate<A>): (self: Chunk<A>) => Option<number>;
1556
+ /**
1557
+ * Return the last index for which a predicate holds.
1558
+ *
1559
+ * @category elements
1560
+ * @since 2.0.0
1561
+ */
1562
+ <A>(self: Chunk<A>, predicate: Predicate<A>): Option<number>;
1563
+ };
1564
+ /**
1565
+ * Check if a predicate holds true for every `Chunk` element.
1566
+ *
1567
+ * @category elements
1568
+ * @since 2.0.0
1569
+ */
1570
+ export declare const every: {
1571
+ /**
1572
+ * Check if a predicate holds true for every `Chunk` element.
1573
+ *
1574
+ * @category elements
1575
+ * @since 2.0.0
1576
+ */
1577
+ <A, B extends A>(refinement: Refinement<NoInfer<A>, B>): (self: Chunk<A>) => self is Chunk<B>;
1578
+ /**
1579
+ * Check if a predicate holds true for every `Chunk` element.
1580
+ *
1581
+ * @category elements
1582
+ * @since 2.0.0
1583
+ */
1584
+ <A>(predicate: Predicate<A>): (self: Chunk<A>) => boolean;
1585
+ /**
1586
+ * Check if a predicate holds true for every `Chunk` element.
1587
+ *
1588
+ * @category elements
1589
+ * @since 2.0.0
1590
+ */
1591
+ <A, B extends A>(self: Chunk<A>, refinement: Refinement<A, B>): self is Chunk<B>;
1592
+ /**
1593
+ * Check if a predicate holds true for every `Chunk` element.
1594
+ *
1595
+ * @category elements
1596
+ * @since 2.0.0
1597
+ */
1598
+ <A>(self: Chunk<A>, predicate: Predicate<A>): boolean;
1599
+ };
1600
+ /**
1601
+ * Check if a predicate holds true for some `Chunk` element.
1602
+ *
1603
+ * @category elements
1604
+ * @since 2.0.0
1605
+ */
1606
+ export declare const some: {
1607
+ /**
1608
+ * Check if a predicate holds true for some `Chunk` element.
1609
+ *
1610
+ * @category elements
1611
+ * @since 2.0.0
1612
+ */
1613
+ <A>(predicate: Predicate<NoInfer<A>>): (self: Chunk<A>) => self is NonEmptyChunk<A>;
1614
+ /**
1615
+ * Check if a predicate holds true for some `Chunk` element.
1616
+ *
1617
+ * @category elements
1618
+ * @since 2.0.0
1619
+ */
1620
+ <A>(self: Chunk<A>, predicate: Predicate<A>): self is NonEmptyChunk<A>;
1621
+ };
1622
+ /**
1623
+ * Joins the elements together with "sep" in the middle.
1624
+ *
1625
+ * @category folding
1626
+ * @since 2.0.0
1627
+ */
1628
+ export declare const join: {
1629
+ /**
1630
+ * Joins the elements together with "sep" in the middle.
1631
+ *
1632
+ * @category folding
1633
+ * @since 2.0.0
1634
+ */
1635
+ (sep: string): (self: Chunk<string>) => string;
1636
+ /**
1637
+ * Joins the elements together with "sep" in the middle.
1638
+ *
1639
+ * @category folding
1640
+ * @since 2.0.0
1641
+ */
1642
+ (self: Chunk<string>, sep: string): string;
1643
+ };
1644
+ /**
1645
+ * @category folding
1646
+ * @since 2.0.0
1647
+ */
1648
+ export declare const reduce: {
1649
+ /**
1650
+ * @category folding
1651
+ * @since 2.0.0
1652
+ */
1653
+ <B, A>(b: B, f: (b: B, a: A, i: number) => B): (self: Chunk<A>) => B;
1654
+ /**
1655
+ * @category folding
1656
+ * @since 2.0.0
1657
+ */
1658
+ <A, B>(self: Chunk<A>, b: B, f: (b: B, a: A, i: number) => B): B;
1659
+ };
1660
+ /**
1661
+ * @category folding
1662
+ * @since 2.0.0
1663
+ */
1664
+ export declare const reduceRight: {
1665
+ /**
1666
+ * @category folding
1667
+ * @since 2.0.0
1668
+ */
1669
+ <B, A>(b: B, f: (b: B, a: A, i: number) => B): (self: Chunk<A>) => B;
1670
+ /**
1671
+ * @category folding
1672
+ * @since 2.0.0
1673
+ */
1674
+ <A, B>(self: Chunk<A>, b: B, f: (b: B, a: A, i: number) => B): B;
1675
+ };
1676
+ /**
1677
+ * Creates a `Chunk` of values not included in the other given `Chunk` using the provided `isEquivalent` function.
1678
+ * The order and references of result values are determined by the first `Chunk`.
1679
+ *
1680
+ * @since 3.2.0
1681
+ */
1682
+ export declare const differenceWith: <A>(isEquivalent: (self: A, that: A) => boolean) => {
1683
+ (that: Chunk<A>): (self: Chunk<A>) => Chunk<A>;
1684
+ (self: Chunk<A>, that: Chunk<A>): Chunk<A>;
1685
+ };
1686
+ /**
1687
+ * Creates a `Chunk` of values not included in the other given `Chunk`.
1688
+ * The order and references of result values are determined by the first `Chunk`.
1689
+ *
1690
+ * @since 3.2.0
1691
+ */
1692
+ export declare const difference: {
1693
+ /**
1694
+ * Creates a `Chunk` of values not included in the other given `Chunk`.
1695
+ * The order and references of result values are determined by the first `Chunk`.
1696
+ *
1697
+ * @since 3.2.0
1698
+ */
1699
+ <A>(that: Chunk<A>): (self: Chunk<A>) => Chunk<A>;
1700
+ /**
1701
+ * Creates a `Chunk` of values not included in the other given `Chunk`.
1702
+ * The order and references of result values are determined by the first `Chunk`.
1703
+ *
1704
+ * @since 3.2.0
1705
+ */
1706
+ <A>(self: Chunk<A>, that: Chunk<A>): Chunk<A>;
1707
+ };
1708
+ export {};
1709
+ //# sourceMappingURL=Chunk.d.ts.map
backend/node_modules/effect/dist/dts/Chunk.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Chunk.d.ts","sourceRoot":"","sources":["../../src/Chunk.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAA;AAChC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAA;AAG/C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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Brand from "./Brand.js";
5
+ import type * as Chunk from "./Chunk.js";
6
+ import type * as ConfigError from "./ConfigError.js";
7
+ import type * as Duration from "./Duration.js";
8
+ import type * as Effect from "./Effect.js";
9
+ import type * as Either from "./Either.js";
10
+ import type { LazyArg } from "./Function.js";
11
+ import type * as HashMap from "./HashMap.js";
12
+ import type * as HashSet from "./HashSet.js";
13
+ import type * as LogLevel from "./LogLevel.js";
14
+ import type * as Option from "./Option.js";
15
+ import type { Predicate, Refinement } from "./Predicate.js";
16
+ import type * as Redacted from "./Redacted.js";
17
+ import type * as Secret from "./Secret.js";
18
+ import type * as Types from "./Types.js";
19
+ /**
20
+ * @since 2.0.0
21
+ * @category symbols
22
+ */
23
+ export declare const ConfigTypeId: unique symbol;
24
+ /**
25
+ * @since 2.0.0
26
+ * @category symbols
27
+ */
28
+ export type ConfigTypeId = typeof ConfigTypeId;
29
+ /**
30
+ * A `Config` describes the structure of some configuration data.
31
+ *
32
+ * @since 2.0.0
33
+ * @category models
34
+ */
35
+ export interface Config<out A> extends Config.Variance<A>, Effect.Effect<A, ConfigError.ConfigError> {
36
+ }
37
+ /**
38
+ * @since 2.0.0
39
+ */
40
+ export declare namespace Config {
41
+ /**
42
+ * @since 2.0.0
43
+ * @category models
44
+ */
45
+ interface Variance<out A> {
46
+ readonly [ConfigTypeId]: {
47
+ readonly _A: Types.Covariant<A>;
48
+ };
49
+ }
50
+ /**
51
+ * @since 2.5.0
52
+ * @category models
53
+ */
54
+ type Success<T extends Config<any>> = [T] extends [Config<infer _A>] ? _A : never;
55
+ /**
56
+ * @since 2.0.0
57
+ * @category models
58
+ */
59
+ interface Primitive<out A> extends Config<A> {
60
+ readonly description: string;
61
+ parse(text: string): Either.Either<A, ConfigError.ConfigError>;
62
+ }
63
+ /**
64
+ * Wraps a nested structure, converting all primitives to a `Config`.
65
+ *
66
+ * `Config.Wrap<{ key: string }>` becomes `{ key: Config<string> }`
67
+ *
68
+ * To create the resulting config, use the `unwrap` constructor.
69
+ *
70
+ * @since 2.0.0
71
+ * @category models
72
+ */
73
+ type Wrap<A> = [NonNullable<A>] extends [infer T] ? [IsPlainObject<T>] extends [true] ? {
74
+ readonly [K in keyof A]: Wrap<A[K]>;
75
+ } | Config<A> : Config<A> : Config<A>;
76
+ type IsPlainObject<A> = [A] extends [Record<string, any>] ? [keyof A] extends [never] ? false : [keyof A] extends [string] ? true : false : false;
77
+ }
78
+ /**
79
+ * @since 2.0.0
80
+ * @category models
81
+ */
82
+ export type LiteralValue = string | number | boolean | null | bigint;
83
+ /**
84
+ * Constructs a config from a tuple / struct / arguments of configs.
85
+ *
86
+ * @since 2.0.0
87
+ * @category constructors
88
+ */
89
+ export declare const all: <const Arg extends Iterable<Config<any>> | Record<string, Config<any>>>(arg: Arg) => Config<[
90
+ Arg
91
+ ] extends [ReadonlyArray<Config<any>>] ? {
92
+ -readonly [K in keyof Arg]: [Arg[K]] extends [Config<infer A>] ? A : never;
93
+ } : [Arg] extends [Iterable<Config<infer A>>] ? Array<A> : [Arg] extends [Record<string, Config<any>>] ? {
94
+ -readonly [K in keyof Arg]: [Arg[K]] extends [Config<infer A>] ? A : never;
95
+ } : never>;
96
+ /**
97
+ * Constructs a config for an array of values.
98
+ *
99
+ * @since 2.0.0
100
+ * @category constructors
101
+ */
102
+ export declare const array: <A>(config: Config<A>, name?: string) => Config<Array<A>>;
103
+ /**
104
+ * Constructs a config for a boolean value.
105
+ *
106
+ * @since 2.0.0
107
+ * @category constructors
108
+ */
109
+ export declare const boolean: (name?: string) => Config<boolean>;
110
+ /**
111
+ * Constructs a config for a network port [1, 65535].
112
+ *
113
+ * @since 3.16.0
114
+ * @category constructors
115
+ */
116
+ export declare const port: (name?: string) => Config<number>;
117
+ /**
118
+ * Constructs a config for an URL value.
119
+ *
120
+ * @since 3.11.0
121
+ * @category constructors
122
+ */
123
+ export declare const url: (name?: string) => Config<URL>;
124
+ /**
125
+ * Constructs a config for a sequence of values.
126
+ *
127
+ * @since 2.0.0
128
+ * @category constructors
129
+ */
130
+ export declare const chunk: <A>(config: Config<A>, name?: string) => Config<Chunk.Chunk<A>>;
131
+ /**
132
+ * Constructs a config for a date value.
133
+ *
134
+ * @since 2.0.0
135
+ * @category constructors
136
+ */
137
+ export declare const date: (name?: string) => Config<Date>;
138
+ /**
139
+ * Constructs a config that fails with the specified message.
140
+ *
141
+ * @since 2.0.0
142
+ * @category constructors
143
+ */
144
+ export declare const fail: (message: string) => Config<never>;
145
+ /**
146
+ * Constructs a config for a float value.
147
+ *
148
+ * @since 2.0.0
149
+ * @category constructors
150
+ */
151
+ export declare const number: (name?: string) => Config<number>;
152
+ /**
153
+ * Constructs a config for a integer value.
154
+ *
155
+ * @since 2.0.0
156
+ * @category constructors
157
+ */
158
+ export declare const integer: (name?: string) => Config<number>;
159
+ /**
160
+ * Constructs a config for a literal value.
161
+ *
162
+ * **Example**
163
+ *
164
+ * ```ts
165
+ * import { Config } from "effect"
166
+ *
167
+ * const config = Config.literal("http", "https")("PROTOCOL")
168
+ * ```
169
+ *
170
+ * @since 2.0.0
171
+ * @category constructors
172
+ */
173
+ export declare const literal: <Literals extends ReadonlyArray<LiteralValue>>(...literals: Literals) => (name?: string) => Config<Literals[number]>;
174
+ /**
175
+ * Constructs a config for a `LogLevel` value.
176
+ *
177
+ * @since 2.0.0
178
+ * @category constructors
179
+ */
180
+ export declare const logLevel: (name?: string) => Config<LogLevel.LogLevel>;
181
+ /**
182
+ * Constructs a config for a duration value.
183
+ *
184
+ * @since 2.5.0
185
+ * @category constructors
186
+ */
187
+ export declare const duration: (name?: string) => Config<Duration.Duration>;
188
+ /**
189
+ * This function returns `true` if the specified value is an `Config` value,
190
+ * `false` otherwise.
191
+ *
192
+ * This function can be useful for checking the type of a value before
193
+ * attempting to operate on it as an `Config` value. For example, you could
194
+ * use `isConfig` to check the type of a value before using it as an
195
+ * argument to a function that expects an `Config` value.
196
+ *
197
+ * @since 2.0.0
198
+ * @category refinements
199
+ */
200
+ export declare const isConfig: (u: unknown) => u is Config<unknown>;
201
+ /**
202
+ * Returns a config whose structure is the same as this one, but which produces
203
+ * a different value, constructed using the specified function.
204
+ *
205
+ * @since 2.0.0
206
+ * @category mapping
207
+ */
208
+ export declare const map: {
209
+ /**
210
+ * Returns a config whose structure is the same as this one, but which produces
211
+ * a different value, constructed using the specified function.
212
+ *
213
+ * @since 2.0.0
214
+ * @category mapping
215
+ */
216
+ <A, B>(f: (a: A) => B): (self: Config<A>) => Config<B>;
217
+ /**
218
+ * Returns a config whose structure is the same as this one, but which produces
219
+ * a different value, constructed using the specified function.
220
+ *
221
+ * @since 2.0.0
222
+ * @category mapping
223
+ */
224
+ <A, B>(self: Config<A>, f: (a: A) => B): Config<B>;
225
+ };
226
+ /**
227
+ * Returns a config whose structure is the same as this one, but which may
228
+ * produce a different value, constructed using the specified function, which
229
+ * may throw exceptions that will be translated into validation errors.
230
+ *
231
+ * @since 2.0.0
232
+ * @category utils
233
+ */
234
+ export declare const mapAttempt: {
235
+ /**
236
+ * Returns a config whose structure is the same as this one, but which may
237
+ * produce a different value, constructed using the specified function, which
238
+ * may throw exceptions that will be translated into validation errors.
239
+ *
240
+ * @since 2.0.0
241
+ * @category utils
242
+ */
243
+ <A, B>(f: (a: A) => B): (self: Config<A>) => Config<B>;
244
+ /**
245
+ * Returns a config whose structure is the same as this one, but which may
246
+ * produce a different value, constructed using the specified function, which
247
+ * may throw exceptions that will be translated into validation errors.
248
+ *
249
+ * @since 2.0.0
250
+ * @category utils
251
+ */
252
+ <A, B>(self: Config<A>, f: (a: A) => B): Config<B>;
253
+ };
254
+ /**
255
+ * Returns a new config whose structure is the samea as this one, but which
256
+ * may produce a different value, constructed using the specified fallible
257
+ * function.
258
+ *
259
+ * @since 2.0.0
260
+ * @category utils
261
+ */
262
+ export declare const mapOrFail: {
263
+ /**
264
+ * Returns a new config whose structure is the samea as this one, but which
265
+ * may produce a different value, constructed using the specified fallible
266
+ * function.
267
+ *
268
+ * @since 2.0.0
269
+ * @category utils
270
+ */
271
+ <A, B>(f: (a: A) => Either.Either<B, ConfigError.ConfigError>): (self: Config<A>) => Config<B>;
272
+ /**
273
+ * Returns a new config whose structure is the samea as this one, but which
274
+ * may produce a different value, constructed using the specified fallible
275
+ * function.
276
+ *
277
+ * @since 2.0.0
278
+ * @category utils
279
+ */
280
+ <A, B>(self: Config<A>, f: (a: A) => Either.Either<B, ConfigError.ConfigError>): Config<B>;
281
+ };
282
+ /**
283
+ * Returns a config that has this configuration nested as a property of the
284
+ * specified name.
285
+ *
286
+ * @since 2.0.0
287
+ * @category utils
288
+ */
289
+ export declare const nested: {
290
+ /**
291
+ * Returns a config that has this configuration nested as a property of the
292
+ * specified name.
293
+ *
294
+ * @since 2.0.0
295
+ * @category utils
296
+ */
297
+ (name: string): <A>(self: Config<A>) => Config<A>;
298
+ /**
299
+ * Returns a config that has this configuration nested as a property of the
300
+ * specified name.
301
+ *
302
+ * @since 2.0.0
303
+ * @category utils
304
+ */
305
+ <A>(self: Config<A>, name: string): Config<A>;
306
+ };
307
+ /**
308
+ * Returns a config whose structure is preferentially described by this
309
+ * config, but which falls back to the specified config if there is an issue
310
+ * reading from this config.
311
+ *
312
+ * @since 2.0.0
313
+ * @category utils
314
+ */
315
+ export declare const orElse: {
316
+ /**
317
+ * Returns a config whose structure is preferentially described by this
318
+ * config, but which falls back to the specified config if there is an issue
319
+ * reading from this config.
320
+ *
321
+ * @since 2.0.0
322
+ * @category utils
323
+ */
324
+ <A2>(that: LazyArg<Config<A2>>): <A>(self: Config<A>) => Config<A2 | A>;
325
+ /**
326
+ * Returns a config whose structure is preferentially described by this
327
+ * config, but which falls back to the specified config if there is an issue
328
+ * reading from this config.
329
+ *
330
+ * @since 2.0.0
331
+ * @category utils
332
+ */
333
+ <A, A2>(self: Config<A>, that: LazyArg<Config<A2>>): Config<A | A2>;
334
+ };
335
+ /**
336
+ * Returns configuration which reads from this configuration, but which falls
337
+ * back to the specified configuration if reading from this configuration
338
+ * fails with an error satisfying the specified predicate.
339
+ *
340
+ * @since 2.0.0
341
+ * @category utils
342
+ */
343
+ export declare const orElseIf: {
344
+ /**
345
+ * Returns configuration which reads from this configuration, but which falls
346
+ * back to the specified configuration if reading from this configuration
347
+ * fails with an error satisfying the specified predicate.
348
+ *
349
+ * @since 2.0.0
350
+ * @category utils
351
+ */
352
+ <A2>(options: {
353
+ readonly if: Predicate<ConfigError.ConfigError>;
354
+ readonly orElse: LazyArg<Config<A2>>;
355
+ }): <A>(self: Config<A>) => Config<A | A2>;
356
+ /**
357
+ * Returns configuration which reads from this configuration, but which falls
358
+ * back to the specified configuration if reading from this configuration
359
+ * fails with an error satisfying the specified predicate.
360
+ *
361
+ * @since 2.0.0
362
+ * @category utils
363
+ */
364
+ <A, A2>(self: Config<A>, options: {
365
+ readonly if: Predicate<ConfigError.ConfigError>;
366
+ readonly orElse: LazyArg<Config<A2>>;
367
+ }): Config<A | A2>;
368
+ };
369
+ /**
370
+ * Returns an optional version of this config, which will be `None` if the
371
+ * data is missing from configuration, and `Some` otherwise.
372
+ *
373
+ * @since 2.0.0
374
+ * @category utils
375
+ */
376
+ export declare const option: <A>(self: Config<A>) => Config<Option.Option<A>>;
377
+ /**
378
+ * Constructs a new primitive config.
379
+ *
380
+ * @since 2.0.0
381
+ * @category constructors
382
+ */
383
+ export declare const primitive: <A>(description: string, parse: (text: string) => Either.Either<A, ConfigError.ConfigError>) => Config<A>;
384
+ /**
385
+ * Returns a config that describes a sequence of values, each of which has the
386
+ * structure of this config.
387
+ *
388
+ * @since 2.0.0
389
+ * @category utils
390
+ */
391
+ export declare const repeat: <A>(self: Config<A>) => Config<Array<A>>;
392
+ /**
393
+ * Constructs a config for a secret value.
394
+ *
395
+ * @since 2.0.0
396
+ * @category constructors
397
+ * @deprecated
398
+ */
399
+ export declare const secret: (name?: string) => Config<Secret.Secret>;
400
+ /**
401
+ * Constructs a config for a redacted value.
402
+ *
403
+ * @since 2.0.0
404
+ * @category constructors
405
+ */
406
+ export declare const redacted: {
407
+ /**
408
+ * Constructs a config for a redacted value.
409
+ *
410
+ * @since 2.0.0
411
+ * @category constructors
412
+ */
413
+ (name?: string): Config<Redacted.Redacted>;
414
+ /**
415
+ * Constructs a config for a redacted value.
416
+ *
417
+ * @since 2.0.0
418
+ * @category constructors
419
+ */
420
+ <A>(config: Config<A>): Config<Redacted.Redacted<A>>;
421
+ };
422
+ /**
423
+ * Constructs a config for a branded value.
424
+ *
425
+ * @since 3.16.0
426
+ * @category constructors
427
+ */
428
+ export declare const branded: {
429
+ /**
430
+ * Constructs a config for a branded value.
431
+ *
432
+ * @since 3.16.0
433
+ * @category constructors
434
+ */
435
+ <A, B extends Brand.Branded<A, any>>(constructor: Brand.Brand.Constructor<B>): (config: Config<A>) => Config<B>;
436
+ /**
437
+ * Constructs a config for a branded value.
438
+ *
439
+ * @since 3.16.0
440
+ * @category constructors
441
+ */
442
+ <B extends Brand.Branded<string, any>>(name: string | undefined, constructor: Brand.Brand.Constructor<B>): Config<B>;
443
+ /**
444
+ * Constructs a config for a branded value.
445
+ *
446
+ * @since 3.16.0
447
+ * @category constructors
448
+ */
449
+ <A, B extends Brand.Branded<A, any>>(config: Config<A>, constructor: Brand.Brand.Constructor<B>): Config<B>;
450
+ };
451
+ /**
452
+ * Constructs a config for a sequence of values.
453
+ *
454
+ * @since 2.0.0
455
+ * @category constructors
456
+ */
457
+ export declare const hashSet: <A>(config: Config<A>, name?: string) => Config<HashSet.HashSet<A>>;
458
+ /**
459
+ * Constructs a config for a string value.
460
+ *
461
+ * @since 2.0.0
462
+ * @category constructors
463
+ */
464
+ export declare const string: (name?: string) => Config<string>;
465
+ /**
466
+ * Constructs a config for a non-empty string value.
467
+ *
468
+ * @since 3.7.0
469
+ * @category constructors
470
+ */
471
+ export declare const nonEmptyString: (name?: string) => Config<string>;
472
+ /**
473
+ * Constructs a config which contains the specified value.
474
+ *
475
+ * @since 2.0.0
476
+ * @category constructors
477
+ */
478
+ export declare const succeed: <A>(value: A) => Config<A>;
479
+ /**
480
+ * Lazily constructs a config.
481
+ *
482
+ * @since 2.0.0
483
+ * @category constructors
484
+ */
485
+ export declare const suspend: <A>(config: LazyArg<Config<A>>) => Config<A>;
486
+ /**
487
+ * Constructs a config which contains the specified lazy value.
488
+ *
489
+ * @since 2.0.0
490
+ * @category constructors
491
+ */
492
+ export declare const sync: <A>(value: LazyArg<A>) => Config<A>;
493
+ /**
494
+ * Constructs a config for a sequence of values.
495
+ *
496
+ * @since 2.0.0
497
+ * @category constructors
498
+ */
499
+ export declare const hashMap: <A>(config: Config<A>, name?: string) => Config<HashMap.HashMap<string, A>>;
500
+ /**
501
+ * Constructs a config from some configuration wrapped with the `Wrap<A>` utility type.
502
+ *
503
+ * For example:
504
+ *
505
+ * ```
506
+ * import { Config, unwrap } from "./Config"
507
+ *
508
+ * interface Options { key: string }
509
+ *
510
+ * const makeConfig = (config: Config.Wrap<Options>): Config<Options> => unwrap(config)
511
+ * ```
512
+ *
513
+ * @since 2.0.0
514
+ * @category constructors
515
+ */
516
+ export declare const unwrap: <A>(wrapped: Config.Wrap<A>) => Config<A>;
517
+ /**
518
+ * Returns a config that describes the same structure as this one, but which
519
+ * performs validation during loading.
520
+ *
521
+ * @since 2.0.0
522
+ * @category utils
523
+ */
524
+ export declare const validate: {
525
+ /**
526
+ * Returns a config that describes the same structure as this one, but which
527
+ * performs validation during loading.
528
+ *
529
+ * @since 2.0.0
530
+ * @category utils
531
+ */
532
+ <A, B extends A>(options: {
533
+ readonly message: string;
534
+ readonly validation: Refinement<A, B>;
535
+ }): (self: Config<A>) => Config<B>;
536
+ /**
537
+ * Returns a config that describes the same structure as this one, but which
538
+ * performs validation during loading.
539
+ *
540
+ * @since 2.0.0
541
+ * @category utils
542
+ */
543
+ <A>(options: {
544
+ readonly message: string;
545
+ readonly validation: Predicate<A>;
546
+ }): (self: Config<A>) => Config<A>;
547
+ /**
548
+ * Returns a config that describes the same structure as this one, but which
549
+ * performs validation during loading.
550
+ *
551
+ * @since 2.0.0
552
+ * @category utils
553
+ */
554
+ <A, B extends A>(self: Config<A>, options: {
555
+ readonly message: string;
556
+ readonly validation: Refinement<A, B>;
557
+ }): Config<B>;
558
+ /**
559
+ * Returns a config that describes the same structure as this one, but which
560
+ * performs validation during loading.
561
+ *
562
+ * @since 2.0.0
563
+ * @category utils
564
+ */
565
+ <A>(self: Config<A>, options: {
566
+ readonly message: string;
567
+ readonly validation: Predicate<A>;
568
+ }): Config<A>;
569
+ };
570
+ /**
571
+ * Returns a config that describes the same structure as this one, but has the
572
+ * specified default value in case the information cannot be found.
573
+ *
574
+ * @since 2.0.0
575
+ * @category utils
576
+ */
577
+ export declare const withDefault: {
578
+ /**
579
+ * Returns a config that describes the same structure as this one, but has the
580
+ * specified default value in case the information cannot be found.
581
+ *
582
+ * @since 2.0.0
583
+ * @category utils
584
+ */
585
+ <const A2>(def: A2): <A>(self: Config<A>) => Config<A2 | A>;
586
+ /**
587
+ * Returns a config that describes the same structure as this one, but has the
588
+ * specified default value in case the information cannot be found.
589
+ *
590
+ * @since 2.0.0
591
+ * @category utils
592
+ */
593
+ <A, const A2>(self: Config<A>, def: A2): Config<A | A2>;
594
+ };
595
+ /**
596
+ * Adds a description to this configuration, which is intended for humans.
597
+ *
598
+ * @since 2.0.0
599
+ * @category utils
600
+ */
601
+ export declare const withDescription: {
602
+ /**
603
+ * Adds a description to this configuration, which is intended for humans.
604
+ *
605
+ * @since 2.0.0
606
+ * @category utils
607
+ */
608
+ (description: string): <A>(self: Config<A>) => Config<A>;
609
+ /**
610
+ * Adds a description to this configuration, which is intended for humans.
611
+ *
612
+ * @since 2.0.0
613
+ * @category utils
614
+ */
615
+ <A>(self: Config<A>, description: string): Config<A>;
616
+ };
617
+ /**
618
+ * Returns a config that is the composition of this config and the specified
619
+ * config.
620
+ *
621
+ * @since 2.0.0
622
+ * @category zipping
623
+ */
624
+ export declare const zip: {
625
+ /**
626
+ * Returns a config that is the composition of this config and the specified
627
+ * config.
628
+ *
629
+ * @since 2.0.0
630
+ * @category zipping
631
+ */
632
+ <B>(that: Config<B>): <A>(self: Config<A>) => Config<[A, B]>;
633
+ /**
634
+ * Returns a config that is the composition of this config and the specified
635
+ * config.
636
+ *
637
+ * @since 2.0.0
638
+ * @category zipping
639
+ */
640
+ <A, B>(self: Config<A>, that: Config<B>): Config<[A, B]>;
641
+ };
642
+ /**
643
+ * Returns a config that is the composes this config and the specified config
644
+ * using the provided function.
645
+ *
646
+ * @since 2.0.0
647
+ * @category zipping
648
+ */
649
+ export declare const zipWith: {
650
+ /**
651
+ * Returns a config that is the composes this config and the specified config
652
+ * using the provided function.
653
+ *
654
+ * @since 2.0.0
655
+ * @category zipping
656
+ */
657
+ <B, A, C>(that: Config<B>, f: (a: A, b: B) => C): (self: Config<A>) => Config<C>;
658
+ /**
659
+ * Returns a config that is the composes this config and the specified config
660
+ * using the provided function.
661
+ *
662
+ * @since 2.0.0
663
+ * @category zipping
664
+ */
665
+ <A, B, C>(self: Config<A>, that: Config<B>, f: (a: A, b: B) => C): Config<C>;
666
+ };
667
+ //# sourceMappingURL=Config.d.ts.map
backend/node_modules/effect/dist/dts/Config.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,KAAK,WAAW,MAAM,kBAAkB,CAAA;AACpD,OAAO,KAAK,KAAK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AAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;CAC1D,CAAA"}
backend/node_modules/effect/dist/dts/ConfigError.d.ts ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Cause from "./Cause.js";
5
+ /**
6
+ * @since 2.0.0
7
+ * @category symbols
8
+ */
9
+ export declare const ConfigErrorTypeId: unique symbol;
10
+ /**
11
+ * @since 2.0.0
12
+ * @category symbols
13
+ */
14
+ export type ConfigErrorTypeId = typeof ConfigErrorTypeId;
15
+ /**
16
+ * The possible ways that loading configuration data may fail.
17
+ *
18
+ * @since 2.0.0
19
+ * @category models
20
+ */
21
+ export type ConfigError = And | Or | InvalidData | MissingData | SourceUnavailable | Unsupported;
22
+ /**
23
+ * @since 2.0.0
24
+ */
25
+ export declare namespace ConfigError {
26
+ /**
27
+ * @since 2.0.0
28
+ * @category models
29
+ */
30
+ interface Proto {
31
+ readonly _tag: "ConfigError";
32
+ readonly [ConfigErrorTypeId]: ConfigErrorTypeId;
33
+ }
34
+ /**
35
+ * @since 2.0.0
36
+ * @category models
37
+ */
38
+ type Reducer<C, Z> = ConfigErrorReducer<C, Z>;
39
+ }
40
+ /**
41
+ * @since 2.0.0
42
+ * @category models
43
+ */
44
+ export interface ConfigErrorReducer<in C, in out Z> {
45
+ andCase(context: C, left: Z, right: Z): Z;
46
+ orCase(context: C, left: Z, right: Z): Z;
47
+ invalidDataCase(context: C, path: Array<string>, message: string): Z;
48
+ missingDataCase(context: C, path: Array<string>, message: string): Z;
49
+ sourceUnavailableCase(context: C, path: Array<string>, message: string, cause: Cause.Cause<unknown>): Z;
50
+ unsupportedCase(context: C, path: Array<string>, message: string): Z;
51
+ }
52
+ /**
53
+ * @since 2.0.0
54
+ * @category models
55
+ */
56
+ export interface And extends ConfigError.Proto {
57
+ readonly _op: "And";
58
+ readonly left: ConfigError;
59
+ readonly right: ConfigError;
60
+ readonly message: string;
61
+ }
62
+ /**
63
+ * @since 2.0.0
64
+ * @category models
65
+ */
66
+ export interface Or extends ConfigError.Proto {
67
+ readonly _op: "Or";
68
+ readonly left: ConfigError;
69
+ readonly right: ConfigError;
70
+ readonly message: string;
71
+ }
72
+ /**
73
+ * @since 2.0.0
74
+ * @category models
75
+ */
76
+ export interface InvalidData extends ConfigError.Proto {
77
+ readonly _op: "InvalidData";
78
+ readonly path: Array<string>;
79
+ readonly message: string;
80
+ }
81
+ /**
82
+ * @since 2.0.0
83
+ * @category models
84
+ */
85
+ export interface MissingData extends ConfigError.Proto {
86
+ readonly _op: "MissingData";
87
+ readonly path: Array<string>;
88
+ readonly message: string;
89
+ }
90
+ /**
91
+ * @since 2.0.0
92
+ * @category models
93
+ */
94
+ export interface SourceUnavailable extends ConfigError.Proto {
95
+ readonly _op: "SourceUnavailable";
96
+ readonly path: Array<string>;
97
+ readonly message: string;
98
+ readonly cause: Cause.Cause<unknown>;
99
+ }
100
+ /**
101
+ * @since 2.0.0
102
+ * @category models
103
+ */
104
+ export interface Unsupported extends ConfigError.Proto {
105
+ readonly _op: "Unsupported";
106
+ readonly path: Array<string>;
107
+ readonly message: string;
108
+ }
109
+ /**
110
+ * @since 2.0.0
111
+ * @category models
112
+ */
113
+ export interface Options {
114
+ readonly pathDelim: string;
115
+ }
116
+ /**
117
+ * @since 2.0.0
118
+ * @category constructors
119
+ */
120
+ export declare const And: (self: ConfigError, that: ConfigError) => ConfigError;
121
+ /**
122
+ * @since 2.0.0
123
+ * @category constructors
124
+ */
125
+ export declare const Or: (self: ConfigError, that: ConfigError) => ConfigError;
126
+ /**
127
+ * @since 2.0.0
128
+ * @category constructors
129
+ */
130
+ export declare const MissingData: (path: Array<string>, message: string, options?: Options) => ConfigError;
131
+ /**
132
+ * @since 2.0.0
133
+ * @category constructors
134
+ */
135
+ export declare const InvalidData: (path: Array<string>, message: string, options?: Options) => ConfigError;
136
+ /**
137
+ * @since 2.0.0
138
+ * @category constructors
139
+ */
140
+ export declare const SourceUnavailable: (path: Array<string>, message: string, cause: Cause.Cause<unknown>, options?: Options) => ConfigError;
141
+ /**
142
+ * @since 2.0.0
143
+ * @category constructors
144
+ */
145
+ export declare const Unsupported: (path: Array<string>, message: string, options?: Options) => ConfigError;
146
+ /**
147
+ * Returns `true` if the specified value is a `ConfigError`, `false` otherwise.
148
+ *
149
+ * @since 2.0.0
150
+ * @category refinements
151
+ */
152
+ export declare const isConfigError: (u: unknown) => u is ConfigError;
153
+ /**
154
+ * Returns `true` if the specified `ConfigError` is an `And`, `false` otherwise.
155
+ *
156
+ * @since 2.0.0
157
+ * @category refinements
158
+ */
159
+ export declare const isAnd: (self: ConfigError) => self is And;
160
+ /**
161
+ * Returns `true` if the specified `ConfigError` is an `Or`, `false` otherwise.
162
+ *
163
+ * @since 2.0.0
164
+ * @category refinements
165
+ */
166
+ export declare const isOr: (self: ConfigError) => self is Or;
167
+ /**
168
+ * Returns `true` if the specified `ConfigError` is an `InvalidData`, `false`
169
+ * otherwise.
170
+ *
171
+ * @since 2.0.0
172
+ * @category refinements
173
+ */
174
+ export declare const isInvalidData: (self: ConfigError) => self is InvalidData;
175
+ /**
176
+ * Returns `true` if the specified `ConfigError` is an `MissingData`, `false`
177
+ * otherwise.
178
+ *
179
+ * @since 2.0.0
180
+ * @category refinements
181
+ */
182
+ export declare const isMissingData: (self: ConfigError) => self is MissingData;
183
+ /**
184
+ * Returns `true` if the specified `ConfigError` contains only `MissingData` errors, `false` otherwise.
185
+ *
186
+ * @since 2.0.0
187
+ * @categer getters
188
+ */
189
+ export declare const isMissingDataOnly: (self: ConfigError) => boolean;
190
+ /**
191
+ * Returns `true` if the specified `ConfigError` is a `SourceUnavailable`,
192
+ * `false` otherwise.
193
+ *
194
+ * @since 2.0.0
195
+ * @category refinements
196
+ */
197
+ export declare const isSourceUnavailable: (self: ConfigError) => self is SourceUnavailable;
198
+ /**
199
+ * Returns `true` if the specified `ConfigError` is an `Unsupported`, `false`
200
+ * otherwise.
201
+ *
202
+ * @since 2.0.0
203
+ * @category refinements
204
+ */
205
+ export declare const isUnsupported: (self: ConfigError) => self is Unsupported;
206
+ /**
207
+ * @since 2.0.0
208
+ * @category utils
209
+ */
210
+ export declare const prefixed: {
211
+ /**
212
+ * @since 2.0.0
213
+ * @category utils
214
+ */
215
+ (prefix: Array<string>): (self: ConfigError) => ConfigError;
216
+ /**
217
+ * @since 2.0.0
218
+ * @category utils
219
+ */
220
+ (self: ConfigError, prefix: Array<string>): ConfigError;
221
+ };
222
+ /**
223
+ * @since 2.0.0
224
+ * @category folding
225
+ */
226
+ export declare const reduceWithContext: {
227
+ /**
228
+ * @since 2.0.0
229
+ * @category folding
230
+ */
231
+ <C, Z>(context: C, reducer: ConfigErrorReducer<C, Z>): (self: ConfigError) => Z;
232
+ /**
233
+ * @since 2.0.0
234
+ * @category folding
235
+ */
236
+ <C, Z>(self: ConfigError, context: C, reducer: ConfigErrorReducer<C, Z>): Z;
237
+ };
238
+ //# sourceMappingURL=ConfigError.d.ts.map
backend/node_modules/effect/dist/dts/ConfigProvider.d.ts ADDED
@@ -0,0 +1,372 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Config from "./Config.js";
5
+ import type * as ConfigError from "./ConfigError.js";
6
+ import type * as PathPatch from "./ConfigProviderPathPatch.js";
7
+ import type * as Context from "./Context.js";
8
+ import type * as Effect from "./Effect.js";
9
+ import type { LazyArg } from "./Function.js";
10
+ import type * as HashSet from "./HashSet.js";
11
+ import type { Pipeable } from "./Pipeable.js";
12
+ /**
13
+ * @since 2.0.0
14
+ * @category symbols
15
+ */
16
+ export declare const ConfigProviderTypeId: unique symbol;
17
+ /**
18
+ * @since 2.0.0
19
+ * @category symbols
20
+ */
21
+ export type ConfigProviderTypeId = typeof ConfigProviderTypeId;
22
+ /**
23
+ * @since 2.0.0
24
+ * @category symbols
25
+ */
26
+ export declare const FlatConfigProviderTypeId: unique symbol;
27
+ /**
28
+ * @since 2.0.0
29
+ * @category symbols
30
+ */
31
+ export type FlatConfigProviderTypeId = typeof FlatConfigProviderTypeId;
32
+ /**
33
+ * A ConfigProvider is a service that provides configuration given a description
34
+ * of the structure of that configuration.
35
+ *
36
+ * @since 2.0.0
37
+ * @category models
38
+ */
39
+ export interface ConfigProvider extends ConfigProvider.Proto, Pipeable {
40
+ /**
41
+ * Loads the specified configuration, or fails with a config error.
42
+ */
43
+ load<A>(config: Config.Config<A>): Effect.Effect<A, ConfigError.ConfigError>;
44
+ /**
45
+ * Flattens this config provider into a simplified config provider that knows
46
+ * only how to deal with flat (key/value) properties.
47
+ */
48
+ readonly flattened: ConfigProvider.Flat;
49
+ }
50
+ /**
51
+ * @since 2.0.0
52
+ */
53
+ export declare namespace ConfigProvider {
54
+ /**
55
+ * @since 2.0.0
56
+ * @category models
57
+ */
58
+ interface Proto {
59
+ readonly [ConfigProviderTypeId]: ConfigProviderTypeId;
60
+ }
61
+ /**
62
+ * A simplified config provider that knows only how to deal with flat
63
+ * (key/value) properties. Because these providers are common, there is
64
+ * special support for implementing them.
65
+ *
66
+ * @since 2.0.0
67
+ * @category models
68
+ */
69
+ interface Flat {
70
+ readonly [FlatConfigProviderTypeId]: FlatConfigProviderTypeId;
71
+ readonly patch: PathPatch.PathPatch;
72
+ load<A>(path: ReadonlyArray<string>, config: Config.Config.Primitive<A>, split?: boolean): Effect.Effect<Array<A>, ConfigError.ConfigError>;
73
+ enumerateChildren(path: ReadonlyArray<string>): Effect.Effect<HashSet.HashSet<string>, ConfigError.ConfigError>;
74
+ }
75
+ /**
76
+ * @since 2.0.0
77
+ * @category models
78
+ */
79
+ interface FromMapConfig {
80
+ readonly pathDelim: string;
81
+ readonly seqDelim: string;
82
+ }
83
+ /**
84
+ * @since 2.0.0
85
+ * @category models
86
+ */
87
+ interface FromEnvConfig {
88
+ readonly pathDelim: string;
89
+ readonly seqDelim: string;
90
+ }
91
+ /**
92
+ * @since 1.0.0
93
+ * @category models
94
+ */
95
+ type KeyComponent = KeyName | KeyIndex;
96
+ /**
97
+ * @since 1.0.0
98
+ * @category models
99
+ */
100
+ interface KeyName {
101
+ readonly _tag: "KeyName";
102
+ readonly name: string;
103
+ }
104
+ /**
105
+ * @since 1.0.0
106
+ * @category models
107
+ */
108
+ interface KeyIndex {
109
+ readonly _tag: "KeyIndex";
110
+ readonly index: number;
111
+ }
112
+ }
113
+ /**
114
+ * The service tag for `ConfigProvider`.
115
+ *
116
+ * @since 2.0.0
117
+ * @category context
118
+ */
119
+ export declare const ConfigProvider: Context.Tag<ConfigProvider, ConfigProvider>;
120
+ /**
121
+ * Creates a new config provider.
122
+ *
123
+ * @since 2.0.0
124
+ * @category constructors
125
+ */
126
+ export declare const make: (options: {
127
+ readonly load: <A>(config: Config.Config<A>) => Effect.Effect<A, ConfigError.ConfigError>;
128
+ readonly flattened: ConfigProvider.Flat;
129
+ }) => ConfigProvider;
130
+ /**
131
+ * Creates a new flat config provider.
132
+ *
133
+ * @since 2.0.0
134
+ * @category constructors
135
+ */
136
+ export declare const makeFlat: (options: {
137
+ readonly load: <A>(path: ReadonlyArray<string>, config: Config.Config.Primitive<A>, split: boolean) => Effect.Effect<Array<A>, ConfigError.ConfigError>;
138
+ readonly enumerateChildren: (path: ReadonlyArray<string>) => Effect.Effect<HashSet.HashSet<string>, ConfigError.ConfigError>;
139
+ readonly patch: PathPatch.PathPatch;
140
+ }) => ConfigProvider.Flat;
141
+ /**
142
+ * A config provider that loads configuration from context variables
143
+ *
144
+ * **Options**:
145
+ *
146
+ * - `pathDelim`: The delimiter for the path segments (default: `"_"`).
147
+ * - `seqDelim`: The delimiter for the sequence of values (default: `","`).
148
+ *
149
+ * @since 2.0.0
150
+ * @category constructors
151
+ */
152
+ export declare const fromEnv: (options?: Partial<ConfigProvider.FromEnvConfig>) => ConfigProvider;
153
+ /**
154
+ * Constructs a new `ConfigProvider` from a key/value (flat) provider, where
155
+ * nesting is embedded into the string keys.
156
+ *
157
+ * @since 2.0.0
158
+ * @category constructors
159
+ */
160
+ export declare const fromFlat: (flat: ConfigProvider.Flat) => ConfigProvider;
161
+ /**
162
+ * Constructs a new `ConfigProvider` from a JSON object.
163
+ *
164
+ * @since 2.0.0
165
+ * @category constructors
166
+ */
167
+ export declare const fromJson: (json: unknown) => ConfigProvider;
168
+ /**
169
+ * Constructs a ConfigProvider using a map and the specified delimiter string,
170
+ * which determines how to split the keys in the map into path segments.
171
+ *
172
+ * @since 2.0.0
173
+ * @category constructors
174
+ */
175
+ export declare const fromMap: (map: Map<string, string>, config?: Partial<ConfigProvider.FromMapConfig>) => ConfigProvider;
176
+ /**
177
+ * Returns a new config provider that will automatically convert all property
178
+ * names to constant case. This can be utilized to adapt the names of
179
+ * configuration properties from the default naming convention of camel case
180
+ * to the naming convention of a config provider.
181
+ *
182
+ * @since 2.0.0
183
+ * @category combinators
184
+ */
185
+ export declare const constantCase: (self: ConfigProvider) => ConfigProvider;
186
+ /**
187
+ * Returns a new config provider that will automatically tranform all path
188
+ * configuration names with the specified function. This can be utilized to
189
+ * adapt the names of configuration properties from one naming convention to
190
+ * another.
191
+ *
192
+ * @since 2.0.0
193
+ * @category utils
194
+ */
195
+ export declare const mapInputPath: {
196
+ /**
197
+ * Returns a new config provider that will automatically tranform all path
198
+ * configuration names with the specified function. This can be utilized to
199
+ * adapt the names of configuration properties from one naming convention to
200
+ * another.
201
+ *
202
+ * @since 2.0.0
203
+ * @category utils
204
+ */
205
+ (f: (path: string) => string): (self: ConfigProvider) => ConfigProvider;
206
+ /**
207
+ * Returns a new config provider that will automatically tranform all path
208
+ * configuration names with the specified function. This can be utilized to
209
+ * adapt the names of configuration properties from one naming convention to
210
+ * another.
211
+ *
212
+ * @since 2.0.0
213
+ * @category utils
214
+ */
215
+ (self: ConfigProvider, f: (path: string) => string): ConfigProvider;
216
+ };
217
+ /**
218
+ * Returns a new config provider that will automatically convert all property
219
+ * names to kebab case. This can be utilized to adapt the names of
220
+ * configuration properties from the default naming convention of camel case
221
+ * to the naming convention of a config provider.
222
+ *
223
+ * @since 2.0.0
224
+ * @category combinators
225
+ */
226
+ export declare const kebabCase: (self: ConfigProvider) => ConfigProvider;
227
+ /**
228
+ * Returns a new config provider that will automatically convert all property
229
+ * names to lower case. This can be utilized to adapt the names of
230
+ * configuration properties from the default naming convention of camel case
231
+ * to the naming convention of a config provider.
232
+ *
233
+ * @since 2.0.0
234
+ * @category combinators
235
+ */
236
+ export declare const lowerCase: (self: ConfigProvider) => ConfigProvider;
237
+ /**
238
+ * Returns a new config provider that will automatically nest all
239
+ * configuration under the specified property name. This can be utilized to
240
+ * aggregate separate configuration sources that are all required to load a
241
+ * single configuration value.
242
+ *
243
+ * @since 2.0.0
244
+ * @category utils
245
+ */
246
+ export declare const nested: {
247
+ /**
248
+ * Returns a new config provider that will automatically nest all
249
+ * configuration under the specified property name. This can be utilized to
250
+ * aggregate separate configuration sources that are all required to load a
251
+ * single configuration value.
252
+ *
253
+ * @since 2.0.0
254
+ * @category utils
255
+ */
256
+ (name: string): (self: ConfigProvider) => ConfigProvider;
257
+ /**
258
+ * Returns a new config provider that will automatically nest all
259
+ * configuration under the specified property name. This can be utilized to
260
+ * aggregate separate configuration sources that are all required to load a
261
+ * single configuration value.
262
+ *
263
+ * @since 2.0.0
264
+ * @category utils
265
+ */
266
+ (self: ConfigProvider, name: string): ConfigProvider;
267
+ };
268
+ /**
269
+ * Returns a new config provider that preferentially loads configuration data
270
+ * from this one, but which will fall back to the specified alternate provider
271
+ * if there are any issues loading the configuration from this provider.
272
+ *
273
+ * @since 2.0.0
274
+ * @category utils
275
+ */
276
+ export declare const orElse: {
277
+ /**
278
+ * Returns a new config provider that preferentially loads configuration data
279
+ * from this one, but which will fall back to the specified alternate provider
280
+ * if there are any issues loading the configuration from this provider.
281
+ *
282
+ * @since 2.0.0
283
+ * @category utils
284
+ */
285
+ (that: LazyArg<ConfigProvider>): (self: ConfigProvider) => ConfigProvider;
286
+ /**
287
+ * Returns a new config provider that preferentially loads configuration data
288
+ * from this one, but which will fall back to the specified alternate provider
289
+ * if there are any issues loading the configuration from this provider.
290
+ *
291
+ * @since 2.0.0
292
+ * @category utils
293
+ */
294
+ (self: ConfigProvider, that: LazyArg<ConfigProvider>): ConfigProvider;
295
+ };
296
+ /**
297
+ * Returns a new config provider that will automatically un-nest all
298
+ * configuration under the specified property name. This can be utilized to
299
+ * de-aggregate separate configuration sources that are all required to load a
300
+ * single configuration value.
301
+ *
302
+ * @since 2.0.0
303
+ * @category utils
304
+ */
305
+ export declare const unnested: {
306
+ /**
307
+ * Returns a new config provider that will automatically un-nest all
308
+ * configuration under the specified property name. This can be utilized to
309
+ * de-aggregate separate configuration sources that are all required to load a
310
+ * single configuration value.
311
+ *
312
+ * @since 2.0.0
313
+ * @category utils
314
+ */
315
+ (name: string): (self: ConfigProvider) => ConfigProvider;
316
+ /**
317
+ * Returns a new config provider that will automatically un-nest all
318
+ * configuration under the specified property name. This can be utilized to
319
+ * de-aggregate separate configuration sources that are all required to load a
320
+ * single configuration value.
321
+ *
322
+ * @since 2.0.0
323
+ * @category utils
324
+ */
325
+ (self: ConfigProvider, name: string): ConfigProvider;
326
+ };
327
+ /**
328
+ * Returns a new config provider that will automatically convert all property
329
+ * names to upper case. This can be utilized to adapt the names of
330
+ * configuration properties from the default naming convention of camel case
331
+ * to the naming convention of a config provider.
332
+ *
333
+ * @since 2.0.0
334
+ * @category combinators
335
+ */
336
+ export declare const snakeCase: (self: ConfigProvider) => ConfigProvider;
337
+ /**
338
+ * Returns a new config provider that will automatically convert all property
339
+ * names to upper case. This can be utilized to adapt the names of
340
+ * configuration properties from the default naming convention of camel case
341
+ * to the naming convention of a config provider.
342
+ *
343
+ * @since 2.0.0
344
+ * @category combinators
345
+ */
346
+ export declare const upperCase: (self: ConfigProvider) => ConfigProvider;
347
+ /**
348
+ * Returns a new config provider that transforms the config provider with the
349
+ * specified function within the specified path.
350
+ *
351
+ * @since 2.0.0
352
+ * @category combinators
353
+ */
354
+ export declare const within: {
355
+ /**
356
+ * Returns a new config provider that transforms the config provider with the
357
+ * specified function within the specified path.
358
+ *
359
+ * @since 2.0.0
360
+ * @category combinators
361
+ */
362
+ (path: ReadonlyArray<string>, f: (self: ConfigProvider) => ConfigProvider): (self: ConfigProvider) => ConfigProvider;
363
+ /**
364
+ * Returns a new config provider that transforms the config provider with the
365
+ * specified function within the specified path.
366
+ *
367
+ * @since 2.0.0
368
+ * @category combinators
369
+ */
370
+ (self: ConfigProvider, path: ReadonlyArray<string>, f: (self: ConfigProvider) => ConfigProvider): ConfigProvider;
371
+ };
372
+ //# sourceMappingURL=ConfigProvider.d.ts.map
backend/node_modules/effect/dist/dts/ConfigProvider.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"ConfigProvider.d.ts","sourceRoot":"","sources":["../../src/ConfigProvider.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,KAAK,WAAW,MAAM,kBAAkB,CAAA;AACpD,OAAO,KAAK,KAAK,SAAS,MAAM,8BAA8B,CAAA;AAC9D,OAAO,KAAK,KAAK,OAAO,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,KAAK,OAAO,MAAM,cAAc,CAAA;AAE5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AAErF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,cAAmC,CAAA;AAErF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,EAAE;IACnB;;;;;;OAMG;IACH,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,cAAc,GAAG,CAAC,IAAI,EAAE,cAAc,KAAK,cAAc,CAAA;IACpH;;;;;;OAMG;IACH,CACC,IAAI,EAAE,cAAc,EACpB,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,EAC3B,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,cAAc,GACzC,cAAc,CAAA;CACA,CAAA"}
backend/node_modules/effect/dist/dts/Console.d.ts ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Context from "./Context.js";
5
+ import type { Effect } from "./Effect.js";
6
+ import type * as Layer from "./Layer.js";
7
+ import type { Scope } from "./Scope.js";
8
+ /**
9
+ * @since 2.0.0
10
+ * @category type ids
11
+ */
12
+ export declare const TypeId: unique symbol;
13
+ /**
14
+ * @since 2.0.0
15
+ * @category type ids
16
+ */
17
+ export type TypeId = typeof TypeId;
18
+ /**
19
+ * @since 2.0.0
20
+ * @category model
21
+ */
22
+ export interface Console {
23
+ readonly [TypeId]: TypeId;
24
+ assert(condition: boolean, ...args: ReadonlyArray<any>): Effect<void>;
25
+ readonly clear: Effect<void>;
26
+ count(label?: string): Effect<void>;
27
+ countReset(label?: string): Effect<void>;
28
+ debug(...args: ReadonlyArray<any>): Effect<void>;
29
+ dir(item: any, options?: any): Effect<void>;
30
+ dirxml(...args: ReadonlyArray<any>): Effect<void>;
31
+ error(...args: ReadonlyArray<any>): Effect<void>;
32
+ group(options?: {
33
+ readonly label?: string | undefined;
34
+ readonly collapsed?: boolean | undefined;
35
+ }): Effect<void>;
36
+ readonly groupEnd: Effect<void>;
37
+ info(...args: ReadonlyArray<any>): Effect<void>;
38
+ log(...args: ReadonlyArray<any>): Effect<void>;
39
+ table(tabularData: any, properties?: ReadonlyArray<string>): Effect<void>;
40
+ time(label?: string): Effect<void>;
41
+ timeEnd(label?: string): Effect<void>;
42
+ timeLog(label?: string, ...args: ReadonlyArray<any>): Effect<void>;
43
+ trace(...args: ReadonlyArray<any>): Effect<void>;
44
+ warn(...args: ReadonlyArray<any>): Effect<void>;
45
+ readonly unsafe: UnsafeConsole;
46
+ }
47
+ /**
48
+ * @since 2.0.0
49
+ * @category model
50
+ */
51
+ export interface UnsafeConsole {
52
+ assert(condition: boolean, ...args: ReadonlyArray<any>): void;
53
+ clear(): void;
54
+ count(label?: string): void;
55
+ countReset(label?: string): void;
56
+ debug(...args: ReadonlyArray<any>): void;
57
+ dir(item: any, options?: any): void;
58
+ dirxml(...args: ReadonlyArray<any>): void;
59
+ error(...args: ReadonlyArray<any>): void;
60
+ group(...args: ReadonlyArray<any>): void;
61
+ groupCollapsed(...args: ReadonlyArray<any>): void;
62
+ groupEnd(): void;
63
+ info(...args: ReadonlyArray<any>): void;
64
+ log(...args: ReadonlyArray<any>): void;
65
+ table(tabularData: any, properties?: ReadonlyArray<string>): void;
66
+ time(label?: string): void;
67
+ timeEnd(label?: string): void;
68
+ timeLog(label?: string, ...args: ReadonlyArray<any>): void;
69
+ trace(...args: ReadonlyArray<any>): void;
70
+ warn(...args: ReadonlyArray<any>): void;
71
+ }
72
+ /**
73
+ * @since 2.0.0
74
+ * @category context
75
+ */
76
+ export declare const Console: Context.Tag<Console, Console>;
77
+ /**
78
+ * @since 2.0.0
79
+ * @category default services
80
+ */
81
+ export declare const withConsole: {
82
+ /**
83
+ * @since 2.0.0
84
+ * @category default services
85
+ */
86
+ <C extends Console>(console: C): <A, E, R>(effect: Effect<A, E, R>) => Effect<A, E, R>;
87
+ /**
88
+ * @since 2.0.0
89
+ * @category default services
90
+ */
91
+ <A, E, R, C extends Console>(effect: Effect<A, E, R>, console: C): Effect<A, E, R>;
92
+ };
93
+ /**
94
+ * @since 2.0.0
95
+ * @category default services
96
+ */
97
+ export declare const setConsole: <A extends Console>(console: A) => Layer.Layer<never>;
98
+ /**
99
+ * @since 2.0.0
100
+ * @category accessor
101
+ */
102
+ export declare const consoleWith: <A, E, R>(f: (console: Console) => Effect<A, E, R>) => Effect<A, E, R>;
103
+ /**
104
+ * @since 2.0.0
105
+ * @category accessor
106
+ */
107
+ export declare const assert: (condition: boolean, ...args: ReadonlyArray<any>) => Effect<void>;
108
+ /**
109
+ * @since 2.0.0
110
+ * @category accessor
111
+ */
112
+ export declare const clear: Effect<void>;
113
+ /**
114
+ * @since 2.0.0
115
+ * @category accessor
116
+ */
117
+ export declare const count: (label?: string) => Effect<void>;
118
+ /**
119
+ * @since 2.0.0
120
+ * @category accessor
121
+ */
122
+ export declare const countReset: (label?: string) => Effect<void>;
123
+ /**
124
+ * @since 2.0.0
125
+ * @category accessor
126
+ */
127
+ export declare const debug: (...args: ReadonlyArray<any>) => Effect<void>;
128
+ /**
129
+ * @since 2.0.0
130
+ * @category accessor
131
+ */
132
+ export declare const dir: (item: any, options?: any) => Effect<void>;
133
+ /**
134
+ * @since 2.0.0
135
+ * @category accessor
136
+ */
137
+ export declare const dirxml: (...args: ReadonlyArray<any>) => Effect<void>;
138
+ /**
139
+ * @since 2.0.0
140
+ * @category accessor
141
+ */
142
+ export declare const error: (...args: ReadonlyArray<any>) => Effect<void>;
143
+ /**
144
+ * @since 2.0.0
145
+ * @category accessor
146
+ */
147
+ export declare const group: (options?: {
148
+ label?: string | undefined;
149
+ collapsed?: boolean | undefined;
150
+ } | undefined) => Effect<void, never, Scope>;
151
+ /**
152
+ * @since 2.0.0
153
+ * @category accessor
154
+ */
155
+ export declare const info: (...args: ReadonlyArray<any>) => Effect<void>;
156
+ /**
157
+ * @since 2.0.0
158
+ * @category accessor
159
+ */
160
+ export declare const log: (...args: ReadonlyArray<any>) => Effect<void>;
161
+ /**
162
+ * @since 2.0.0
163
+ * @category accessor
164
+ */
165
+ export declare const table: (tabularData: any, properties?: ReadonlyArray<string>) => Effect<void>;
166
+ /**
167
+ * @since 2.0.0
168
+ * @category accessor
169
+ */
170
+ export declare const time: (label?: string | undefined) => Effect<void, never, Scope>;
171
+ /**
172
+ * @since 2.0.0
173
+ * @category accessor
174
+ */
175
+ export declare const timeLog: (label?: string, ...args: ReadonlyArray<any>) => Effect<void>;
176
+ /**
177
+ * @since 2.0.0
178
+ * @category accessor
179
+ */
180
+ export declare const trace: (...args: ReadonlyArray<any>) => Effect<void>;
181
+ /**
182
+ * @since 2.0.0
183
+ * @category accessor
184
+ */
185
+ export declare const warn: (...args: ReadonlyArray<any>) => Effect<void>;
186
+ /**
187
+ * @since 2.0.0
188
+ * @category accessor
189
+ */
190
+ export declare const withGroup: {
191
+ /**
192
+ * @since 2.0.0
193
+ * @category accessor
194
+ */
195
+ (options?: {
196
+ readonly label?: string | undefined;
197
+ readonly collapsed?: boolean | undefined;
198
+ }): <A, E, R>(self: Effect<A, E, R>) => Effect<A, E, R>;
199
+ /**
200
+ * @since 2.0.0
201
+ * @category accessor
202
+ */
203
+ <A, E, R>(self: Effect<A, E, R>, options?: {
204
+ readonly label?: string | undefined;
205
+ readonly collapsed?: boolean | undefined;
206
+ }): Effect<A, E, R>;
207
+ };
208
+ /**
209
+ * @since 2.0.0
210
+ * @category accessor
211
+ */
212
+ export declare const withTime: {
213
+ /**
214
+ * @since 2.0.0
215
+ * @category accessor
216
+ */
217
+ (label?: string): <A, E, R>(self: Effect<A, E, R>) => Effect<A, E, R>;
218
+ /**
219
+ * @since 2.0.0
220
+ * @category accessor
221
+ */
222
+ <A, E, R>(self: Effect<A, E, R>, label?: string): Effect<A, E, R>;
223
+ };
224
+ //# sourceMappingURL=Console.d.ts.map
backend/node_modules/effect/dist/dts/Console.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Console.d.ts","sourceRoot":"","sources":["../../src/Console.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,OAAO,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAGzC,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAEvC;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,OAAO,MAA8B,CAAA;AAE1D;;;GAGG;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAA;AAElC;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACzB,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;IACrE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,CAAA;IAC5B,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This module provides a data structure called `Context` that can be used for dependency injection in effectful
3
+ * programs. It is essentially a table mapping `Tag`s to their implementations (called `Service`s), and can be used to
4
+ * manage dependencies in a type-safe way. The `Context` data structure is essentially a way of providing access to a set
5
+ * of related services that can be passed around as a single unit. This module provides functions to create, modify, and
6
+ * query the contents of a `Context`, as well as a number of utility types for working with tags and services.
7
+ *
8
+ * @since 2.0.0
9
+ */
10
+ import type * as Effect from "./Effect.js";
11
+ import type { Equal } from "./Equal.js";
12
+ import type { LazyArg } from "./Function.js";
13
+ import type { Inspectable } from "./Inspectable.js";
14
+ import type { Option } from "./Option.js";
15
+ import type { Pipeable } from "./Pipeable.js";
16
+ import type * as Types from "./Types.js";
17
+ import type * as Unify from "./Unify.js";
18
+ /**
19
+ * @since 2.0.0
20
+ * @category symbol
21
+ */
22
+ export declare const TagTypeId: unique symbol;
23
+ /**
24
+ * @since 2.0.0
25
+ * @category symbol
26
+ */
27
+ export type TagTypeId = typeof TagTypeId;
28
+ /**
29
+ * @since 3.5.9
30
+ * @category models
31
+ */
32
+ export interface Tag<in out Id, in out Value> extends Pipeable, Inspectable, ReadonlyTag<Id, Value> {
33
+ readonly _op: "Tag";
34
+ readonly Service: Value;
35
+ readonly Identifier: Id;
36
+ readonly [TagTypeId]: {
37
+ readonly _Service: Types.Invariant<Value>;
38
+ readonly _Identifier: Types.Invariant<Id>;
39
+ };
40
+ of(self: Value): Value;
41
+ context(self: Value): Context<Id>;
42
+ readonly stack?: string | undefined;
43
+ readonly key: string;
44
+ [Unify.typeSymbol]?: unknown;
45
+ [Unify.unifySymbol]?: TagUnify<this>;
46
+ [Unify.ignoreSymbol]?: TagUnifyIgnore;
47
+ }
48
+ /**
49
+ * @since 3.5.9
50
+ * @category models
51
+ */
52
+ export interface ReadonlyTag<in out Id, out Value> extends Pipeable, Inspectable, Effect.Effect<Value, never, Id> {
53
+ readonly _op: "Tag";
54
+ readonly Service: Value;
55
+ readonly Identifier: Id;
56
+ readonly [TagTypeId]: {
57
+ readonly _Service: Types.Covariant<Value>;
58
+ readonly _Identifier: Types.Invariant<Id>;
59
+ };
60
+ readonly stack?: string | undefined;
61
+ readonly key: string;
62
+ }
63
+ /**
64
+ * @since 3.11.0
65
+ * @category symbol
66
+ */
67
+ export declare const ReferenceTypeId: unique symbol;
68
+ /**
69
+ * @since 3.11.0
70
+ * @category symbol
71
+ */
72
+ export type ReferenceTypeId = typeof ReferenceTypeId;
73
+ /**
74
+ * @since 3.11.0
75
+ * @category models
76
+ */
77
+ export interface Reference<in out Id, in out Value> extends Pipeable, Inspectable {
78
+ readonly [ReferenceTypeId]: ReferenceTypeId;
79
+ readonly defaultValue: () => Value;
80
+ readonly _op: "Tag";
81
+ readonly Service: Value;
82
+ readonly Identifier: Id;
83
+ readonly [TagTypeId]: {
84
+ readonly _Service: Types.Invariant<Value>;
85
+ readonly _Identifier: Types.Invariant<Id>;
86
+ };
87
+ of(self: Value): Value;
88
+ context(self: Value): Context<Id>;
89
+ readonly stack?: string | undefined;
90
+ readonly key: string;
91
+ [Unify.typeSymbol]?: unknown;
92
+ [Unify.unifySymbol]?: TagUnify<this>;
93
+ [Unify.ignoreSymbol]?: TagUnifyIgnore;
94
+ }
95
+ /**
96
+ * @since 2.0.0
97
+ * @category models
98
+ */
99
+ export interface TagClassShape<Id, Shape> {
100
+ readonly [TagTypeId]: TagTypeId;
101
+ readonly Type: Shape;
102
+ readonly Id: Id;
103
+ }
104
+ /**
105
+ * @since 2.0.0
106
+ * @category models
107
+ */
108
+ export interface TagClass<Self, Id extends string, Type> extends Tag<Self, Type> {
109
+ new (_: never): TagClassShape<Id, Type>;
110
+ readonly key: Id;
111
+ }
112
+ /**
113
+ * @since 3.11.0
114
+ * @category models
115
+ */
116
+ export interface ReferenceClass<Self, Id extends string, Type> extends Reference<Self, Type> {
117
+ new (_: never): TagClassShape<Id, Type>;
118
+ readonly key: Id;
119
+ }
120
+ /**
121
+ * @category models
122
+ * @since 2.0.0
123
+ */
124
+ export interface TagUnify<A extends {
125
+ [Unify.typeSymbol]?: any;
126
+ }> {
127
+ Tag?: () => Extract<A[Unify.typeSymbol], Tag<any, any>>;
128
+ }
129
+ /**
130
+ * @category models
131
+ * @since 2.0.0
132
+ */
133
+ export interface TagUnifyIgnore {
134
+ }
135
+ /**
136
+ * @since 2.0.0
137
+ */
138
+ export declare namespace Tag {
139
+ /**
140
+ * @since 2.0.0
141
+ */
142
+ type Service<T extends Tag<any, any> | TagClassShape<any, any>> = T extends Tag<any, any> ? T["Service"] : T extends TagClassShape<any, infer A> ? A : never;
143
+ /**
144
+ * @since 2.0.0
145
+ */
146
+ type Identifier<T extends Tag<any, any> | TagClassShape<any, any>> = T extends Tag<any, any> ? T["Identifier"] : T extends TagClassShape<any, any> ? T : never;
147
+ }
148
+ /**
149
+ * Creates a new `Tag` instance with an optional key parameter.
150
+ *
151
+ * @example
152
+ * ```ts
153
+ * import * as assert from "node:assert"
154
+ * import { Context } from "effect"
155
+ *
156
+ * assert.strictEqual(Context.GenericTag("PORT").key === Context.GenericTag("PORT").key, true)
157
+ * ```
158
+ *
159
+ * @since 2.0.0
160
+ * @category constructors
161
+ */
162
+ export declare const GenericTag: <Identifier, Service = Identifier>(key: string) => Tag<Identifier, Service>;
163
+ declare const TypeId: unique symbol;
164
+ /**
165
+ * @since 2.0.0
166
+ * @category symbol
167
+ */
168
+ export type TypeId = typeof TypeId;
169
+ /**
170
+ * @since 2.0.0
171
+ * @category models
172
+ */
173
+ export type ValidTagsById<R> = R extends infer S ? Tag<S, any> : never;
174
+ /**
175
+ * @since 2.0.0
176
+ * @category models
177
+ */
178
+ export interface Context<in Services> extends Equal, Pipeable, Inspectable {
179
+ readonly [TypeId]: {
180
+ readonly _Services: Types.Contravariant<Services>;
181
+ };
182
+ readonly unsafeMap: Map<string, any>;
183
+ }
184
+ /**
185
+ * @since 2.0.0
186
+ * @category constructors
187
+ */
188
+ export declare const unsafeMake: <Services>(unsafeMap: Map<string, any>) => Context<Services>;
189
+ /**
190
+ * Checks if the provided argument is a `Context`.
191
+ *
192
+ * @example
193
+ * ```ts
194
+ * import * as assert from "node:assert"
195
+ * import { Context } from "effect"
196
+ *
197
+ * assert.strictEqual(Context.isContext(Context.empty()), true)
198
+ * ```
199
+ *
200
+ * @since 2.0.0
201
+ * @category guards
202
+ */
203
+ export declare const isContext: (input: unknown) => input is Context<never>;
204
+ /**
205
+ * Checks if the provided argument is a `Tag`.
206
+ *
207
+ * @example
208
+ * ```ts
209
+ * import * as assert from "node:assert"
210
+ * import { Context } from "effect"
211
+ *
212
+ * assert.strictEqual(Context.isTag(Context.GenericTag("Tag")), true)
213
+ * ```
214
+ *
215
+ * @since 2.0.0
216
+ * @category guards
217
+ */
218
+ export declare const isTag: (input: unknown) => input is Tag<any, any>;
219
+ /**
220
+ * Checks if the provided argument is a `Reference`.
221
+ *
222
+ * @since 3.11.0
223
+ * @category guards
224
+ * @experimental
225
+ */
226
+ export declare const isReference: (u: unknown) => u is Reference<any, any>;
227
+ /**
228
+ * Returns an empty `Context`.
229
+ *
230
+ * @example
231
+ * ```ts
232
+ * import * as assert from "node:assert"
233
+ * import { Context } from "effect"
234
+ *
235
+ * assert.strictEqual(Context.isContext(Context.empty()), true)
236
+ * ```
237
+ *
238
+ * @since 2.0.0
239
+ * @category constructors
240
+ */
241
+ export declare const empty: () => Context<never>;
242
+ /**
243
+ * Creates a new `Context` with a single service associated to the tag.
244
+ *
245
+ * @example
246
+ * ```ts
247
+ * import * as assert from "node:assert"
248
+ * import { Context } from "effect"
249
+ *
250
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
251
+ *
252
+ * const Services = Context.make(Port, { PORT: 8080 })
253
+ *
254
+ * assert.deepStrictEqual(Context.get(Services, Port), { PORT: 8080 })
255
+ * ```
256
+ *
257
+ * @since 2.0.0
258
+ * @category constructors
259
+ */
260
+ export declare const make: <I, S>(tag: Tag<I, S>, service: Types.NoInfer<S>) => Context<I>;
261
+ /**
262
+ * Adds a service to a given `Context`.
263
+ *
264
+ * @example
265
+ * ```ts
266
+ * import * as assert from "node:assert"
267
+ * import { Context, pipe } from "effect"
268
+ *
269
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
270
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
271
+ *
272
+ * const someContext = Context.make(Port, { PORT: 8080 })
273
+ *
274
+ * const Services = pipe(
275
+ * someContext,
276
+ * Context.add(Timeout, { TIMEOUT: 5000 })
277
+ * )
278
+ *
279
+ * assert.deepStrictEqual(Context.get(Services, Port), { PORT: 8080 })
280
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
281
+ * ```
282
+ *
283
+ * @since 2.0.0
284
+ */
285
+ export declare const add: {
286
+ /**
287
+ * Adds a service to a given `Context`.
288
+ *
289
+ * @example
290
+ * ```ts
291
+ * import * as assert from "node:assert"
292
+ * import { Context, pipe } from "effect"
293
+ *
294
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
295
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
296
+ *
297
+ * const someContext = Context.make(Port, { PORT: 8080 })
298
+ *
299
+ * const Services = pipe(
300
+ * someContext,
301
+ * Context.add(Timeout, { TIMEOUT: 5000 })
302
+ * )
303
+ *
304
+ * assert.deepStrictEqual(Context.get(Services, Port), { PORT: 8080 })
305
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
306
+ * ```
307
+ *
308
+ * @since 2.0.0
309
+ */
310
+ <I, S>(tag: Tag<I, S>, service: Types.NoInfer<S>): <Services>(self: Context<Services>) => Context<Services | I>;
311
+ /**
312
+ * Adds a service to a given `Context`.
313
+ *
314
+ * @example
315
+ * ```ts
316
+ * import * as assert from "node:assert"
317
+ * import { Context, pipe } from "effect"
318
+ *
319
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
320
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
321
+ *
322
+ * const someContext = Context.make(Port, { PORT: 8080 })
323
+ *
324
+ * const Services = pipe(
325
+ * someContext,
326
+ * Context.add(Timeout, { TIMEOUT: 5000 })
327
+ * )
328
+ *
329
+ * assert.deepStrictEqual(Context.get(Services, Port), { PORT: 8080 })
330
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
331
+ * ```
332
+ *
333
+ * @since 2.0.0
334
+ */
335
+ <Services, I, S>(self: Context<Services>, tag: Tag<I, S>, service: Types.NoInfer<S>): Context<Services | I>;
336
+ };
337
+ /**
338
+ * Get a service from the context that corresponds to the given tag.
339
+ *
340
+ * @example
341
+ * ```ts
342
+ * import * as assert from "node:assert"
343
+ * import { pipe, Context } from "effect"
344
+ *
345
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
346
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
347
+ *
348
+ * const Services = pipe(
349
+ * Context.make(Port, { PORT: 8080 }),
350
+ * Context.add(Timeout, { TIMEOUT: 5000 })
351
+ * )
352
+ *
353
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
354
+ * ```
355
+ *
356
+ * @since 2.0.0
357
+ * @category getters
358
+ */
359
+ export declare const get: {
360
+ /**
361
+ * Get a service from the context that corresponds to the given tag.
362
+ *
363
+ * @example
364
+ * ```ts
365
+ * import * as assert from "node:assert"
366
+ * import { pipe, Context } from "effect"
367
+ *
368
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
369
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
370
+ *
371
+ * const Services = pipe(
372
+ * Context.make(Port, { PORT: 8080 }),
373
+ * Context.add(Timeout, { TIMEOUT: 5000 })
374
+ * )
375
+ *
376
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
377
+ * ```
378
+ *
379
+ * @since 2.0.0
380
+ * @category getters
381
+ */
382
+ <I, S>(tag: Reference<I, S>): <Services>(self: Context<Services>) => S;
383
+ /**
384
+ * Get a service from the context that corresponds to the given tag.
385
+ *
386
+ * @example
387
+ * ```ts
388
+ * import * as assert from "node:assert"
389
+ * import { pipe, Context } from "effect"
390
+ *
391
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
392
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
393
+ *
394
+ * const Services = pipe(
395
+ * Context.make(Port, { PORT: 8080 }),
396
+ * Context.add(Timeout, { TIMEOUT: 5000 })
397
+ * )
398
+ *
399
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
400
+ * ```
401
+ *
402
+ * @since 2.0.0
403
+ * @category getters
404
+ */
405
+ <Services, I extends Services, S>(tag: Tag<I, S>): (self: Context<Services>) => S;
406
+ /**
407
+ * Get a service from the context that corresponds to the given tag.
408
+ *
409
+ * @example
410
+ * ```ts
411
+ * import * as assert from "node:assert"
412
+ * import { pipe, Context } from "effect"
413
+ *
414
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
415
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
416
+ *
417
+ * const Services = pipe(
418
+ * Context.make(Port, { PORT: 8080 }),
419
+ * Context.add(Timeout, { TIMEOUT: 5000 })
420
+ * )
421
+ *
422
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
423
+ * ```
424
+ *
425
+ * @since 2.0.0
426
+ * @category getters
427
+ */
428
+ <Services, I, S>(self: Context<Services>, tag: Reference<I, S>): S;
429
+ /**
430
+ * Get a service from the context that corresponds to the given tag.
431
+ *
432
+ * @example
433
+ * ```ts
434
+ * import * as assert from "node:assert"
435
+ * import { pipe, Context } from "effect"
436
+ *
437
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
438
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
439
+ *
440
+ * const Services = pipe(
441
+ * Context.make(Port, { PORT: 8080 }),
442
+ * Context.add(Timeout, { TIMEOUT: 5000 })
443
+ * )
444
+ *
445
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
446
+ * ```
447
+ *
448
+ * @since 2.0.0
449
+ * @category getters
450
+ */
451
+ <Services, I extends Services, S>(self: Context<Services>, tag: Tag<I, S>): S;
452
+ };
453
+ /**
454
+ * Get a service from the context that corresponds to the given tag, or
455
+ * use the fallback value.
456
+ *
457
+ * @since 3.7.0
458
+ * @category getters
459
+ */
460
+ export declare const getOrElse: {
461
+ /**
462
+ * Get a service from the context that corresponds to the given tag, or
463
+ * use the fallback value.
464
+ *
465
+ * @since 3.7.0
466
+ * @category getters
467
+ */
468
+ <S, I, B>(tag: Tag<I, S>, orElse: LazyArg<B>): <Services>(self: Context<Services>) => S | B;
469
+ /**
470
+ * Get a service from the context that corresponds to the given tag, or
471
+ * use the fallback value.
472
+ *
473
+ * @since 3.7.0
474
+ * @category getters
475
+ */
476
+ <Services, S, I, B>(self: Context<Services>, tag: Tag<I, S>, orElse: LazyArg<B>): S | B;
477
+ };
478
+ /**
479
+ * Get a service from the context that corresponds to the given tag.
480
+ * This function is unsafe because if the tag is not present in the context, a runtime error will be thrown.
481
+ *
482
+ * For a safer version see {@link getOption}.
483
+ *
484
+ * @example
485
+ * ```ts
486
+ * import * as assert from "node:assert"
487
+ * import { Context } from "effect"
488
+ *
489
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
490
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
491
+ *
492
+ * const Services = Context.make(Port, { PORT: 8080 })
493
+ *
494
+ * assert.deepStrictEqual(Context.unsafeGet(Services, Port), { PORT: 8080 })
495
+ * assert.throws(() => Context.unsafeGet(Services, Timeout))
496
+ * ```
497
+ *
498
+ * @since 2.0.0
499
+ * @category unsafe
500
+ */
501
+ export declare const unsafeGet: {
502
+ /**
503
+ * Get a service from the context that corresponds to the given tag.
504
+ * This function is unsafe because if the tag is not present in the context, a runtime error will be thrown.
505
+ *
506
+ * For a safer version see {@link getOption}.
507
+ *
508
+ * @example
509
+ * ```ts
510
+ * import * as assert from "node:assert"
511
+ * import { Context } from "effect"
512
+ *
513
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
514
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
515
+ *
516
+ * const Services = Context.make(Port, { PORT: 8080 })
517
+ *
518
+ * assert.deepStrictEqual(Context.unsafeGet(Services, Port), { PORT: 8080 })
519
+ * assert.throws(() => Context.unsafeGet(Services, Timeout))
520
+ * ```
521
+ *
522
+ * @since 2.0.0
523
+ * @category unsafe
524
+ */
525
+ <S, I>(tag: Tag<I, S>): <Services>(self: Context<Services>) => S;
526
+ /**
527
+ * Get a service from the context that corresponds to the given tag.
528
+ * This function is unsafe because if the tag is not present in the context, a runtime error will be thrown.
529
+ *
530
+ * For a safer version see {@link getOption}.
531
+ *
532
+ * @example
533
+ * ```ts
534
+ * import * as assert from "node:assert"
535
+ * import { Context } from "effect"
536
+ *
537
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
538
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
539
+ *
540
+ * const Services = Context.make(Port, { PORT: 8080 })
541
+ *
542
+ * assert.deepStrictEqual(Context.unsafeGet(Services, Port), { PORT: 8080 })
543
+ * assert.throws(() => Context.unsafeGet(Services, Timeout))
544
+ * ```
545
+ *
546
+ * @since 2.0.0
547
+ * @category unsafe
548
+ */
549
+ <Services, S, I>(self: Context<Services>, tag: Tag<I, S>): S;
550
+ };
551
+ /**
552
+ * Get the value associated with the specified tag from the context wrapped in an `Option` object. If the tag is not
553
+ * found, the `Option` object will be `None`.
554
+ *
555
+ * @example
556
+ * ```ts
557
+ * import * as assert from "node:assert"
558
+ * import { Context, Option } from "effect"
559
+ *
560
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
561
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
562
+ *
563
+ * const Services = Context.make(Port, { PORT: 8080 })
564
+ *
565
+ * assert.deepStrictEqual(Context.getOption(Services, Port), Option.some({ PORT: 8080 }))
566
+ * assert.deepStrictEqual(Context.getOption(Services, Timeout), Option.none())
567
+ * ```
568
+ *
569
+ * @since 2.0.0
570
+ * @category getters
571
+ */
572
+ export declare const getOption: {
573
+ /**
574
+ * Get the value associated with the specified tag from the context wrapped in an `Option` object. If the tag is not
575
+ * found, the `Option` object will be `None`.
576
+ *
577
+ * @example
578
+ * ```ts
579
+ * import * as assert from "node:assert"
580
+ * import { Context, Option } from "effect"
581
+ *
582
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
583
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
584
+ *
585
+ * const Services = Context.make(Port, { PORT: 8080 })
586
+ *
587
+ * assert.deepStrictEqual(Context.getOption(Services, Port), Option.some({ PORT: 8080 }))
588
+ * assert.deepStrictEqual(Context.getOption(Services, Timeout), Option.none())
589
+ * ```
590
+ *
591
+ * @since 2.0.0
592
+ * @category getters
593
+ */
594
+ <S, I>(tag: Tag<I, S>): <Services>(self: Context<Services>) => Option<S>;
595
+ /**
596
+ * Get the value associated with the specified tag from the context wrapped in an `Option` object. If the tag is not
597
+ * found, the `Option` object will be `None`.
598
+ *
599
+ * @example
600
+ * ```ts
601
+ * import * as assert from "node:assert"
602
+ * import { Context, Option } from "effect"
603
+ *
604
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
605
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
606
+ *
607
+ * const Services = Context.make(Port, { PORT: 8080 })
608
+ *
609
+ * assert.deepStrictEqual(Context.getOption(Services, Port), Option.some({ PORT: 8080 }))
610
+ * assert.deepStrictEqual(Context.getOption(Services, Timeout), Option.none())
611
+ * ```
612
+ *
613
+ * @since 2.0.0
614
+ * @category getters
615
+ */
616
+ <Services, S, I>(self: Context<Services>, tag: Tag<I, S>): Option<S>;
617
+ };
618
+ /**
619
+ * Merges two `Context`s, returning a new `Context` containing the services of both.
620
+ *
621
+ * @example
622
+ * ```ts
623
+ * import * as assert from "node:assert"
624
+ * import { Context } from "effect"
625
+ *
626
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
627
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
628
+ *
629
+ * const firstContext = Context.make(Port, { PORT: 8080 })
630
+ * const secondContext = Context.make(Timeout, { TIMEOUT: 5000 })
631
+ *
632
+ * const Services = Context.merge(firstContext, secondContext)
633
+ *
634
+ * assert.deepStrictEqual(Context.get(Services, Port), { PORT: 8080 })
635
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
636
+ * ```
637
+ *
638
+ * @since 2.0.0
639
+ */
640
+ export declare const merge: {
641
+ /**
642
+ * Merges two `Context`s, returning a new `Context` containing the services of both.
643
+ *
644
+ * @example
645
+ * ```ts
646
+ * import * as assert from "node:assert"
647
+ * import { Context } from "effect"
648
+ *
649
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
650
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
651
+ *
652
+ * const firstContext = Context.make(Port, { PORT: 8080 })
653
+ * const secondContext = Context.make(Timeout, { TIMEOUT: 5000 })
654
+ *
655
+ * const Services = Context.merge(firstContext, secondContext)
656
+ *
657
+ * assert.deepStrictEqual(Context.get(Services, Port), { PORT: 8080 })
658
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
659
+ * ```
660
+ *
661
+ * @since 2.0.0
662
+ */
663
+ <R1>(that: Context<R1>): <Services>(self: Context<Services>) => Context<R1 | Services>;
664
+ /**
665
+ * Merges two `Context`s, returning a new `Context` containing the services of both.
666
+ *
667
+ * @example
668
+ * ```ts
669
+ * import * as assert from "node:assert"
670
+ * import { Context } from "effect"
671
+ *
672
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
673
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
674
+ *
675
+ * const firstContext = Context.make(Port, { PORT: 8080 })
676
+ * const secondContext = Context.make(Timeout, { TIMEOUT: 5000 })
677
+ *
678
+ * const Services = Context.merge(firstContext, secondContext)
679
+ *
680
+ * assert.deepStrictEqual(Context.get(Services, Port), { PORT: 8080 })
681
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
682
+ * ```
683
+ *
684
+ * @since 2.0.0
685
+ */
686
+ <Services, R1>(self: Context<Services>, that: Context<R1>): Context<Services | R1>;
687
+ };
688
+ /**
689
+ * Merges any number of `Context`s, returning a new `Context` containing the services of all.
690
+ *
691
+ * @example
692
+ * ```ts
693
+ * import * as assert from "node:assert"
694
+ * import { Context } from "effect"
695
+ *
696
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
697
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
698
+ * const Host = Context.GenericTag<{ HOST: string }>("Host")
699
+ *
700
+ * const firstContext = Context.make(Port, { PORT: 8080 })
701
+ * const secondContext = Context.make(Timeout, { TIMEOUT: 5000 })
702
+ * const thirdContext = Context.make(Host, { HOST: "localhost" })
703
+ *
704
+ * const Services = Context.mergeAll(firstContext, secondContext, thirdContext)
705
+ *
706
+ * assert.deepStrictEqual(Context.get(Services, Port), { PORT: 8080 })
707
+ * assert.deepStrictEqual(Context.get(Services, Timeout), { TIMEOUT: 5000 })
708
+ * assert.deepStrictEqual(Context.get(Services, Host), { HOST: "localhost" })
709
+ * ```
710
+ *
711
+ * @since 3.12.0
712
+ */
713
+ export declare const mergeAll: <T extends Array<unknown>>(...ctxs: [...{
714
+ [K in keyof T]: Context<T[K]>;
715
+ }]) => Context<T[number]>;
716
+ /**
717
+ * Returns a new `Context` that contains only the specified services.
718
+ *
719
+ * @example
720
+ * ```ts
721
+ * import * as assert from "node:assert"
722
+ * import { pipe, Context, Option } from "effect"
723
+ *
724
+ * const Port = Context.GenericTag<{ PORT: number }>("Port")
725
+ * const Timeout = Context.GenericTag<{ TIMEOUT: number }>("Timeout")
726
+ *
727
+ * const someContext = pipe(
728
+ * Context.make(Port, { PORT: 8080 }),
729
+ * Context.add(Timeout, { TIMEOUT: 5000 })
730
+ * )
731
+ *
732
+ * const Services = pipe(someContext, Context.pick(Port))
733
+ *
734
+ * assert.deepStrictEqual(Context.getOption(Services, Port), Option.some({ PORT: 8080 }))
735
+ * assert.deepStrictEqual(Context.getOption(Services, Timeout), Option.none())
736
+ * ```
737
+ *
738
+ * @since 2.0.0
739
+ */
740
+ export declare const pick: <Tags extends ReadonlyArray<Tag<any, any>>>(...tags: Tags) => <Services>(self: Context<Services>) => Context<Services & Tag.Identifier<Tags[number]>>;
741
+ /**
742
+ * @since 2.0.0
743
+ */
744
+ export declare const omit: <Tags extends ReadonlyArray<Tag<any, any>>>(...tags: Tags) => <Services>(self: Context<Services>) => Context<Exclude<Services, Tag.Identifier<Tags[number]>>>;
745
+ /**
746
+ * @example
747
+ * ```ts
748
+ * import * as assert from "node:assert"
749
+ * import { Context, Layer } from "effect"
750
+ *
751
+ * class MyTag extends Context.Tag("MyTag")<
752
+ * MyTag,
753
+ * { readonly myNum: number }
754
+ * >() {
755
+ * static Live = Layer.succeed(this, { myNum: 108 })
756
+ * }
757
+ * ```
758
+ *
759
+ * @since 2.0.0
760
+ * @category constructors
761
+ */
762
+ export declare const Tag: <const Id extends string>(id: Id) => <Self, Shape>() => TagClass<Self, Id, Shape>;
763
+ /**
764
+ * Creates a context tag with a default value.
765
+ *
766
+ * **Details**
767
+ *
768
+ * `Context.Reference` allows you to create a tag that can hold a value. You can
769
+ * provide a default value for the service, which will automatically be used
770
+ * when the context is accessed, or override it with a custom implementation
771
+ * when needed.
772
+ *
773
+ * **Example** (Declaring a Tag with a default value)
774
+ *
775
+ * ```ts
776
+ * import * as assert from "node:assert"
777
+ * import { Context, Effect } from "effect"
778
+ *
779
+ * class SpecialNumber extends Context.Reference<SpecialNumber>()(
780
+ * "SpecialNumber",
781
+ * { defaultValue: () => 2048 }
782
+ * ) {}
783
+ *
784
+ * // ┌─── Effect<void, never, never>
785
+ * // ▼
786
+ * const program = Effect.gen(function* () {
787
+ * const specialNumber = yield* SpecialNumber
788
+ * console.log(`The special number is ${specialNumber}`)
789
+ * })
790
+ *
791
+ * // No need to provide the SpecialNumber implementation
792
+ * Effect.runPromise(program)
793
+ * // Output: The special number is 2048
794
+ * ```
795
+ *
796
+ * **Example** (Overriding the default value)
797
+ *
798
+ * ```ts
799
+ * import { Context, Effect } from "effect"
800
+ *
801
+ * class SpecialNumber extends Context.Reference<SpecialNumber>()(
802
+ * "SpecialNumber",
803
+ * { defaultValue: () => 2048 }
804
+ * ) {}
805
+ *
806
+ * const program = Effect.gen(function* () {
807
+ * const specialNumber = yield* SpecialNumber
808
+ * console.log(`The special number is ${specialNumber}`)
809
+ * })
810
+ *
811
+ * Effect.runPromise(program.pipe(Effect.provideService(SpecialNumber, -1)))
812
+ * // Output: The special number is -1
813
+ * ```
814
+ *
815
+ * @since 3.11.0
816
+ * @category constructors
817
+ * @experimental
818
+ */
819
+ export declare const Reference: <Self>() => <const Id extends string, Service>(id: Id, options: {
820
+ readonly defaultValue: () => Service;
821
+ }) => ReferenceClass<Self, Id, Service>;
822
+ export {};
823
+ //# sourceMappingURL=Context.d.ts.map
backend/node_modules/effect/dist/dts/Cron.d.ts ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type * as DateTime from "./DateTime.js";
2
+ import * as Either from "./Either.js";
3
+ import * as Equal from "./Equal.js";
4
+ import * as equivalence from "./Equivalence.js";
5
+ import { type Inspectable } from "./Inspectable.js";
6
+ import * as Option from "./Option.js";
7
+ import { type Pipeable } from "./Pipeable.js";
8
+ /**
9
+ * @since 2.0.0
10
+ * @category symbols
11
+ */
12
+ export declare const TypeId: unique symbol;
13
+ /**
14
+ * @since 2.0.0
15
+ * @category symbol
16
+ */
17
+ export type TypeId = typeof TypeId;
18
+ /**
19
+ * @since 2.0.0
20
+ * @category models
21
+ */
22
+ export interface Cron extends Pipeable, Equal.Equal, Inspectable {
23
+ readonly [TypeId]: TypeId;
24
+ readonly tz: Option.Option<DateTime.TimeZone>;
25
+ readonly seconds: ReadonlySet<number>;
26
+ readonly minutes: ReadonlySet<number>;
27
+ readonly hours: ReadonlySet<number>;
28
+ readonly days: ReadonlySet<number>;
29
+ readonly months: ReadonlySet<number>;
30
+ readonly weekdays: ReadonlySet<number>;
31
+ }
32
+ /**
33
+ * Checks if a given value is a `Cron` instance.
34
+ *
35
+ * @since 2.0.0
36
+ * @category guards
37
+ */
38
+ export declare const isCron: (u: unknown) => u is Cron;
39
+ /**
40
+ * Creates a `Cron` instance.
41
+ *
42
+ * @since 2.0.0
43
+ * @category constructors
44
+ */
45
+ export declare const make: (values: {
46
+ readonly seconds?: Iterable<number> | undefined;
47
+ readonly minutes: Iterable<number>;
48
+ readonly hours: Iterable<number>;
49
+ readonly days: Iterable<number>;
50
+ readonly months: Iterable<number>;
51
+ readonly weekdays: Iterable<number>;
52
+ readonly tz?: DateTime.TimeZone | undefined;
53
+ }) => Cron;
54
+ /**
55
+ * @since 2.0.0
56
+ * @category symbol
57
+ */
58
+ export declare const ParseErrorTypeId: unique symbol;
59
+ /**
60
+ * @since 2.0.0
61
+ * @category symbols
62
+ */
63
+ export type ParseErrorTypeId = typeof ParseErrorTypeId;
64
+ declare const ParseError_base: new <A extends Record<string, any> = {}>(args: import("./Types.js").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("./Cause.js").YieldableError & {
65
+ readonly _tag: "CronParseError";
66
+ } & Readonly<A>;
67
+ /**
68
+ * Represents a checked exception which occurs when decoding fails.
69
+ *
70
+ * @since 2.0.0
71
+ * @category models
72
+ */
73
+ export declare class ParseError extends ParseError_base<{
74
+ readonly message: string;
75
+ readonly input?: string;
76
+ }> {
77
+ /**
78
+ * @since 2.0.0
79
+ */
80
+ readonly [ParseErrorTypeId]: symbol;
81
+ }
82
+ /**
83
+ * Returns `true` if the specified value is an `ParseError`, `false` otherwise.
84
+ *
85
+ * @since 2.0.0
86
+ * @category guards
87
+ */
88
+ export declare const isParseError: (u: unknown) => u is ParseError;
89
+ /**
90
+ * Parses a cron expression into a `Cron` instance.
91
+ *
92
+ * @example
93
+ * ```ts
94
+ * import * as assert from "node:assert"
95
+ * import { Cron, Either } from "effect"
96
+ *
97
+ * // At 04:00 on every day-of-month from 8 through 14.
98
+ * assert.deepStrictEqual(Cron.parse("0 0 4 8-14 * *"), Either.right(Cron.make({
99
+ * seconds: [0],
100
+ * minutes: [0],
101
+ * hours: [4],
102
+ * days: [8, 9, 10, 11, 12, 13, 14],
103
+ * months: [],
104
+ * weekdays: []
105
+ * })))
106
+ * ```
107
+ *
108
+ * @since 2.0.0
109
+ * @category constructors
110
+ */
111
+ export declare const parse: (cron: string, tz?: DateTime.TimeZone | string) => Either.Either<Cron, ParseError>;
112
+ /**
113
+ * Parses a cron expression into a `Cron` instance.
114
+ *
115
+ * **Details**
116
+ *
117
+ * This function takes a cron expression as a string and attempts to parse it
118
+ * into a `Cron` instance. If the expression is valid, the resulting `Cron`
119
+ * instance will represent the schedule defined by the cron expression.
120
+ *
121
+ * If the expression is invalid, the function throws a `ParseError`.
122
+ *
123
+ * You can optionally provide a time zone (`tz`) to interpret the cron
124
+ * expression in a specific time zone. If no time zone is provided, the cron
125
+ * expression will use the default time zone.
126
+ *
127
+ * @example
128
+ * ```ts
129
+ * import { Cron } from "effect"
130
+ *
131
+ * // At 04:00 on every day-of-month from 8 through 14.
132
+ * console.log(Cron.unsafeParse("0 4 8-14 * *"))
133
+ * // Output:
134
+ * // {
135
+ * // _id: 'Cron',
136
+ * // tz: { _id: 'Option', _tag: 'None' },
137
+ * // seconds: [ 0 ],
138
+ * // minutes: [ 0 ],
139
+ * // hours: [ 4 ],
140
+ * // days: [
141
+ * // 8, 9, 10, 11,
142
+ * // 12, 13, 14
143
+ * // ],
144
+ * // months: [],
145
+ * // weekdays: []
146
+ * // }
147
+ * ```
148
+ *
149
+ * @since 2.0.0
150
+ * @category constructors
151
+ */
152
+ export declare const unsafeParse: (cron: string, tz?: DateTime.TimeZone | string) => Cron;
153
+ /**
154
+ * Checks if a given `Date` falls within an active `Cron` time window.
155
+ *
156
+ * @example
157
+ * ```ts
158
+ * import * as assert from "node:assert"
159
+ * import { Cron, Either } from "effect"
160
+ *
161
+ * const cron = Either.getOrThrow(Cron.parse("0 4 8-14 * *"))
162
+ * assert.deepStrictEqual(Cron.match(cron, new Date("2021-01-08 04:00:00")), true)
163
+ * assert.deepStrictEqual(Cron.match(cron, new Date("2021-01-08 05:00:00")), false)
164
+ * ```
165
+ *
166
+ * @throws `IllegalArgumentException` if the given `DateTime.Input` is invalid.
167
+ *
168
+ * @since 2.0.0
169
+ */
170
+ export declare const match: (cron: Cron, date: DateTime.DateTime.Input) => boolean;
171
+ /**
172
+ * Returns the next run `Date` for the given `Cron` instance.
173
+ *
174
+ * Uses the current time as a starting point if no value is provided for `startFrom`.
175
+ *
176
+ * @example
177
+ * ```ts
178
+ * import * as assert from "node:assert"
179
+ * import { Cron, Either } from "effect"
180
+ *
181
+ * const after = new Date("2021-01-01 00:00:00")
182
+ * const cron = Either.getOrThrow(Cron.parse("0 4 8-14 * *"))
183
+ * assert.deepStrictEqual(Cron.next(cron, after), new Date("2021-01-08 04:00:00"))
184
+ * ```
185
+ *
186
+ * @throws `IllegalArgumentException` if the given `DateTime.Input` is invalid.
187
+ * @throws `Error` if the next run date cannot be found within 10,000 iterations.
188
+ *
189
+ * @since 2.0.0
190
+ */
191
+ export declare const next: (cron: Cron, startFrom?: DateTime.DateTime.Input) => Date;
192
+ /**
193
+ * Returns the previous run `Date` for the given `Cron` instance.
194
+ *
195
+ * Uses the current time as a starting point if no value is provided for `startFrom`.
196
+ *
197
+ * @example
198
+ * ```ts
199
+ * import * as assert from "node:assert"
200
+ * import { Cron, Either } from "effect"
201
+ *
202
+ * const before = new Date("2021-01-15 00:00:00")
203
+ * const cron = Either.getOrThrow(Cron.parse("0 4 8-14 * *"))
204
+ * assert.deepStrictEqual(Cron.prev(cron, before), new Date("2021-01-14 04:00:00"))
205
+ * ```
206
+ *
207
+ * @throws `IllegalArgumentException` if the given `DateTime.Input` is invalid.
208
+ * @throws `Error` if the previous run date cannot be found within 10,000 iterations.
209
+ *
210
+ * @since 3.20.0
211
+ */
212
+ export declare const prev: (cron: Cron, startFrom?: DateTime.DateTime.Input) => Date;
213
+ /**
214
+ * Returns an `IterableIterator` which yields the sequence of `Date`s that match the `Cron` instance.
215
+ *
216
+ * @since 2.0.0
217
+ */
218
+ export declare const sequence: (cron: Cron, startFrom?: DateTime.DateTime.Input) => IterableIterator<Date>;
219
+ /**
220
+ * Returns an `IterableIterator` which yields the sequence of `Date`s that match the `Cron` instance,
221
+ * in reverse direction.
222
+ *
223
+ * @since 3.20.0
224
+ */
225
+ export declare const sequenceReverse: (cron: Cron, startFrom?: DateTime.DateTime.Input) => IterableIterator<Date>;
226
+ /**
227
+ * @category instances
228
+ * @since 2.0.0
229
+ */
230
+ export declare const Equivalence: equivalence.Equivalence<Cron>;
231
+ /**
232
+ * Checks if two `Cron`s are equal.
233
+ *
234
+ * @since 2.0.0
235
+ * @category predicates
236
+ */
237
+ export declare const equals: {
238
+ /**
239
+ * Checks if two `Cron`s are equal.
240
+ *
241
+ * @since 2.0.0
242
+ * @category predicates
243
+ */
244
+ (that: Cron): (self: Cron) => boolean;
245
+ /**
246
+ * Checks if two `Cron`s are equal.
247
+ *
248
+ * @since 2.0.0
249
+ * @category predicates
250
+ */
251
+ (self: Cron, that: Cron): boolean;
252
+ };
253
+ export {};
254
+ //# sourceMappingURL=Cron.d.ts.map
backend/node_modules/effect/dist/dts/Cron.d.ts.map AD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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Cause from "./Cause.js";
5
+ import type * as Types from "./Types.js";
6
+ import type { Unify } from "./Unify.js";
7
+ /**
8
+ * @since 2.0.0
9
+ */
10
+ export declare namespace Case {
11
+ /**
12
+ * @since 2.0.0
13
+ * @category models
14
+ */
15
+ interface Constructor<A, Tag extends keyof A = never> {
16
+ (args: Types.VoidIfEmpty<{
17
+ readonly [P in keyof A as P extends Tag ? never : P]: A[P];
18
+ }>): A;
19
+ }
20
+ }
21
+ /**
22
+ * @example
23
+ * ```ts
24
+ * import * as assert from "node:assert"
25
+ * import { Data, Equal } from "effect"
26
+ *
27
+ * const alice = Data.struct({ name: "Alice", age: 30 })
28
+ *
29
+ * const bob = Data.struct({ name: "Bob", age: 40 })
30
+ *
31
+ * assert.deepStrictEqual(Equal.equals(alice, alice), true)
32
+ * assert.deepStrictEqual(Equal.equals(alice, Data.struct({ name: "Alice", age: 30 })), true)
33
+ *
34
+ * assert.deepStrictEqual(Equal.equals(alice, { name: "Alice", age: 30 }), false)
35
+ * assert.deepStrictEqual(Equal.equals(alice, bob), false)
36
+ * ```
37
+ *
38
+ * @category constructors
39
+ * @since 2.0.0
40
+ */
41
+ export declare const struct: <A extends Record<string, any>>(a: A) => {
42
+ readonly [P in keyof A]: A[P];
43
+ };
44
+ /**
45
+ * @category constructors
46
+ * @since 2.0.0
47
+ */
48
+ export declare const unsafeStruct: <A extends Record<string, any>>(as: A) => { readonly [P in keyof A]: A[P]; };
49
+ /**
50
+ * @example
51
+ * ```ts
52
+ * import * as assert from "node:assert"
53
+ * import { Data, Equal } from "effect"
54
+ *
55
+ * const alice = Data.tuple("Alice", 30)
56
+ *
57
+ * const bob = Data.tuple("Bob", 40)
58
+ *
59
+ * assert.deepStrictEqual(Equal.equals(alice, alice), true)
60
+ * assert.deepStrictEqual(Equal.equals(alice, Data.tuple("Alice", 30)), true)
61
+ *
62
+ * assert.deepStrictEqual(Equal.equals(alice, ["Alice", 30]), false)
63
+ * assert.deepStrictEqual(Equal.equals(alice, bob), false)
64
+ * ```
65
+ *
66
+ * @category constructors
67
+ * @since 2.0.0
68
+ */
69
+ export declare const tuple: <As extends ReadonlyArray<any>>(...as: As) => Readonly<As>;
70
+ /**
71
+ * @example
72
+ * ```ts
73
+ * import * as assert from "node:assert"
74
+ * import { Data, Equal } from "effect"
75
+ *
76
+ * const alice = Data.struct({ name: "Alice", age: 30 })
77
+ * const bob = Data.struct({ name: "Bob", age: 40 })
78
+ *
79
+ * const persons = Data.array([alice, bob])
80
+ *
81
+ * assert.deepStrictEqual(
82
+ * Equal.equals(
83
+ * persons,
84
+ * Data.array([
85
+ * Data.struct({ name: "Alice", age: 30 }),
86
+ * Data.struct({ name: "Bob", age: 40 })
87
+ * ])
88
+ * ),
89
+ * true
90
+ * )
91
+ * ```
92
+ *
93
+ * @category constructors
94
+ * @since 2.0.0
95
+ */
96
+ export declare const array: <As extends ReadonlyArray<any>>(as: As) => Readonly<As>;
97
+ /**
98
+ * @category constructors
99
+ * @since 2.0.0
100
+ */
101
+ export declare const unsafeArray: <As extends ReadonlyArray<any>>(as: As) => Readonly<As>;
102
+ declare const _case: <A>() => Case.Constructor<A>;
103
+ export {
104
+ /**
105
+ * Provides a constructor for the specified `Case`.
106
+ *
107
+ * @example
108
+ * ```ts
109
+ * import * as assert from "node:assert"
110
+ * import { Data, Equal } from "effect"
111
+ *
112
+ * interface Person {
113
+ * readonly name: string
114
+ * }
115
+ *
116
+ * // Creating a constructor for the specified Case
117
+ * const Person = Data.case<Person>()
118
+ *
119
+ * // Creating instances of Person
120
+ * const mike1 = Person({ name: "Mike" })
121
+ * const mike2 = Person({ name: "Mike" })
122
+ * const john = Person({ name: "John" })
123
+ *
124
+ * // Checking equality
125
+ * assert.deepStrictEqual(Equal.equals(mike1, mike2), true)
126
+ * assert.deepStrictEqual(Equal.equals(mike1, john), false)
127
+ *
128
+ * ```
129
+ * @since 2.0.0
130
+ * @category constructors
131
+ */
132
+ _case as case };
133
+ /**
134
+ * Provides a tagged constructor for the specified `Case`.
135
+ *
136
+ * @example
137
+ * ```ts
138
+ * import * as assert from "node:assert"
139
+ * import { Data } from "effect"
140
+ *
141
+ * interface Person {
142
+ * readonly _tag: "Person" // the tag
143
+ * readonly name: string
144
+ * }
145
+ *
146
+ * const Person = Data.tagged<Person>("Person")
147
+ *
148
+ * const mike = Person({ name: "Mike" })
149
+ *
150
+ * assert.deepEqual(mike, { _tag: "Person", name: "Mike" })
151
+ * ```
152
+ *
153
+ * @since 2.0.0
154
+ * @category constructors
155
+ */
156
+ export declare const tagged: <A extends {
157
+ readonly _tag: string;
158
+ }>(tag: A["_tag"]) => Case.Constructor<A, "_tag">;
159
+ /**
160
+ * Provides a constructor for a Case Class.
161
+ *
162
+ * @example
163
+ * ```ts
164
+ * import * as assert from "node:assert"
165
+ * import { Data, Equal } from "effect"
166
+ *
167
+ * class Person extends Data.Class<{ readonly name: string }> {}
168
+ *
169
+ * // Creating instances of Person
170
+ * const mike1 = new Person({ name: "Mike" })
171
+ * const mike2 = new Person({ name: "Mike" })
172
+ * const john = new Person({ name: "John" })
173
+ *
174
+ * // Checking equality
175
+ * assert.deepStrictEqual(Equal.equals(mike1, mike2), true)
176
+ * assert.deepStrictEqual(Equal.equals(mike1, john), false)
177
+ * ```
178
+ *
179
+ * @since 2.0.0
180
+ * @category constructors
181
+ */
182
+ export declare const Class: new <A extends Record<string, any> = {}>(args: Types.VoidIfEmpty<{
183
+ readonly [P in keyof A]: A[P];
184
+ }>) => Readonly<A>;
185
+ /**
186
+ * Provides a Tagged constructor for a Case Class.
187
+ *
188
+ * @example
189
+ * ```ts
190
+ * import * as assert from "node:assert"
191
+ * import { Data, Equal } from "effect"
192
+ *
193
+ * class Person extends Data.TaggedClass("Person")<{ readonly name: string }> {}
194
+ *
195
+ * // Creating instances of Person
196
+ * const mike1 = new Person({ name: "Mike" })
197
+ * const mike2 = new Person({ name: "Mike" })
198
+ * const john = new Person({ name: "John" })
199
+ *
200
+ * // Checking equality
201
+ * assert.deepStrictEqual(Equal.equals(mike1, mike2), true)
202
+ * assert.deepStrictEqual(Equal.equals(mike1, john), false)
203
+ *
204
+ * assert.deepStrictEqual(mike1._tag, "Person")
205
+ * ```
206
+ *
207
+ * @since 2.0.0
208
+ * @category constructors
209
+ */
210
+ export declare const TaggedClass: <Tag extends string>(tag: Tag) => new <A extends Record<string, any> = {}>(args: Types.VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => Readonly<A> & {
211
+ readonly _tag: Tag;
212
+ };
213
+ /**
214
+ * @since 2.0.0
215
+ * @category constructors
216
+ */
217
+ export declare const Structural: new <A>(args: Types.VoidIfEmpty<{
218
+ readonly [P in keyof A]: A[P];
219
+ }>) => {};
220
+ /**
221
+ * Create a tagged enum data type, which is a union of `Data` structs.
222
+ *
223
+ * ```ts
224
+ * import * as assert from "node:assert"
225
+ * import { Data } from "effect"
226
+ *
227
+ * type HttpError = Data.TaggedEnum<{
228
+ * BadRequest: { readonly status: 400, readonly message: string }
229
+ * NotFound: { readonly status: 404, readonly message: string }
230
+ * }>
231
+ *
232
+ * // Equivalent to:
233
+ * type HttpErrorPlain =
234
+ * | {
235
+ * readonly _tag: "BadRequest"
236
+ * readonly status: 400
237
+ * readonly message: string
238
+ * }
239
+ * | {
240
+ * readonly _tag: "NotFound"
241
+ * readonly status: 404
242
+ * readonly message: string
243
+ * }
244
+ * ```
245
+ *
246
+ * @since 2.0.0
247
+ * @category models
248
+ */
249
+ export type TaggedEnum<A extends Record<string, Record<string, any>> & UntaggedChildren<A>> = keyof A extends infer Tag ? Tag extends keyof A ? Types.Simplify<{
250
+ readonly _tag: Tag;
251
+ } & {
252
+ readonly [K in keyof A[Tag]]: A[Tag][K];
253
+ }> : never : never;
254
+ type ChildrenAreTagged<A> = keyof A extends infer K ? K extends keyof A ? "_tag" extends keyof A[K] ? true : false : never : never;
255
+ type UntaggedChildren<A> = true extends ChildrenAreTagged<A> ? "It looks like you're trying to create a tagged enum, but one or more of its members already has a `_tag` property." : unknown;
256
+ /**
257
+ * @since 2.0.0
258
+ */
259
+ export declare namespace TaggedEnum {
260
+ /**
261
+ * @since 2.0.0
262
+ * @category models
263
+ */
264
+ interface WithGenerics<Count extends number> {
265
+ readonly taggedEnum: {
266
+ readonly _tag: string;
267
+ };
268
+ readonly numberOfGenerics: Count;
269
+ readonly A: unknown;
270
+ readonly B: unknown;
271
+ readonly C: unknown;
272
+ readonly D: unknown;
273
+ }
274
+ /**
275
+ * @since 2.0.0
276
+ * @category models
277
+ */
278
+ type Kind<Z extends WithGenerics<number>, A = unknown, B = unknown, C = unknown, D = unknown> = (Z & {
279
+ readonly A: A;
280
+ readonly B: B;
281
+ readonly C: C;
282
+ readonly D: D;
283
+ })["taggedEnum"];
284
+ /**
285
+ * @since 2.0.0
286
+ */
287
+ type Args<A extends {
288
+ readonly _tag: string;
289
+ }, K extends A["_tag"], E = Extract<A, {
290
+ readonly _tag: K;
291
+ }>> = {
292
+ readonly [K in keyof E as K extends "_tag" ? never : K]: E[K];
293
+ } extends infer T ? Types.VoidIfEmpty<T> : never;
294
+ /**
295
+ * @since 2.0.0
296
+ */
297
+ type Value<A extends {
298
+ readonly _tag: string;
299
+ }, K extends A["_tag"]> = Extract<A, {
300
+ readonly _tag: K;
301
+ }>;
302
+ /**
303
+ * @since 3.1.0
304
+ */
305
+ type Constructor<A extends {
306
+ readonly _tag: string;
307
+ }> = Types.Simplify<{
308
+ readonly [Tag in A["_tag"]]: Case.Constructor<Extract<A, {
309
+ readonly _tag: Tag;
310
+ }>, "_tag">;
311
+ } & {
312
+ readonly $is: <Tag extends A["_tag"]>(tag: Tag) => (u: unknown) => u is Extract<A, {
313
+ readonly _tag: Tag;
314
+ }>;
315
+ readonly $match: {
316
+ <const Cases extends {
317
+ readonly [Tag in A["_tag"]]: (args: Extract<A, {
318
+ readonly _tag: Tag;
319
+ }>) => any;
320
+ }>(cases: Cases & {
321
+ [K in Exclude<keyof Cases, A["_tag"]>]: never;
322
+ }): (value: A) => Unify<ReturnType<Cases[A["_tag"]]>>;
323
+ <const Cases extends {
324
+ readonly [Tag in A["_tag"]]: (args: Extract<A, {
325
+ readonly _tag: Tag;
326
+ }>) => any;
327
+ }>(value: A, cases: Cases & {
328
+ [K in Exclude<keyof Cases, A["_tag"]>]: never;
329
+ }): Unify<ReturnType<Cases[A["_tag"]]>>;
330
+ };
331
+ }>;
332
+ /**
333
+ * @since 3.2.0
334
+ */
335
+ interface GenericMatchers<Z extends WithGenerics<number>> {
336
+ readonly $is: <Tag extends Z["taggedEnum"]["_tag"]>(tag: Tag) => {
337
+ <T extends TaggedEnum.Kind<Z, any, any, any, any>>(u: T): u is T & {
338
+ readonly _tag: Tag;
339
+ };
340
+ (u: unknown): u is Extract<TaggedEnum.Kind<Z>, {
341
+ readonly _tag: Tag;
342
+ }>;
343
+ };
344
+ readonly $match: {
345
+ <A, B, C, D, Cases extends {
346
+ readonly [Tag in Z["taggedEnum"]["_tag"]]: (args: Extract<TaggedEnum.Kind<Z, A, B, C, D>, {
347
+ readonly _tag: Tag;
348
+ }>) => any;
349
+ }>(cases: Cases & {
350
+ [K in Exclude<keyof Cases, Z["taggedEnum"]["_tag"]>]: never;
351
+ }): (self: TaggedEnum.Kind<Z, A, B, C, D>) => Unify<ReturnType<Cases[Z["taggedEnum"]["_tag"]]>>;
352
+ <A, B, C, D, Cases extends {
353
+ readonly [Tag in Z["taggedEnum"]["_tag"]]: (args: Extract<TaggedEnum.Kind<Z, A, B, C, D>, {
354
+ readonly _tag: Tag;
355
+ }>) => any;
356
+ }>(self: TaggedEnum.Kind<Z, A, B, C, D>, cases: Cases & {
357
+ [K in Exclude<keyof Cases, Z["taggedEnum"]["_tag"]>]: never;
358
+ }): Unify<ReturnType<Cases[Z["taggedEnum"]["_tag"]]>>;
359
+ };
360
+ }
361
+ }
362
+ /**
363
+ * Create a constructor for a tagged union of `Data` structs.
364
+ *
365
+ * You can also pass a `TaggedEnum.WithGenerics` if you want to add generics to
366
+ * the constructor.
367
+ *
368
+ * @example
369
+ * ```ts
370
+ * import { Data } from "effect"
371
+ *
372
+ * const { BadRequest, NotFound } = Data.taggedEnum<
373
+ * | { readonly _tag: "BadRequest"; readonly status: 400; readonly message: string }
374
+ * | { readonly _tag: "NotFound"; readonly status: 404; readonly message: string }
375
+ * >()
376
+ *
377
+ * const notFound = NotFound({ status: 404, message: "Not Found" })
378
+ * ```
379
+ *
380
+ * @example
381
+ * import { Data } from "effect"
382
+ *
383
+ * type MyResult<E, A> = Data.TaggedEnum<{
384
+ * Failure: { readonly error: E }
385
+ * Success: { readonly value: A }
386
+ * }>
387
+ * interface MyResultDefinition extends Data.TaggedEnum.WithGenerics<2> {
388
+ * readonly taggedEnum: MyResult<this["A"], this["B"]>
389
+ * }
390
+ * const { Failure, Success } = Data.taggedEnum<MyResultDefinition>()
391
+ *
392
+ * const success = Success({ value: 1 })
393
+ *
394
+ * @category constructors
395
+ * @since 2.0.0
396
+ */
397
+ export declare const taggedEnum: {
398
+ /**
399
+ * Create a constructor for a tagged union of `Data` structs.
400
+ *
401
+ * You can also pass a `TaggedEnum.WithGenerics` if you want to add generics to
402
+ * the constructor.
403
+ *
404
+ * @example
405
+ * ```ts
406
+ * import { Data } from "effect"
407
+ *
408
+ * const { BadRequest, NotFound } = Data.taggedEnum<
409
+ * | { readonly _tag: "BadRequest"; readonly status: 400; readonly message: string }
410
+ * | { readonly _tag: "NotFound"; readonly status: 404; readonly message: string }
411
+ * >()
412
+ *
413
+ * const notFound = NotFound({ status: 404, message: "Not Found" })
414
+ * ```
415
+ *
416
+ * @example
417
+ * import { Data } from "effect"
418
+ *
419
+ * type MyResult<E, A> = Data.TaggedEnum<{
420
+ * Failure: { readonly error: E }
421
+ * Success: { readonly value: A }
422
+ * }>
423
+ * interface MyResultDefinition extends Data.TaggedEnum.WithGenerics<2> {
424
+ * readonly taggedEnum: MyResult<this["A"], this["B"]>
425
+ * }
426
+ * const { Failure, Success } = Data.taggedEnum<MyResultDefinition>()
427
+ *
428
+ * const success = Success({ value: 1 })
429
+ *
430
+ * @category constructors
431
+ * @since 2.0.0
432
+ */
433
+ <Z extends TaggedEnum.WithGenerics<1>>(): Types.Simplify<{
434
+ readonly [Tag in Z["taggedEnum"]["_tag"]]: <A>(args: TaggedEnum.Args<TaggedEnum.Kind<Z, A>, Tag, Extract<TaggedEnum.Kind<Z, A>, {
435
+ readonly _tag: Tag;
436
+ }>>) => TaggedEnum.Value<TaggedEnum.Kind<Z, A>, Tag>;
437
+ } & TaggedEnum.GenericMatchers<Z>>;
438
+ /**
439
+ * Create a constructor for a tagged union of `Data` structs.
440
+ *
441
+ * You can also pass a `TaggedEnum.WithGenerics` if you want to add generics to
442
+ * the constructor.
443
+ *
444
+ * @example
445
+ * ```ts
446
+ * import { Data } from "effect"
447
+ *
448
+ * const { BadRequest, NotFound } = Data.taggedEnum<
449
+ * | { readonly _tag: "BadRequest"; readonly status: 400; readonly message: string }
450
+ * | { readonly _tag: "NotFound"; readonly status: 404; readonly message: string }
451
+ * >()
452
+ *
453
+ * const notFound = NotFound({ status: 404, message: "Not Found" })
454
+ * ```
455
+ *
456
+ * @example
457
+ * import { Data } from "effect"
458
+ *
459
+ * type MyResult<E, A> = Data.TaggedEnum<{
460
+ * Failure: { readonly error: E }
461
+ * Success: { readonly value: A }
462
+ * }>
463
+ * interface MyResultDefinition extends Data.TaggedEnum.WithGenerics<2> {
464
+ * readonly taggedEnum: MyResult<this["A"], this["B"]>
465
+ * }
466
+ * const { Failure, Success } = Data.taggedEnum<MyResultDefinition>()
467
+ *
468
+ * const success = Success({ value: 1 })
469
+ *
470
+ * @category constructors
471
+ * @since 2.0.0
472
+ */
473
+ <Z extends TaggedEnum.WithGenerics<2>>(): Types.Simplify<{
474
+ readonly [Tag in Z["taggedEnum"]["_tag"]]: <A, B>(args: TaggedEnum.Args<TaggedEnum.Kind<Z, A, B>, Tag, Extract<TaggedEnum.Kind<Z, A, B>, {
475
+ readonly _tag: Tag;
476
+ }>>) => TaggedEnum.Value<TaggedEnum.Kind<Z, A, B>, Tag>;
477
+ } & TaggedEnum.GenericMatchers<Z>>;
478
+ /**
479
+ * Create a constructor for a tagged union of `Data` structs.
480
+ *
481
+ * You can also pass a `TaggedEnum.WithGenerics` if you want to add generics to
482
+ * the constructor.
483
+ *
484
+ * @example
485
+ * ```ts
486
+ * import { Data } from "effect"
487
+ *
488
+ * const { BadRequest, NotFound } = Data.taggedEnum<
489
+ * | { readonly _tag: "BadRequest"; readonly status: 400; readonly message: string }
490
+ * | { readonly _tag: "NotFound"; readonly status: 404; readonly message: string }
491
+ * >()
492
+ *
493
+ * const notFound = NotFound({ status: 404, message: "Not Found" })
494
+ * ```
495
+ *
496
+ * @example
497
+ * import { Data } from "effect"
498
+ *
499
+ * type MyResult<E, A> = Data.TaggedEnum<{
500
+ * Failure: { readonly error: E }
501
+ * Success: { readonly value: A }
502
+ * }>
503
+ * interface MyResultDefinition extends Data.TaggedEnum.WithGenerics<2> {
504
+ * readonly taggedEnum: MyResult<this["A"], this["B"]>
505
+ * }
506
+ * const { Failure, Success } = Data.taggedEnum<MyResultDefinition>()
507
+ *
508
+ * const success = Success({ value: 1 })
509
+ *
510
+ * @category constructors
511
+ * @since 2.0.0
512
+ */
513
+ <Z extends TaggedEnum.WithGenerics<3>>(): Types.Simplify<{
514
+ readonly [Tag in Z["taggedEnum"]["_tag"]]: <A, B, C>(args: TaggedEnum.Args<TaggedEnum.Kind<Z, A, B, C>, Tag, Extract<TaggedEnum.Kind<Z, A, B, C>, {
515
+ readonly _tag: Tag;
516
+ }>>) => TaggedEnum.Value<TaggedEnum.Kind<Z, A, B, C>, Tag>;
517
+ } & TaggedEnum.GenericMatchers<Z>>;
518
+ /**
519
+ * Create a constructor for a tagged union of `Data` structs.
520
+ *
521
+ * You can also pass a `TaggedEnum.WithGenerics` if you want to add generics to
522
+ * the constructor.
523
+ *
524
+ * @example
525
+ * ```ts
526
+ * import { Data } from "effect"
527
+ *
528
+ * const { BadRequest, NotFound } = Data.taggedEnum<
529
+ * | { readonly _tag: "BadRequest"; readonly status: 400; readonly message: string }
530
+ * | { readonly _tag: "NotFound"; readonly status: 404; readonly message: string }
531
+ * >()
532
+ *
533
+ * const notFound = NotFound({ status: 404, message: "Not Found" })
534
+ * ```
535
+ *
536
+ * @example
537
+ * import { Data } from "effect"
538
+ *
539
+ * type MyResult<E, A> = Data.TaggedEnum<{
540
+ * Failure: { readonly error: E }
541
+ * Success: { readonly value: A }
542
+ * }>
543
+ * interface MyResultDefinition extends Data.TaggedEnum.WithGenerics<2> {
544
+ * readonly taggedEnum: MyResult<this["A"], this["B"]>
545
+ * }
546
+ * const { Failure, Success } = Data.taggedEnum<MyResultDefinition>()
547
+ *
548
+ * const success = Success({ value: 1 })
549
+ *
550
+ * @category constructors
551
+ * @since 2.0.0
552
+ */
553
+ <Z extends TaggedEnum.WithGenerics<4>>(): Types.Simplify<{
554
+ readonly [Tag in Z["taggedEnum"]["_tag"]]: <A, B, C, D>(args: TaggedEnum.Args<TaggedEnum.Kind<Z, A, B, C, D>, Tag, Extract<TaggedEnum.Kind<Z, A, B, C, D>, {
555
+ readonly _tag: Tag;
556
+ }>>) => TaggedEnum.Value<TaggedEnum.Kind<Z, A, B, C, D>, Tag>;
557
+ } & TaggedEnum.GenericMatchers<Z>>;
558
+ /**
559
+ * Create a constructor for a tagged union of `Data` structs.
560
+ *
561
+ * You can also pass a `TaggedEnum.WithGenerics` if you want to add generics to
562
+ * the constructor.
563
+ *
564
+ * @example
565
+ * ```ts
566
+ * import { Data } from "effect"
567
+ *
568
+ * const { BadRequest, NotFound } = Data.taggedEnum<
569
+ * | { readonly _tag: "BadRequest"; readonly status: 400; readonly message: string }
570
+ * | { readonly _tag: "NotFound"; readonly status: 404; readonly message: string }
571
+ * >()
572
+ *
573
+ * const notFound = NotFound({ status: 404, message: "Not Found" })
574
+ * ```
575
+ *
576
+ * @example
577
+ * import { Data } from "effect"
578
+ *
579
+ * type MyResult<E, A> = Data.TaggedEnum<{
580
+ * Failure: { readonly error: E }
581
+ * Success: { readonly value: A }
582
+ * }>
583
+ * interface MyResultDefinition extends Data.TaggedEnum.WithGenerics<2> {
584
+ * readonly taggedEnum: MyResult<this["A"], this["B"]>
585
+ * }
586
+ * const { Failure, Success } = Data.taggedEnum<MyResultDefinition>()
587
+ *
588
+ * const success = Success({ value: 1 })
589
+ *
590
+ * @category constructors
591
+ * @since 2.0.0
592
+ */
593
+ <A extends {
594
+ readonly _tag: string;
595
+ }>(): TaggedEnum.Constructor<A>;
596
+ };
597
+ /**
598
+ * Provides a constructor for a Case Class.
599
+ *
600
+ * @since 2.0.0
601
+ * @category constructors
602
+ */
603
+ export declare const Error: new <A extends Record<string, any> = {}>(args: Types.VoidIfEmpty<{
604
+ readonly [P in keyof A]: A[P];
605
+ }>) => Cause.YieldableError & Readonly<A>;
606
+ /**
607
+ * @since 2.0.0
608
+ * @category constructors
609
+ */
610
+ export declare const TaggedError: <Tag extends string>(tag: Tag) => new <A extends Record<string, any> = {}>(args: Types.VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => Cause.YieldableError & {
611
+ readonly _tag: Tag;
612
+ } & Readonly<A>;
613
+ //# sourceMappingURL=Data.d.ts.map
backend/node_modules/effect/dist/dts/Data.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Data.d.ts","sourceRoot":"","sources":["../../src/Data.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AAKxC,OAAO,KAAK,KAAK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AAQ,CAAC,CAAC,CAQ9D,CAAA"}
backend/node_modules/effect/dist/dts/DefaultServices.d.ts ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Clock from "./Clock.js";
5
+ import type * as ConfigProvider from "./ConfigProvider.js";
6
+ import type * as Console from "./Console.js";
7
+ import type * as Context from "./Context.js";
8
+ import type * as FiberRef from "./FiberRef.js";
9
+ import type * as Random from "./Random.js";
10
+ import type * as Tracer from "./Tracer.js";
11
+ /**
12
+ * @since 2.0.0
13
+ * @category models
14
+ */
15
+ export type DefaultServices = Clock.Clock | Console.Console | Random.Random | ConfigProvider.ConfigProvider | Tracer.Tracer;
16
+ /**
17
+ * @since 2.0.0
18
+ * @category constructors
19
+ */
20
+ export declare const liveServices: Context.Context<DefaultServices>;
21
+ /**
22
+ * @since 2.0.0
23
+ * @category fiberRefs
24
+ */
25
+ export declare const currentServices: FiberRef.FiberRef<Context.Context<DefaultServices>>;
26
+ //# sourceMappingURL=DefaultServices.d.ts.map
backend/node_modules/effect/dist/dts/Deferred.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Deferred.d.ts","sourceRoot":"","sources":["../../src/Deferred.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,KAAK,IAAI,MAAM,WAAW,CAAA;AACtC,OAAO,KAAK,KAAK,OAAO,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAI5C,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,KAAK,KAAK,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,KAAK,KAAK,M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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type { Chunk } from "./Chunk.js";
5
+ import type { Context } from "./Context.js";
6
+ import type { Either } from "./Either.js";
7
+ import type { Equal } from "./Equal.js";
8
+ import type { HashMap } from "./HashMap.js";
9
+ import type { HashSet } from "./HashSet.js";
10
+ import type { Pipeable } from "./Pipeable.js";
11
+ import type * as Types from "./Types.js";
12
+ /**
13
+ * @since 2.0.0
14
+ * @category symbol
15
+ */
16
+ export declare const TypeId: unique symbol;
17
+ /**
18
+ * @since 2.0.0
19
+ * @category symbol
20
+ */
21
+ export type TypeId = typeof TypeId;
22
+ /**
23
+ * A `Differ<Value, Patch>` knows how to compare an old value and new value of
24
+ * type `Value` to produce a patch of type `Patch` that describes the
25
+ * differences between those values. A `Differ` also knows how to apply a patch
26
+ * to an old value to produce a new value that represents the old value updated
27
+ * with the changes described by the patch.
28
+ *
29
+ * A `Differ` can be used to construct a `FiberRef` supporting compositional
30
+ * updates using the `FiberRef.makePatch` constructor.
31
+ *
32
+ * The `Differ` companion object contains constructors for `Differ` values for
33
+ * common data types such as `Chunk`, `HashMap`, and `HashSet``. In addition,
34
+ * `Differ`values can be transformed using the `transform` operator and combined
35
+ * using the `orElseEither` and `zip` operators. This allows creating `Differ`
36
+ * values for arbitrarily complex data types compositionally.
37
+ *
38
+ * @since 2.0.0
39
+ * @category models
40
+ */
41
+ export interface Differ<in out Value, in out Patch> extends Pipeable {
42
+ readonly [TypeId]: {
43
+ readonly _V: Types.Invariant<Value>;
44
+ readonly _P: Types.Invariant<Patch>;
45
+ };
46
+ readonly empty: Patch;
47
+ diff(oldValue: Value, newValue: Value): Patch;
48
+ combine(first: Patch, second: Patch): Patch;
49
+ patch(patch: Patch, oldValue: Value): Value;
50
+ }
51
+ declare const ChunkPatchTypeId: unique symbol;
52
+ declare const ContextPatchTypeId: unique symbol;
53
+ declare const HashMapPatchTypeId: unique symbol;
54
+ declare const HashSetPatchTypeId: unique symbol;
55
+ declare const OrPatchTypeId: unique symbol;
56
+ declare const ReadonlyArrayPatchTypeId: unique symbol;
57
+ /**
58
+ * @since 2.0.0
59
+ */
60
+ export declare namespace Differ {
61
+ /**
62
+ * @since 2.0.0
63
+ */
64
+ namespace Context {
65
+ /**
66
+ * @since 2.0.0
67
+ * @category symbol
68
+ */
69
+ type TypeId = typeof ContextPatchTypeId;
70
+ /**
71
+ * A `Patch<Input, Output>` describes an update that transforms a `Env<Input>`
72
+ * to a `Env<Output>` as a data structure. This allows combining updates to
73
+ * different services in the environment in a compositional way.
74
+ *
75
+ * @since 2.0.0
76
+ * @category models
77
+ */
78
+ interface Patch<in Input, out Output> extends Equal {
79
+ readonly [ContextPatchTypeId]: {
80
+ readonly _Input: Types.Contravariant<Input>;
81
+ readonly _Output: Types.Covariant<Output>;
82
+ };
83
+ }
84
+ }
85
+ /**
86
+ * @since 2.0.0
87
+ */
88
+ namespace Chunk {
89
+ /**
90
+ * @since 2.0.0
91
+ * @category symbol
92
+ */
93
+ type TypeId = typeof ChunkPatchTypeId;
94
+ /**
95
+ * A patch which describes updates to a chunk of values.
96
+ *
97
+ * @since 2.0.0
98
+ * @category models
99
+ */
100
+ interface Patch<in out Value, in out Patch> extends Equal {
101
+ readonly [ChunkPatchTypeId]: {
102
+ readonly _Value: Types.Invariant<Value>;
103
+ readonly _Patch: Types.Invariant<Patch>;
104
+ };
105
+ }
106
+ }
107
+ /**
108
+ * @since 2.0.0
109
+ */
110
+ namespace HashMap {
111
+ /**
112
+ * @since 2.0.0
113
+ * @category symbol
114
+ */
115
+ type TypeId = typeof HashMapPatchTypeId;
116
+ /**
117
+ * A patch which describes updates to a map of keys and values.
118
+ *
119
+ * @since 2.0.0
120
+ * @category models
121
+ */
122
+ interface Patch<in out Key, in out Value, in out Patch> extends Equal {
123
+ readonly [HashMapPatchTypeId]: {
124
+ readonly _Key: Types.Invariant<Key>;
125
+ readonly _Value: Types.Invariant<Value>;
126
+ readonly _Patch: Types.Invariant<Patch>;
127
+ };
128
+ }
129
+ }
130
+ /**
131
+ * @since 2.0.0
132
+ */
133
+ namespace HashSet {
134
+ /**
135
+ * @since 2.0.0
136
+ * @category symbol
137
+ */
138
+ type TypeId = typeof HashSetPatchTypeId;
139
+ /**
140
+ * A patch which describes updates to a set of values.
141
+ *
142
+ * @since 2.0.0
143
+ * @category models
144
+ */
145
+ interface Patch<in out Value> extends Equal {
146
+ readonly [HashSetPatchTypeId]: {
147
+ readonly _Value: Types.Invariant<Value>;
148
+ };
149
+ }
150
+ }
151
+ /**
152
+ * @since 2.0.0
153
+ */
154
+ namespace Or {
155
+ /**
156
+ * @since 2.0.0
157
+ * @category symbol
158
+ */
159
+ type TypeId = typeof OrPatchTypeId;
160
+ /**
161
+ * A patch which describes updates to either one value or another.
162
+ *
163
+ * @since 2.0.0
164
+ * @category models
165
+ */
166
+ interface Patch<in out Value, in out Value2, in out Patch, in out Patch2> extends Equal {
167
+ readonly [OrPatchTypeId]: {
168
+ readonly _Value: Types.Invariant<Value>;
169
+ readonly _Value2: Types.Invariant<Value2>;
170
+ readonly _Patch: Types.Invariant<Patch>;
171
+ readonly _Patch2: Types.Invariant<Patch2>;
172
+ };
173
+ }
174
+ }
175
+ /**
176
+ * @since 2.0.0
177
+ */
178
+ namespace ReadonlyArray {
179
+ /**
180
+ * @since 2.0.0
181
+ * @category symbol
182
+ */
183
+ type TypeId = typeof ReadonlyArrayPatchTypeId;
184
+ /**
185
+ * A patch which describes updates to a ReadonlyArray of values.
186
+ *
187
+ * @since 2.0.0
188
+ * @category models
189
+ */
190
+ interface Patch<in out Value, in out Patch> extends Equal {
191
+ readonly [ReadonlyArrayPatchTypeId]: {
192
+ readonly _Value: Types.Invariant<Value>;
193
+ readonly _Patch: Types.Invariant<Patch>;
194
+ };
195
+ }
196
+ }
197
+ }
198
+ /**
199
+ * An empty patch that describes no changes.
200
+ *
201
+ * @since 2.0.0
202
+ * @category patch
203
+ */
204
+ export declare const empty: <Value, Patch>(self: Differ<Value, Patch>) => Patch;
205
+ /**
206
+ * @since 2.0.0
207
+ * @category patch
208
+ */
209
+ export declare const diff: {
210
+ /**
211
+ * @since 2.0.0
212
+ * @category patch
213
+ */
214
+ <Value>(oldValue: Value, newValue: Value): <Patch>(self: Differ<Value, Patch>) => Patch;
215
+ /**
216
+ * @since 2.0.0
217
+ * @category patch
218
+ */
219
+ <Value, Patch>(self: Differ<Value, Patch>, oldValue: Value, newValue: Value): Patch;
220
+ };
221
+ /**
222
+ * Combines two patches to produce a new patch that describes the updates of
223
+ * the first patch and then the updates of the second patch. The combine
224
+ * operation should be associative. In addition, if the combine operation is
225
+ * commutative then joining multiple fibers concurrently will result in
226
+ * deterministic `FiberRef` values.
227
+ *
228
+ * @since 2.0.0
229
+ * @category patch
230
+ */
231
+ export declare const combine: {
232
+ /**
233
+ * Combines two patches to produce a new patch that describes the updates of
234
+ * the first patch and then the updates of the second patch. The combine
235
+ * operation should be associative. In addition, if the combine operation is
236
+ * commutative then joining multiple fibers concurrently will result in
237
+ * deterministic `FiberRef` values.
238
+ *
239
+ * @since 2.0.0
240
+ * @category patch
241
+ */
242
+ <Patch>(first: Patch, second: Patch): <Value>(self: Differ<Value, Patch>) => Patch;
243
+ /**
244
+ * Combines two patches to produce a new patch that describes the updates of
245
+ * the first patch and then the updates of the second patch. The combine
246
+ * operation should be associative. In addition, if the combine operation is
247
+ * commutative then joining multiple fibers concurrently will result in
248
+ * deterministic `FiberRef` values.
249
+ *
250
+ * @since 2.0.0
251
+ * @category patch
252
+ */
253
+ <Value, Patch>(self: Differ<Value, Patch>, first: Patch, second: Patch): Patch;
254
+ };
255
+ /**
256
+ * Applies a patch to an old value to produce a new value that is equal to the
257
+ * old value with the updates described by the patch.
258
+ *
259
+ * @since 2.0.0
260
+ * @category patch
261
+ */
262
+ export declare const patch: {
263
+ /**
264
+ * Applies a patch to an old value to produce a new value that is equal to the
265
+ * old value with the updates described by the patch.
266
+ *
267
+ * @since 2.0.0
268
+ * @category patch
269
+ */
270
+ <Patch, Value>(patch: Patch, oldValue: Value): (self: Differ<Value, Patch>) => Value;
271
+ /**
272
+ * Applies a patch to an old value to produce a new value that is equal to the
273
+ * old value with the updates described by the patch.
274
+ *
275
+ * @since 2.0.0
276
+ * @category patch
277
+ */
278
+ <Patch, Value>(self: Differ<Value, Patch>, patch: Patch, oldValue: Value): Value;
279
+ };
280
+ /**
281
+ * Constructs a new `Differ`.
282
+ *
283
+ * @since 2.0.0
284
+ * @category constructors
285
+ */
286
+ export declare const make: <Value, Patch>(params: {
287
+ readonly empty: Patch;
288
+ readonly diff: (oldValue: Value, newValue: Value) => Patch;
289
+ readonly combine: (first: Patch, second: Patch) => Patch;
290
+ readonly patch: (patch: Patch, oldValue: Value) => Value;
291
+ }) => Differ<Value, Patch>;
292
+ /**
293
+ * Constructs a differ that knows how to diff `Env` values.
294
+ *
295
+ * @since 2.0.0
296
+ * @category constructors
297
+ */
298
+ export declare const environment: <A>() => Differ<Context<A>, Differ.Context.Patch<A, A>>;
299
+ /**
300
+ * Constructs a differ that knows how to diff a `Chunk` of values given a
301
+ * differ that knows how to diff the values.
302
+ *
303
+ * @since 2.0.0
304
+ * @category constructors
305
+ */
306
+ export declare const chunk: <Value, Patch>(differ: Differ<Value, Patch>) => Differ<Chunk<Value>, Differ.Chunk.Patch<Value, Patch>>;
307
+ /**
308
+ * Constructs a differ that knows how to diff a `HashMap` of keys and values given
309
+ * a differ that knows how to diff the values.
310
+ *
311
+ * @since 2.0.0
312
+ * @category constructors
313
+ */
314
+ export declare const hashMap: <Key, Value, Patch>(differ: Differ<Value, Patch>) => Differ<HashMap<Key, Value>, Differ.HashMap.Patch<Key, Value, Patch>>;
315
+ /**
316
+ * Constructs a differ that knows how to diff a `HashSet` of values.
317
+ *
318
+ * @since 2.0.0
319
+ * @category constructors
320
+ */
321
+ export declare const hashSet: <Value>() => Differ<HashSet<Value>, Differ.HashSet.Patch<Value>>;
322
+ /**
323
+ * Combines this differ and the specified differ to produce a differ that
324
+ * knows how to diff the sum of their values.
325
+ *
326
+ * @since 2.0.0
327
+ */
328
+ export declare const orElseEither: {
329
+ /**
330
+ * Combines this differ and the specified differ to produce a differ that
331
+ * knows how to diff the sum of their values.
332
+ *
333
+ * @since 2.0.0
334
+ */
335
+ <Value2, Patch2>(that: Differ<Value2, Patch2>): <Value, Patch>(self: Differ<Value, Patch>) => Differ<Either<Value2, Value>, Differ.Or.Patch<Value, Value2, Patch, Patch2>>;
336
+ /**
337
+ * Combines this differ and the specified differ to produce a differ that
338
+ * knows how to diff the sum of their values.
339
+ *
340
+ * @since 2.0.0
341
+ */
342
+ <Value, Patch, Value2, Patch2>(self: Differ<Value, Patch>, that: Differ<Value2, Patch2>): Differ<Either<Value2, Value>, Differ.Or.Patch<Value, Value2, Patch, Patch2>>;
343
+ };
344
+ /**
345
+ * Constructs a differ that knows how to diff a `ReadonlyArray` of values.
346
+ *
347
+ * @since 2.0.0
348
+ * @category constructors
349
+ */
350
+ export declare const readonlyArray: <Value, Patch>(differ: Differ<Value, Patch>) => Differ<ReadonlyArray<Value>, Differ.ReadonlyArray.Patch<Value, Patch>>;
351
+ /**
352
+ * Transforms the type of values that this differ knows how to differ using
353
+ * the specified functions that map the new and old value types to each other.
354
+ *
355
+ * @since 2.0.0
356
+ */
357
+ export declare const transform: {
358
+ /**
359
+ * Transforms the type of values that this differ knows how to differ using
360
+ * the specified functions that map the new and old value types to each other.
361
+ *
362
+ * @since 2.0.0
363
+ */
364
+ <Value, Value2>(options: {
365
+ readonly toNew: (value: Value) => Value2;
366
+ readonly toOld: (value: Value2) => Value;
367
+ }): <Patch>(self: Differ<Value, Patch>) => Differ<Value2, Patch>;
368
+ /**
369
+ * Transforms the type of values that this differ knows how to differ using
370
+ * the specified functions that map the new and old value types to each other.
371
+ *
372
+ * @since 2.0.0
373
+ */
374
+ <Value, Patch, Value2>(self: Differ<Value, Patch>, options: {
375
+ readonly toNew: (value: Value) => Value2;
376
+ readonly toOld: (value: Value2) => Value;
377
+ }): Differ<Value2, Patch>;
378
+ };
379
+ /**
380
+ * Constructs a differ that just diffs two values by returning a function that
381
+ * sets the value to the new value. This differ does not support combining
382
+ * multiple updates to the value compositionally and should only be used when
383
+ * there is no compositional way to update them.
384
+ *
385
+ * @since 2.0.0
386
+ */
387
+ export declare const update: <A>() => Differ<A, (a: A) => A>;
388
+ /**
389
+ * A variant of `update` that allows specifying the function that will be used
390
+ * to combine old values with new values.
391
+ *
392
+ * @since 2.0.0
393
+ */
394
+ export declare const updateWith: <A>(f: (x: A, y: A) => A) => Differ<A, (a: A) => A>;
395
+ /**
396
+ * Combines this differ and the specified differ to produce a new differ that
397
+ * knows how to diff the product of their values.
398
+ *
399
+ * @since 2.0.0
400
+ */
401
+ export declare const zip: {
402
+ /**
403
+ * Combines this differ and the specified differ to produce a new differ that
404
+ * knows how to diff the product of their values.
405
+ *
406
+ * @since 2.0.0
407
+ */
408
+ <Value2, Patch2>(that: Differ<Value2, Patch2>): <Value, Patch>(self: Differ<Value, Patch>) => Differ<readonly [Value, Value2], // readonly because invariant
409
+ readonly [Patch, Patch2]>;
410
+ /**
411
+ * Combines this differ and the specified differ to produce a new differ that
412
+ * knows how to diff the product of their values.
413
+ *
414
+ * @since 2.0.0
415
+ */
416
+ <Value, Patch, Value2, Patch2>(self: Differ<Value, Patch>, that: Differ<Value2, Patch2>): Differ<readonly [Value, Value2], // readonly because invariant
417
+ readonly [Patch, Patch2]>;
418
+ };
419
+ export {};
420
+ //# sourceMappingURL=Differ.d.ts.map
backend/node_modules/effect/dist/dts/Differ.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Differ.d.ts","sourceRoot":"","sources":["../../src/Differ.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAQ3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,KAAK,KAAK,KAAK,MAA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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import * as Equal from "./Equal.js";
5
+ import type * as equivalence from "./Equivalence.js";
6
+ import type { Inspectable } from "./Inspectable.js";
7
+ import * as Option from "./Option.js";
8
+ import * as order from "./Order.js";
9
+ import type { Pipeable } from "./Pipeable.js";
10
+ declare const TypeId: unique symbol;
11
+ /**
12
+ * @since 2.0.0
13
+ * @category symbol
14
+ */
15
+ export type TypeId = typeof TypeId;
16
+ /**
17
+ * @since 2.0.0
18
+ * @category models
19
+ */
20
+ export interface Duration extends Equal.Equal, Pipeable, Inspectable {
21
+ readonly [TypeId]: TypeId;
22
+ readonly value: DurationValue;
23
+ }
24
+ /**
25
+ * @since 2.0.0
26
+ * @category models
27
+ */
28
+ export type DurationValue = {
29
+ readonly _tag: "Millis";
30
+ readonly millis: number;
31
+ } | {
32
+ readonly _tag: "Nanos";
33
+ readonly nanos: bigint;
34
+ } | {
35
+ readonly _tag: "Infinity";
36
+ };
37
+ /**
38
+ * @since 2.0.0
39
+ * @category models
40
+ */
41
+ export type Unit = "nano" | "nanos" | "micro" | "micros" | "milli" | "millis" | "second" | "seconds" | "minute" | "minutes" | "hour" | "hours" | "day" | "days" | "week" | "weeks";
42
+ /**
43
+ * @since 2.0.0
44
+ * @category models
45
+ */
46
+ export type DurationInput = Duration | number | bigint | readonly [seconds: number, nanos: number] | `${number} ${Unit}`;
47
+ /**
48
+ * @since 2.0.0
49
+ */
50
+ export declare const decode: (input: DurationInput) => Duration;
51
+ /**
52
+ * @since 2.5.0
53
+ */
54
+ export declare const decodeUnknown: (u: unknown) => Option.Option<Duration>;
55
+ /**
56
+ * @since 2.0.0
57
+ * @category guards
58
+ */
59
+ export declare const isDuration: (u: unknown) => u is Duration;
60
+ /**
61
+ * @since 2.0.0
62
+ * @category guards
63
+ */
64
+ export declare const isFinite: (self: Duration) => boolean;
65
+ /**
66
+ * @since 3.5.0
67
+ * @category guards
68
+ */
69
+ export declare const isZero: (self: Duration) => boolean;
70
+ /**
71
+ * @since 2.0.0
72
+ * @category constructors
73
+ */
74
+ export declare const zero: Duration;
75
+ /**
76
+ * @since 2.0.0
77
+ * @category constructors
78
+ */
79
+ export declare const infinity: Duration;
80
+ /**
81
+ * @since 2.0.0
82
+ * @category constructors
83
+ */
84
+ export declare const nanos: (nanos: bigint) => Duration;
85
+ /**
86
+ * @since 2.0.0
87
+ * @category constructors
88
+ */
89
+ export declare const micros: (micros: bigint) => Duration;
90
+ /**
91
+ * @since 2.0.0
92
+ * @category constructors
93
+ */
94
+ export declare const millis: (millis: number) => Duration;
95
+ /**
96
+ * @since 2.0.0
97
+ * @category constructors
98
+ */
99
+ export declare const seconds: (seconds: number) => Duration;
100
+ /**
101
+ * @since 2.0.0
102
+ * @category constructors
103
+ */
104
+ export declare const minutes: (minutes: number) => Duration;
105
+ /**
106
+ * @since 2.0.0
107
+ * @category constructors
108
+ */
109
+ export declare const hours: (hours: number) => Duration;
110
+ /**
111
+ * @since 2.0.0
112
+ * @category constructors
113
+ */
114
+ export declare const days: (days: number) => Duration;
115
+ /**
116
+ * @since 2.0.0
117
+ * @category constructors
118
+ */
119
+ export declare const weeks: (weeks: number) => Duration;
120
+ /**
121
+ * @since 2.0.0
122
+ * @category getters
123
+ */
124
+ export declare const toMillis: (self: DurationInput) => number;
125
+ /**
126
+ * @since 2.0.0
127
+ * @category getters
128
+ */
129
+ export declare const toSeconds: (self: DurationInput) => number;
130
+ /**
131
+ * @since 3.8.0
132
+ * @category getters
133
+ */
134
+ export declare const toMinutes: (self: DurationInput) => number;
135
+ /**
136
+ * @since 3.8.0
137
+ * @category getters
138
+ */
139
+ export declare const toHours: (self: DurationInput) => number;
140
+ /**
141
+ * @since 3.8.0
142
+ * @category getters
143
+ */
144
+ export declare const toDays: (self: DurationInput) => number;
145
+ /**
146
+ * @since 3.8.0
147
+ * @category getters
148
+ */
149
+ export declare const toWeeks: (self: DurationInput) => number;
150
+ /**
151
+ * Get the duration in nanoseconds as a bigint.
152
+ *
153
+ * If the duration is infinite, returns `Option.none()`
154
+ *
155
+ * @since 2.0.0
156
+ * @category getters
157
+ */
158
+ export declare const toNanos: (self: DurationInput) => Option.Option<bigint>;
159
+ /**
160
+ * Get the duration in nanoseconds as a bigint.
161
+ *
162
+ * If the duration is infinite, it throws an error.
163
+ *
164
+ * @since 2.0.0
165
+ * @category getters
166
+ */
167
+ export declare const unsafeToNanos: (self: DurationInput) => bigint;
168
+ /**
169
+ * @since 2.0.0
170
+ * @category getters
171
+ */
172
+ export declare const toHrTime: (self: DurationInput) => [seconds: number, nanos: number];
173
+ /**
174
+ * @since 2.0.0
175
+ * @category pattern matching
176
+ */
177
+ export declare const match: {
178
+ /**
179
+ * @since 2.0.0
180
+ * @category pattern matching
181
+ */
182
+ <A, B>(options: {
183
+ readonly onMillis: (millis: number) => A;
184
+ readonly onNanos: (nanos: bigint) => B;
185
+ }): (self: DurationInput) => A | B;
186
+ /**
187
+ * @since 2.0.0
188
+ * @category pattern matching
189
+ */
190
+ <A, B>(self: DurationInput, options: {
191
+ readonly onMillis: (millis: number) => A;
192
+ readonly onNanos: (nanos: bigint) => B;
193
+ }): A | B;
194
+ };
195
+ /**
196
+ * @since 2.0.0
197
+ * @category pattern matching
198
+ */
199
+ export declare const matchWith: {
200
+ /**
201
+ * @since 2.0.0
202
+ * @category pattern matching
203
+ */
204
+ <A, B>(that: DurationInput, options: {
205
+ readonly onMillis: (self: number, that: number) => A;
206
+ readonly onNanos: (self: bigint, that: bigint) => B;
207
+ }): (self: DurationInput) => A | B;
208
+ /**
209
+ * @since 2.0.0
210
+ * @category pattern matching
211
+ */
212
+ <A, B>(self: DurationInput, that: DurationInput, options: {
213
+ readonly onMillis: (self: number, that: number) => A;
214
+ readonly onNanos: (self: bigint, that: bigint) => B;
215
+ }): A | B;
216
+ };
217
+ /**
218
+ * @category instances
219
+ * @since 2.0.0
220
+ */
221
+ export declare const Order: order.Order<Duration>;
222
+ /**
223
+ * Checks if a `Duration` is between a `minimum` and `maximum` value.
224
+ *
225
+ * @category predicates
226
+ * @since 2.0.0
227
+ */
228
+ export declare const between: {
229
+ /**
230
+ * Checks if a `Duration` is between a `minimum` and `maximum` value.
231
+ *
232
+ * @category predicates
233
+ * @since 2.0.0
234
+ */
235
+ (options: {
236
+ minimum: DurationInput;
237
+ maximum: DurationInput;
238
+ }): (self: DurationInput) => boolean;
239
+ /**
240
+ * Checks if a `Duration` is between a `minimum` and `maximum` value.
241
+ *
242
+ * @category predicates
243
+ * @since 2.0.0
244
+ */
245
+ (self: DurationInput, options: {
246
+ minimum: DurationInput;
247
+ maximum: DurationInput;
248
+ }): boolean;
249
+ };
250
+ /**
251
+ * @category instances
252
+ * @since 2.0.0
253
+ */
254
+ export declare const Equivalence: equivalence.Equivalence<Duration>;
255
+ /**
256
+ * @since 2.0.0
257
+ */
258
+ export declare const min: {
259
+ /**
260
+ * @since 2.0.0
261
+ */
262
+ (that: DurationInput): (self: DurationInput) => Duration;
263
+ /**
264
+ * @since 2.0.0
265
+ */
266
+ (self: DurationInput, that: DurationInput): Duration;
267
+ };
268
+ /**
269
+ * @since 2.0.0
270
+ * @category order
271
+ */
272
+ export declare const max: {
273
+ /**
274
+ * @since 2.0.0
275
+ * @category order
276
+ */
277
+ (that: DurationInput): (self: DurationInput) => Duration;
278
+ /**
279
+ * @since 2.0.0
280
+ * @category order
281
+ */
282
+ (self: DurationInput, that: DurationInput): Duration;
283
+ };
284
+ /**
285
+ * @since 2.0.0
286
+ * @category order
287
+ */
288
+ export declare const clamp: {
289
+ /**
290
+ * @since 2.0.0
291
+ * @category order
292
+ */
293
+ (options: {
294
+ minimum: DurationInput;
295
+ maximum: DurationInput;
296
+ }): (self: DurationInput) => Duration;
297
+ /**
298
+ * @since 2.0.0
299
+ * @category order
300
+ */
301
+ (self: DurationInput, options: {
302
+ minimum: DurationInput;
303
+ maximum: DurationInput;
304
+ }): Duration;
305
+ };
306
+ /**
307
+ * @since 2.4.19
308
+ * @category math
309
+ */
310
+ export declare const divide: {
311
+ /**
312
+ * @since 2.4.19
313
+ * @category math
314
+ */
315
+ (by: number): (self: DurationInput) => Option.Option<Duration>;
316
+ /**
317
+ * @since 2.4.19
318
+ * @category math
319
+ */
320
+ (self: DurationInput, by: number): Option.Option<Duration>;
321
+ };
322
+ /**
323
+ * @since 2.4.19
324
+ * @category math
325
+ */
326
+ export declare const unsafeDivide: {
327
+ /**
328
+ * @since 2.4.19
329
+ * @category math
330
+ */
331
+ (by: number): (self: DurationInput) => Duration;
332
+ /**
333
+ * @since 2.4.19
334
+ * @category math
335
+ */
336
+ (self: DurationInput, by: number): Duration;
337
+ };
338
+ /**
339
+ * @since 2.0.0
340
+ * @category math
341
+ */
342
+ export declare const times: {
343
+ /**
344
+ * @since 2.0.0
345
+ * @category math
346
+ */
347
+ (times: number): (self: DurationInput) => Duration;
348
+ /**
349
+ * @since 2.0.0
350
+ * @category math
351
+ */
352
+ (self: DurationInput, times: number): Duration;
353
+ };
354
+ /**
355
+ * @since 2.0.0
356
+ * @category math
357
+ */
358
+ export declare const subtract: {
359
+ /**
360
+ * @since 2.0.0
361
+ * @category math
362
+ */
363
+ (that: DurationInput): (self: DurationInput) => Duration;
364
+ /**
365
+ * @since 2.0.0
366
+ * @category math
367
+ */
368
+ (self: DurationInput, that: DurationInput): Duration;
369
+ };
370
+ /**
371
+ * @since 2.0.0
372
+ * @category math
373
+ */
374
+ export declare const sum: {
375
+ /**
376
+ * @since 2.0.0
377
+ * @category math
378
+ */
379
+ (that: DurationInput): (self: DurationInput) => Duration;
380
+ /**
381
+ * @since 2.0.0
382
+ * @category math
383
+ */
384
+ (self: DurationInput, that: DurationInput): Duration;
385
+ };
386
+ /**
387
+ * @since 2.0.0
388
+ * @category predicates
389
+ */
390
+ export declare const lessThan: {
391
+ /**
392
+ * @since 2.0.0
393
+ * @category predicates
394
+ */
395
+ (that: DurationInput): (self: DurationInput) => boolean;
396
+ /**
397
+ * @since 2.0.0
398
+ * @category predicates
399
+ */
400
+ (self: DurationInput, that: DurationInput): boolean;
401
+ };
402
+ /**
403
+ * @since 2.0.0
404
+ * @category predicates
405
+ */
406
+ export declare const lessThanOrEqualTo: {
407
+ /**
408
+ * @since 2.0.0
409
+ * @category predicates
410
+ */
411
+ (that: DurationInput): (self: DurationInput) => boolean;
412
+ /**
413
+ * @since 2.0.0
414
+ * @category predicates
415
+ */
416
+ (self: DurationInput, that: DurationInput): boolean;
417
+ };
418
+ /**
419
+ * @since 2.0.0
420
+ * @category predicates
421
+ */
422
+ export declare const greaterThan: {
423
+ /**
424
+ * @since 2.0.0
425
+ * @category predicates
426
+ */
427
+ (that: DurationInput): (self: DurationInput) => boolean;
428
+ /**
429
+ * @since 2.0.0
430
+ * @category predicates
431
+ */
432
+ (self: DurationInput, that: DurationInput): boolean;
433
+ };
434
+ /**
435
+ * @since 2.0.0
436
+ * @category predicates
437
+ */
438
+ export declare const greaterThanOrEqualTo: {
439
+ /**
440
+ * @since 2.0.0
441
+ * @category predicates
442
+ */
443
+ (that: DurationInput): (self: DurationInput) => boolean;
444
+ /**
445
+ * @since 2.0.0
446
+ * @category predicates
447
+ */
448
+ (self: DurationInput, that: DurationInput): boolean;
449
+ };
450
+ /**
451
+ * @since 2.0.0
452
+ * @category predicates
453
+ */
454
+ export declare const equals: {
455
+ /**
456
+ * @since 2.0.0
457
+ * @category predicates
458
+ */
459
+ (that: DurationInput): (self: DurationInput) => boolean;
460
+ /**
461
+ * @since 2.0.0
462
+ * @category predicates
463
+ */
464
+ (self: DurationInput, that: DurationInput): boolean;
465
+ };
466
+ /**
467
+ * Converts a `Duration` to its parts.
468
+ *
469
+ * @since 3.8.0
470
+ * @category conversions
471
+ */
472
+ export declare const parts: (self: DurationInput) => {
473
+ days: number;
474
+ hours: number;
475
+ minutes: number;
476
+ seconds: number;
477
+ millis: number;
478
+ nanos: number;
479
+ };
480
+ /**
481
+ * Converts a `Duration` to a human readable string.
482
+ *
483
+ * @since 2.0.0
484
+ * @category conversions
485
+ * @example
486
+ * ```ts
487
+ * import { Duration } from "effect"
488
+ *
489
+ * Duration.format(Duration.millis(1000)) // "1s"
490
+ * Duration.format(Duration.millis(1001)) // "1s 1ms"
491
+ * ```
492
+ */
493
+ export declare const format: (self: DurationInput) => string;
494
+ /**
495
+ * Formats a Duration into an ISO8601 duration string.
496
+ *
497
+ * Months are assumed to be 30 days and years are assumed to be 365 days.
498
+ *
499
+ * Milliseconds and nanoseconds are expressed as fractional seconds.
500
+ *
501
+ * @example
502
+ * ```ts
503
+ * import { Duration } from "effect"
504
+ *
505
+ * Duration.unsafeFormatIso(Duration.days(1)) // => "P1D"
506
+ * Duration.unsafeFormatIso(Duration.minutes(90)) // => "PT1H30M"
507
+ * Duration.unsafeFormatIso(Duration.millis(1500)) // => "PT1.5S"
508
+ * ```
509
+ *
510
+ * @throws `RangeError` If the duration is not finite.
511
+ *
512
+ * @since 3.13.0
513
+ * @category conversions
514
+ */
515
+ export declare const unsafeFormatIso: (self: DurationInput) => string;
516
+ /**
517
+ * Formats a Duration into an ISO8601 duration string.
518
+ *
519
+ * Months are assumed to be 30 days and years are assumed to be 365 days.
520
+ *
521
+ * Returns `Option.none()` if the duration is infinite.
522
+ *
523
+ * @example
524
+ * ```ts
525
+ * import { Duration, Option } from "effect"
526
+ *
527
+ * Duration.formatIso(Duration.days(1)) // => Option.some("P1D")
528
+ * Duration.formatIso(Duration.minutes(90)) // => Option.some("PT1H30M")
529
+ * Duration.formatIso(Duration.millis(1500)) // => Option.some("PT1.5S")
530
+ * Duration.formatIso(Duration.infinity) // => Option.none()
531
+ * ```
532
+ *
533
+ * @since 3.13.0
534
+ * @category conversions
535
+ */
536
+ export declare const formatIso: (self: DurationInput) => Option.Option<string>;
537
+ /**
538
+ * Parses an ISO8601 duration string into a `Duration`.
539
+ *
540
+ * Months are assumed to be 30 days and years are assumed to be 365 days.
541
+ *
542
+ * @example
543
+ * ```ts
544
+ * import { Duration, Option } from "effect"
545
+ *
546
+ * Duration.fromIso("P1D") // => Option.some(Duration.days(1))
547
+ * Duration.fromIso("PT1H") // => Option.some(Duration.hours(1))
548
+ * Duration.fromIso("PT1M") // => Option.some(Duration.minutes(1))
549
+ * Duration.fromIso("PT1.5S") // => Option.some(Duration.seconds(1.5))
550
+ * ```
551
+ *
552
+ * @since 3.13.0
553
+ * @category conversions
554
+ */
555
+ export declare const fromIso: (iso: string) => Option.Option<Duration>;
556
+ export {};
557
+ //# sourceMappingURL=Duration.d.ts.map
backend/node_modules/effect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AAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CA6Bd,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,MAAM,GAAI,MAAM,aAAa,KAAG,MAoC5C,CAAA;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,eAAe,GAAI,MAAM,aAAa,KAAG,MA0DrD,CAAA;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,SAAS,GAAI,MAAM,aAAa,KAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAGnE,CAAA;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAgB3D,CAAA"}
backend/node_modules/effect/dist/dts/Effect.d.ts ADDED
The diff for this file is too large to render. See raw diff
 
backend/node_modules/effect/dist/dts/Effect.d.ts.map ADDED
The diff for this file is too large to render. See raw diff
 
backend/node_modules/effect/dist/dts/Effectable.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Effectable.d.ts","sourceRoot":"","sources":["../../src/Effectable.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,OAAO,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,KAAK,IAAI,MAAM,WAAW,CAAA;AACtC,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAA;AAE1C;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,YAAoC,CAAA;AAEtE;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAA;AAE9C;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,YAAoC,CAAA;AAEtE;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,YAAY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yArg } from "./Function.js";
6
+ import type { TypeLambda } from "./HKT.js";
7
+ import type { Inspectable } from "./Inspectable.js";
8
+ import type { Option } from "./Option.js";
9
+ import type { Pipeable } from "./Pipeable.js";
10
+ import type { Predicate, Refinement } from "./Predicate.js";
11
+ import type { Covariant, NoInfer, NotFunction } from "./Types.js";
12
+ import type * as Unify from "./Unify.js";
13
+ import * as Gen from "./Utils.js";
14
+ /**
15
+ * @category models
16
+ * @since 2.0.0
17
+ */
18
+ export type Either<A, E = never> = Left<E, A> | Right<E, A>;
19
+ /**
20
+ * @category symbols
21
+ * @since 2.0.0
22
+ */
23
+ export declare const TypeId: unique symbol;
24
+ /**
25
+ * @category symbols
26
+ * @since 2.0.0
27
+ */
28
+ export type TypeId = typeof TypeId;
29
+ /**
30
+ * @category models
31
+ * @since 2.0.0
32
+ */
33
+ export interface Left<out E, out A> extends Pipeable, Inspectable {
34
+ readonly _tag: "Left";
35
+ readonly _op: "Left";
36
+ readonly left: E;
37
+ readonly [TypeId]: {
38
+ readonly _R: Covariant<A>;
39
+ readonly _L: Covariant<E>;
40
+ };
41
+ [Unify.typeSymbol]?: unknown;
42
+ [Unify.unifySymbol]?: EitherUnify<this>;
43
+ [Unify.ignoreSymbol]?: EitherUnifyIgnore;
44
+ }
45
+ /**
46
+ * @category models
47
+ * @since 2.0.0
48
+ */
49
+ export interface Right<out E, out A> extends Pipeable, Inspectable {
50
+ readonly _tag: "Right";
51
+ readonly _op: "Right";
52
+ readonly right: A;
53
+ readonly [TypeId]: {
54
+ readonly _R: Covariant<A>;
55
+ readonly _L: Covariant<E>;
56
+ };
57
+ [Unify.typeSymbol]?: unknown;
58
+ [Unify.unifySymbol]?: EitherUnify<this>;
59
+ [Unify.ignoreSymbol]?: EitherUnifyIgnore;
60
+ }
61
+ /**
62
+ * @category models
63
+ * @since 2.0.0
64
+ */
65
+ export interface EitherUnify<A extends {
66
+ [Unify.typeSymbol]?: any;
67
+ }> {
68
+ Either?: () => A[Unify.typeSymbol] extends Either<infer R0, infer L0> | infer _ ? Either<R0, L0> : never;
69
+ }
70
+ /**
71
+ * @category models
72
+ * @since 2.0.0
73
+ */
74
+ export interface EitherUnifyIgnore {
75
+ }
76
+ /**
77
+ * @category type lambdas
78
+ * @since 2.0.0
79
+ */
80
+ export interface EitherTypeLambda extends TypeLambda {
81
+ readonly type: Either<this["Target"], this["Out1"]>;
82
+ }
83
+ /**
84
+ * @since 2.0.0
85
+ */
86
+ export declare namespace Either {
87
+ /**
88
+ * @since 2.0.0
89
+ * @category type-level
90
+ */
91
+ type Left<T extends Either<any, any>> = [T] extends [Either<infer _A, infer _E>] ? _E : never;
92
+ /**
93
+ * @since 2.0.0
94
+ * @category type-level
95
+ */
96
+ type Right<T extends Either<any, any>> = [T] extends [Either<infer _A, infer _E>] ? _A : never;
97
+ }
98
+ /**
99
+ * Constructs a new `Either` holding a `Right` value. This usually represents a successful value due to the right bias
100
+ * of this structure.
101
+ *
102
+ * @category constructors
103
+ * @since 2.0.0
104
+ */
105
+ export declare const right: <A>(a: A) => Either<A>;
106
+ declare const void_: Either<void>;
107
+ export {
108
+ /**
109
+ * @category constructors
110
+ * @since 3.13.0
111
+ */
112
+ void_ as void };
113
+ /**
114
+ * Constructs a new `Either` holding a `Left` value. This usually represents a failure, due to the right-bias of this
115
+ * structure.
116
+ *
117
+ * @category constructors
118
+ * @since 2.0.0
119
+ */
120
+ export declare const left: <E>(e: E) => Either<never, E>;
121
+ /**
122
+ * Takes a lazy default and a nullable value, if the value is not nully (`null` or `undefined`), turn it into a `Right`, if the value is nully use
123
+ * the provided default as a `Left`.
124
+ *
125
+ * @example
126
+ * ```ts
127
+ * import * as assert from "node:assert"
128
+ * import { Either } from "effect"
129
+ *
130
+ * assert.deepStrictEqual(Either.fromNullable(1, () => 'fallback'), Either.right(1))
131
+ * assert.deepStrictEqual(Either.fromNullable(null, () => 'fallback'), Either.left('fallback'))
132
+ * ```
133
+ *
134
+ * @category constructors
135
+ * @since 2.0.0
136
+ */
137
+ export declare const fromNullable: {
138
+ /**
139
+ * Takes a lazy default and a nullable value, if the value is not nully (`null` or `undefined`), turn it into a `Right`, if the value is nully use
140
+ * the provided default as a `Left`.
141
+ *
142
+ * @example
143
+ * ```ts
144
+ * import * as assert from "node:assert"
145
+ * import { Either } from "effect"
146
+ *
147
+ * assert.deepStrictEqual(Either.fromNullable(1, () => 'fallback'), Either.right(1))
148
+ * assert.deepStrictEqual(Either.fromNullable(null, () => 'fallback'), Either.left('fallback'))
149
+ * ```
150
+ *
151
+ * @category constructors
152
+ * @since 2.0.0
153
+ */
154
+ <A, E>(onNullable: (right: A) => E): (self: A) => Either<NonNullable<A>, E>;
155
+ /**
156
+ * Takes a lazy default and a nullable value, if the value is not nully (`null` or `undefined`), turn it into a `Right`, if the value is nully use
157
+ * the provided default as a `Left`.
158
+ *
159
+ * @example
160
+ * ```ts
161
+ * import * as assert from "node:assert"
162
+ * import { Either } from "effect"
163
+ *
164
+ * assert.deepStrictEqual(Either.fromNullable(1, () => 'fallback'), Either.right(1))
165
+ * assert.deepStrictEqual(Either.fromNullable(null, () => 'fallback'), Either.left('fallback'))
166
+ * ```
167
+ *
168
+ * @category constructors
169
+ * @since 2.0.0
170
+ */
171
+ <A, E>(self: A, onNullable: (right: A) => E): Either<NonNullable<A>, E>;
172
+ };
173
+ /**
174
+ * @example
175
+ * ```ts
176
+ * import * as assert from "node:assert"
177
+ * import { Either, Option } from "effect"
178
+ *
179
+ * assert.deepStrictEqual(Either.fromOption(Option.some(1), () => 'error'), Either.right(1))
180
+ * assert.deepStrictEqual(Either.fromOption(Option.none(), () => 'error'), Either.left('error'))
181
+ * ```
182
+ *
183
+ * @category constructors
184
+ * @since 2.0.0
185
+ */
186
+ export declare const fromOption: {
187
+ /**
188
+ * @example
189
+ * ```ts
190
+ * import * as assert from "node:assert"
191
+ * import { Either, Option } from "effect"
192
+ *
193
+ * assert.deepStrictEqual(Either.fromOption(Option.some(1), () => 'error'), Either.right(1))
194
+ * assert.deepStrictEqual(Either.fromOption(Option.none(), () => 'error'), Either.left('error'))
195
+ * ```
196
+ *
197
+ * @category constructors
198
+ * @since 2.0.0
199
+ */
200
+ <E>(onNone: () => E): <A>(self: Option<A>) => Either<A, E>;
201
+ /**
202
+ * @example
203
+ * ```ts
204
+ * import * as assert from "node:assert"
205
+ * import { Either, Option } from "effect"
206
+ *
207
+ * assert.deepStrictEqual(Either.fromOption(Option.some(1), () => 'error'), Either.right(1))
208
+ * assert.deepStrictEqual(Either.fromOption(Option.none(), () => 'error'), Either.left('error'))
209
+ * ```
210
+ *
211
+ * @category constructors
212
+ * @since 2.0.0
213
+ */
214
+ <A, E>(self: Option<A>, onNone: () => E): Either<A, E>;
215
+ };
216
+ declare const try_: {
217
+ <A, E>(options: {
218
+ readonly try: LazyArg<A>;
219
+ readonly catch: (error: unknown) => E;
220
+ }): Either<A, E>;
221
+ <A>(evaluate: LazyArg<A>): Either<A, unknown>;
222
+ };
223
+ export {
224
+ /**
225
+ * Imports a synchronous side-effect into a pure `Either` value, translating any
226
+ * thrown exceptions into typed failed eithers creating with `Either.left`.
227
+ *
228
+ * @category constructors
229
+ * @since 2.0.0
230
+ */
231
+ try_ as try };
232
+ /**
233
+ * Tests if a value is a `Either`.
234
+ *
235
+ * @example
236
+ * ```ts
237
+ * import * as assert from "node:assert"
238
+ * import { Either } from "effect"
239
+ *
240
+ * assert.deepStrictEqual(Either.isEither(Either.right(1)), true)
241
+ * assert.deepStrictEqual(Either.isEither(Either.left("a")), true)
242
+ * assert.deepStrictEqual(Either.isEither({ right: 1 }), false)
243
+ * ```
244
+ *
245
+ * @category guards
246
+ * @since 2.0.0
247
+ */
248
+ export declare const isEither: (input: unknown) => input is Either<unknown, unknown>;
249
+ /**
250
+ * Determine if a `Either` is a `Left`.
251
+ *
252
+ * @example
253
+ * ```ts
254
+ * import * as assert from "node:assert"
255
+ * import { Either } from "effect"
256
+ *
257
+ * assert.deepStrictEqual(Either.isLeft(Either.right(1)), false)
258
+ * assert.deepStrictEqual(Either.isLeft(Either.left("a")), true)
259
+ * ```
260
+ *
261
+ * @category guards
262
+ * @since 2.0.0
263
+ */
264
+ export declare const isLeft: <A, E>(self: Either<A, E>) => self is Left<E, A>;
265
+ /**
266
+ * Determine if a `Either` is a `Right`.
267
+ *
268
+ * @example
269
+ * ```ts
270
+ * import * as assert from "node:assert"
271
+ * import { Either } from "effect"
272
+ *
273
+ * assert.deepStrictEqual(Either.isRight(Either.right(1)), true)
274
+ * assert.deepStrictEqual(Either.isRight(Either.left("a")), false)
275
+ * ```
276
+ *
277
+ * @category guards
278
+ * @since 2.0.0
279
+ */
280
+ export declare const isRight: <A, E>(self: Either<A, E>) => self is Right<E, A>;
281
+ /**
282
+ * Converts a `Either` to an `Option` discarding the `Left`.
283
+ *
284
+ * @example
285
+ * ```ts
286
+ * import * as assert from "node:assert"
287
+ * import { Either, Option } from "effect"
288
+ *
289
+ * assert.deepStrictEqual(Either.getRight(Either.right('ok')), Option.some('ok'))
290
+ * assert.deepStrictEqual(Either.getRight(Either.left('err')), Option.none())
291
+ * ```
292
+ *
293
+ * @category getters
294
+ * @since 2.0.0
295
+ */
296
+ export declare const getRight: <A, E>(self: Either<A, E>) => Option<A>;
297
+ /**
298
+ * Converts a `Either` to an `Option` discarding the value.
299
+ *
300
+ * @example
301
+ * ```ts
302
+ * import * as assert from "node:assert"
303
+ * import { Either, Option } from "effect"
304
+ *
305
+ * assert.deepStrictEqual(Either.getLeft(Either.right('ok')), Option.none())
306
+ * assert.deepStrictEqual(Either.getLeft(Either.left('err')), Option.some('err'))
307
+ * ```
308
+ *
309
+ * @category getters
310
+ * @since 2.0.0
311
+ */
312
+ export declare const getLeft: <A, E>(self: Either<A, E>) => Option<E>;
313
+ /**
314
+ * @category equivalence
315
+ * @since 2.0.0
316
+ */
317
+ export declare const getEquivalence: <A, E>({ left, right }: {
318
+ right: Equivalence.Equivalence<A>;
319
+ left: Equivalence.Equivalence<E>;
320
+ }) => Equivalence.Equivalence<Either<A, E>>;
321
+ /**
322
+ * @category mapping
323
+ * @since 2.0.0
324
+ */
325
+ export declare const mapBoth: {
326
+ /**
327
+ * @category mapping
328
+ * @since 2.0.0
329
+ */
330
+ <E, E2, A, A2>(options: {
331
+ readonly onLeft: (left: E) => E2;
332
+ readonly onRight: (right: A) => A2;
333
+ }): (self: Either<A, E>) => Either<A2, E2>;
334
+ /**
335
+ * @category mapping
336
+ * @since 2.0.0
337
+ */
338
+ <A, E, E2, A2>(self: Either<A, E>, options: {
339
+ readonly onLeft: (left: E) => E2;
340
+ readonly onRight: (right: A) => A2;
341
+ }): Either<A2, E2>;
342
+ };
343
+ /**
344
+ * Maps the `Left` side of an `Either` value to a new `Either` value.
345
+ *
346
+ * @category mapping
347
+ * @since 2.0.0
348
+ */
349
+ export declare const mapLeft: {
350
+ /**
351
+ * Maps the `Left` side of an `Either` value to a new `Either` value.
352
+ *
353
+ * @category mapping
354
+ * @since 2.0.0
355
+ */
356
+ <E, E2>(f: (left: E) => E2): <A>(self: Either<A, E>) => Either<A, E2>;
357
+ /**
358
+ * Maps the `Left` side of an `Either` value to a new `Either` value.
359
+ *
360
+ * @category mapping
361
+ * @since 2.0.0
362
+ */
363
+ <A, E, E2>(self: Either<A, E>, f: (left: E) => E2): Either<A, E2>;
364
+ };
365
+ /**
366
+ * Maps the `Right` side of an `Either` value to a new `Either` value.
367
+ *
368
+ * @category mapping
369
+ * @since 2.0.0
370
+ */
371
+ export declare const map: {
372
+ /**
373
+ * Maps the `Right` side of an `Either` value to a new `Either` value.
374
+ *
375
+ * @category mapping
376
+ * @since 2.0.0
377
+ */
378
+ <A, A2>(f: (right: A) => A2): <E>(self: Either<A, E>) => Either<A2, E>;
379
+ /**
380
+ * Maps the `Right` side of an `Either` value to a new `Either` value.
381
+ *
382
+ * @category mapping
383
+ * @since 2.0.0
384
+ */
385
+ <A, E, A2>(self: Either<A, E>, f: (right: A) => A2): Either<A2, E>;
386
+ };
387
+ /**
388
+ * Takes two functions and an `Either` value, if the value is a `Left` the inner value is applied to the `onLeft function,
389
+ * if the value is a `Right` the inner value is applied to the `onRight` function.
390
+ *
391
+ * @example
392
+ * ```ts
393
+ * import * as assert from "node:assert"
394
+ * import { pipe, Either } from "effect"
395
+ *
396
+ * const onLeft = (strings: ReadonlyArray<string>): string => `strings: ${strings.join(', ')}`
397
+ *
398
+ * const onRight = (value: number): string => `Ok: ${value}`
399
+ *
400
+ * assert.deepStrictEqual(pipe(Either.right(1), Either.match({ onLeft, onRight })), 'Ok: 1')
401
+ * assert.deepStrictEqual(
402
+ * pipe(Either.left(['string 1', 'string 2']), Either.match({ onLeft, onRight })),
403
+ * 'strings: string 1, string 2'
404
+ * )
405
+ * ```
406
+ *
407
+ * @category pattern matching
408
+ * @since 2.0.0
409
+ */
410
+ export declare const match: {
411
+ /**
412
+ * Takes two functions and an `Either` value, if the value is a `Left` the inner value is applied to the `onLeft function,
413
+ * if the value is a `Right` the inner value is applied to the `onRight` function.
414
+ *
415
+ * @example
416
+ * ```ts
417
+ * import * as assert from "node:assert"
418
+ * import { pipe, Either } from "effect"
419
+ *
420
+ * const onLeft = (strings: ReadonlyArray<string>): string => `strings: ${strings.join(', ')}`
421
+ *
422
+ * const onRight = (value: number): string => `Ok: ${value}`
423
+ *
424
+ * assert.deepStrictEqual(pipe(Either.right(1), Either.match({ onLeft, onRight })), 'Ok: 1')
425
+ * assert.deepStrictEqual(
426
+ * pipe(Either.left(['string 1', 'string 2']), Either.match({ onLeft, onRight })),
427
+ * 'strings: string 1, string 2'
428
+ * )
429
+ * ```
430
+ *
431
+ * @category pattern matching
432
+ * @since 2.0.0
433
+ */
434
+ <E, B, A, C = B>(options: {
435
+ readonly onLeft: (left: E) => B;
436
+ readonly onRight: (right: A) => C;
437
+ }): (self: Either<A, E>) => B | C;
438
+ /**
439
+ * Takes two functions and an `Either` value, if the value is a `Left` the inner value is applied to the `onLeft function,
440
+ * if the value is a `Right` the inner value is applied to the `onRight` function.
441
+ *
442
+ * @example
443
+ * ```ts
444
+ * import * as assert from "node:assert"
445
+ * import { pipe, Either } from "effect"
446
+ *
447
+ * const onLeft = (strings: ReadonlyArray<string>): string => `strings: ${strings.join(', ')}`
448
+ *
449
+ * const onRight = (value: number): string => `Ok: ${value}`
450
+ *
451
+ * assert.deepStrictEqual(pipe(Either.right(1), Either.match({ onLeft, onRight })), 'Ok: 1')
452
+ * assert.deepStrictEqual(
453
+ * pipe(Either.left(['string 1', 'string 2']), Either.match({ onLeft, onRight })),
454
+ * 'strings: string 1, string 2'
455
+ * )
456
+ * ```
457
+ *
458
+ * @category pattern matching
459
+ * @since 2.0.0
460
+ */
461
+ <A, E, B, C = B>(self: Either<A, E>, options: {
462
+ readonly onLeft: (left: E) => B;
463
+ readonly onRight: (right: A) => C;
464
+ }): B | C;
465
+ };
466
+ /**
467
+ * Transforms a `Predicate` function into a `Right` of the input value if the predicate returns `true`
468
+ * or `Left` of the result of the provided function if the predicate returns false
469
+ *
470
+ * @example
471
+ * ```ts
472
+ * import * as assert from "node:assert"
473
+ * import { pipe, Either } from "effect"
474
+ *
475
+ * const isPositive = (n: number): boolean => n > 0
476
+ * const isPositiveEither = Either.liftPredicate(isPositive, n => `${n} is not positive`)
477
+ *
478
+ * assert.deepStrictEqual(
479
+ * isPositiveEither(1),
480
+ * Either.right(1)
481
+ * )
482
+ * assert.deepStrictEqual(
483
+ * isPositiveEither(0),
484
+ * Either.left("0 is not positive")
485
+ * )
486
+ * ```
487
+ *
488
+ * @category lifting
489
+ * @since 3.4.0
490
+ */
491
+ export declare const liftPredicate: {
492
+ /**
493
+ * Transforms a `Predicate` function into a `Right` of the input value if the predicate returns `true`
494
+ * or `Left` of the result of the provided function if the predicate returns false
495
+ *
496
+ * @example
497
+ * ```ts
498
+ * import * as assert from "node:assert"
499
+ * import { pipe, Either } from "effect"
500
+ *
501
+ * const isPositive = (n: number): boolean => n > 0
502
+ * const isPositiveEither = Either.liftPredicate(isPositive, n => `${n} is not positive`)
503
+ *
504
+ * assert.deepStrictEqual(
505
+ * isPositiveEither(1),
506
+ * Either.right(1)
507
+ * )
508
+ * assert.deepStrictEqual(
509
+ * isPositiveEither(0),
510
+ * Either.left("0 is not positive")
511
+ * )
512
+ * ```
513
+ *
514
+ * @category lifting
515
+ * @since 3.4.0
516
+ */
517
+ <A, B extends A, E>(refinement: Refinement<A, B>, orLeftWith: (a: A) => E): (a: A) => Either<B, E>;
518
+ /**
519
+ * Transforms a `Predicate` function into a `Right` of the input value if the predicate returns `true`
520
+ * or `Left` of the result of the provided function if the predicate returns false
521
+ *
522
+ * @example
523
+ * ```ts
524
+ * import * as assert from "node:assert"
525
+ * import { pipe, Either } from "effect"
526
+ *
527
+ * const isPositive = (n: number): boolean => n > 0
528
+ * const isPositiveEither = Either.liftPredicate(isPositive, n => `${n} is not positive`)
529
+ *
530
+ * assert.deepStrictEqual(
531
+ * isPositiveEither(1),
532
+ * Either.right(1)
533
+ * )
534
+ * assert.deepStrictEqual(
535
+ * isPositiveEither(0),
536
+ * Either.left("0 is not positive")
537
+ * )
538
+ * ```
539
+ *
540
+ * @category lifting
541
+ * @since 3.4.0
542
+ */
543
+ <B extends A, E, A = B>(predicate: Predicate<A>, orLeftWith: (a: A) => E): (a: B) => Either<B, E>;
544
+ /**
545
+ * Transforms a `Predicate` function into a `Right` of the input value if the predicate returns `true`
546
+ * or `Left` of the result of the provided function if the predicate returns false
547
+ *
548
+ * @example
549
+ * ```ts
550
+ * import * as assert from "node:assert"
551
+ * import { pipe, Either } from "effect"
552
+ *
553
+ * const isPositive = (n: number): boolean => n > 0
554
+ * const isPositiveEither = Either.liftPredicate(isPositive, n => `${n} is not positive`)
555
+ *
556
+ * assert.deepStrictEqual(
557
+ * isPositiveEither(1),
558
+ * Either.right(1)
559
+ * )
560
+ * assert.deepStrictEqual(
561
+ * isPositiveEither(0),
562
+ * Either.left("0 is not positive")
563
+ * )
564
+ * ```
565
+ *
566
+ * @category lifting
567
+ * @since 3.4.0
568
+ */
569
+ <A, E, B extends A>(self: A, refinement: Refinement<A, B>, orLeftWith: (a: A) => E): Either<B, E>;
570
+ /**
571
+ * Transforms a `Predicate` function into a `Right` of the input value if the predicate returns `true`
572
+ * or `Left` of the result of the provided function if the predicate returns false
573
+ *
574
+ * @example
575
+ * ```ts
576
+ * import * as assert from "node:assert"
577
+ * import { pipe, Either } from "effect"
578
+ *
579
+ * const isPositive = (n: number): boolean => n > 0
580
+ * const isPositiveEither = Either.liftPredicate(isPositive, n => `${n} is not positive`)
581
+ *
582
+ * assert.deepStrictEqual(
583
+ * isPositiveEither(1),
584
+ * Either.right(1)
585
+ * )
586
+ * assert.deepStrictEqual(
587
+ * isPositiveEither(0),
588
+ * Either.left("0 is not positive")
589
+ * )
590
+ * ```
591
+ *
592
+ * @category lifting
593
+ * @since 3.4.0
594
+ */
595
+ <B extends A, E, A = B>(self: B, predicate: Predicate<A>, orLeftWith: (a: A) => E): Either<B, E>;
596
+ };
597
+ /**
598
+ * Filter the right value with the provided function.
599
+ * If the predicate fails, set the left value with the result of the provided function.
600
+ *
601
+ * @example
602
+ * ```ts
603
+ * import * as assert from "node:assert"
604
+ * import { pipe, Either } from "effect"
605
+ *
606
+ * const isPositive = (n: number): boolean => n > 0
607
+ *
608
+ * assert.deepStrictEqual(
609
+ * pipe(
610
+ * Either.right(1),
611
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
612
+ * ),
613
+ * Either.right(1)
614
+ * )
615
+ * assert.deepStrictEqual(
616
+ * pipe(
617
+ * Either.right(0),
618
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
619
+ * ),
620
+ * Either.left("0 is not positive")
621
+ * )
622
+ * ```
623
+ *
624
+ * @since 2.0.0
625
+ * @category filtering & conditionals
626
+ */
627
+ export declare const filterOrLeft: {
628
+ /**
629
+ * Filter the right value with the provided function.
630
+ * If the predicate fails, set the left value with the result of the provided function.
631
+ *
632
+ * @example
633
+ * ```ts
634
+ * import * as assert from "node:assert"
635
+ * import { pipe, Either } from "effect"
636
+ *
637
+ * const isPositive = (n: number): boolean => n > 0
638
+ *
639
+ * assert.deepStrictEqual(
640
+ * pipe(
641
+ * Either.right(1),
642
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
643
+ * ),
644
+ * Either.right(1)
645
+ * )
646
+ * assert.deepStrictEqual(
647
+ * pipe(
648
+ * Either.right(0),
649
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
650
+ * ),
651
+ * Either.left("0 is not positive")
652
+ * )
653
+ * ```
654
+ *
655
+ * @since 2.0.0
656
+ * @category filtering & conditionals
657
+ */
658
+ <A, B extends A, E2>(refinement: Refinement<NoInfer<A>, B>, orLeftWith: (right: NoInfer<A>) => E2): <E>(self: Either<A, E>) => Either<B, E2 | E>;
659
+ /**
660
+ * Filter the right value with the provided function.
661
+ * If the predicate fails, set the left value with the result of the provided function.
662
+ *
663
+ * @example
664
+ * ```ts
665
+ * import * as assert from "node:assert"
666
+ * import { pipe, Either } from "effect"
667
+ *
668
+ * const isPositive = (n: number): boolean => n > 0
669
+ *
670
+ * assert.deepStrictEqual(
671
+ * pipe(
672
+ * Either.right(1),
673
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
674
+ * ),
675
+ * Either.right(1)
676
+ * )
677
+ * assert.deepStrictEqual(
678
+ * pipe(
679
+ * Either.right(0),
680
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
681
+ * ),
682
+ * Either.left("0 is not positive")
683
+ * )
684
+ * ```
685
+ *
686
+ * @since 2.0.0
687
+ * @category filtering & conditionals
688
+ */
689
+ <A, E2>(predicate: Predicate<NoInfer<A>>, orLeftWith: (right: NoInfer<A>) => E2): <E>(self: Either<A, E>) => Either<A, E2 | E>;
690
+ /**
691
+ * Filter the right value with the provided function.
692
+ * If the predicate fails, set the left value with the result of the provided function.
693
+ *
694
+ * @example
695
+ * ```ts
696
+ * import * as assert from "node:assert"
697
+ * import { pipe, Either } from "effect"
698
+ *
699
+ * const isPositive = (n: number): boolean => n > 0
700
+ *
701
+ * assert.deepStrictEqual(
702
+ * pipe(
703
+ * Either.right(1),
704
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
705
+ * ),
706
+ * Either.right(1)
707
+ * )
708
+ * assert.deepStrictEqual(
709
+ * pipe(
710
+ * Either.right(0),
711
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
712
+ * ),
713
+ * Either.left("0 is not positive")
714
+ * )
715
+ * ```
716
+ *
717
+ * @since 2.0.0
718
+ * @category filtering & conditionals
719
+ */
720
+ <A, E, B extends A, E2>(self: Either<A, E>, refinement: Refinement<A, B>, orLeftWith: (right: A) => E2): Either<B, E | E2>;
721
+ /**
722
+ * Filter the right value with the provided function.
723
+ * If the predicate fails, set the left value with the result of the provided function.
724
+ *
725
+ * @example
726
+ * ```ts
727
+ * import * as assert from "node:assert"
728
+ * import { pipe, Either } from "effect"
729
+ *
730
+ * const isPositive = (n: number): boolean => n > 0
731
+ *
732
+ * assert.deepStrictEqual(
733
+ * pipe(
734
+ * Either.right(1),
735
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
736
+ * ),
737
+ * Either.right(1)
738
+ * )
739
+ * assert.deepStrictEqual(
740
+ * pipe(
741
+ * Either.right(0),
742
+ * Either.filterOrLeft(isPositive, n => `${n} is not positive`)
743
+ * ),
744
+ * Either.left("0 is not positive")
745
+ * )
746
+ * ```
747
+ *
748
+ * @since 2.0.0
749
+ * @category filtering & conditionals
750
+ */
751
+ <A, E, E2>(self: Either<A, E>, predicate: Predicate<A>, orLeftWith: (right: A) => E2): Either<A, E | E2>;
752
+ };
753
+ /**
754
+ * @category getters
755
+ * @since 2.0.0
756
+ */
757
+ export declare const merge: <A, E>(self: Either<A, E>) => E | A;
758
+ /**
759
+ * Returns the wrapped value if it's a `Right` or a default value if is a `Left`.
760
+ *
761
+ * @example
762
+ * ```ts
763
+ * import * as assert from "node:assert"
764
+ * import { Either } from "effect"
765
+ *
766
+ * assert.deepStrictEqual(Either.getOrElse(Either.right(1), (error) => error + "!"), 1)
767
+ * assert.deepStrictEqual(Either.getOrElse(Either.left("not a number"), (error) => error + "!"), "not a number!")
768
+ * ```
769
+ *
770
+ * @category getters
771
+ * @since 2.0.0
772
+ */
773
+ export declare const getOrElse: {
774
+ /**
775
+ * Returns the wrapped value if it's a `Right` or a default value if is a `Left`.
776
+ *
777
+ * @example
778
+ * ```ts
779
+ * import * as assert from "node:assert"
780
+ * import { Either } from "effect"
781
+ *
782
+ * assert.deepStrictEqual(Either.getOrElse(Either.right(1), (error) => error + "!"), 1)
783
+ * assert.deepStrictEqual(Either.getOrElse(Either.left("not a number"), (error) => error + "!"), "not a number!")
784
+ * ```
785
+ *
786
+ * @category getters
787
+ * @since 2.0.0
788
+ */
789
+ <E, A2>(onLeft: (left: E) => A2): <A>(self: Either<A, E>) => A2 | A;
790
+ /**
791
+ * Returns the wrapped value if it's a `Right` or a default value if is a `Left`.
792
+ *
793
+ * @example
794
+ * ```ts
795
+ * import * as assert from "node:assert"
796
+ * import { Either } from "effect"
797
+ *
798
+ * assert.deepStrictEqual(Either.getOrElse(Either.right(1), (error) => error + "!"), 1)
799
+ * assert.deepStrictEqual(Either.getOrElse(Either.left("not a number"), (error) => error + "!"), "not a number!")
800
+ * ```
801
+ *
802
+ * @category getters
803
+ * @since 2.0.0
804
+ */
805
+ <A, E, A2>(self: Either<A, E>, onLeft: (left: E) => A2): A | A2;
806
+ };
807
+ /**
808
+ * @example
809
+ * ```ts
810
+ * import * as assert from "node:assert"
811
+ * import { Either } from "effect"
812
+ *
813
+ * assert.deepStrictEqual(Either.getOrNull(Either.right(1)), 1)
814
+ * assert.deepStrictEqual(Either.getOrNull(Either.left("a")), null)
815
+ * ```
816
+ *
817
+ * @category getters
818
+ * @since 2.0.0
819
+ */
820
+ export declare const getOrNull: <A, E>(self: Either<A, E>) => A | null;
821
+ /**
822
+ * @example
823
+ * ```ts
824
+ * import * as assert from "node:assert"
825
+ * import { Either } from "effect"
826
+ *
827
+ * assert.deepStrictEqual(Either.getOrUndefined(Either.right(1)), 1)
828
+ * assert.deepStrictEqual(Either.getOrUndefined(Either.left("a")), undefined)
829
+ * ```
830
+ *
831
+ * @category getters
832
+ * @since 2.0.0
833
+ */
834
+ export declare const getOrUndefined: <A, E>(self: Either<A, E>) => A | undefined;
835
+ /**
836
+ * Extracts the value of an `Either` or throws if the `Either` is `Left`.
837
+ *
838
+ * If a default error is sufficient for your use case and you don't need to configure the thrown error, see {@link getOrThrow}.
839
+ *
840
+ * @example
841
+ * ```ts
842
+ * import * as assert from "node:assert"
843
+ * import { Either } from "effect"
844
+ *
845
+ * assert.deepStrictEqual(
846
+ * Either.getOrThrowWith(Either.right(1), () => new Error('Unexpected Left')),
847
+ * 1
848
+ * )
849
+ * assert.throws(() => Either.getOrThrowWith(Either.left("error"), () => new Error('Unexpected Left')))
850
+ * ```
851
+ *
852
+ * @category getters
853
+ * @since 2.0.0
854
+ */
855
+ export declare const getOrThrowWith: {
856
+ /**
857
+ * Extracts the value of an `Either` or throws if the `Either` is `Left`.
858
+ *
859
+ * If a default error is sufficient for your use case and you don't need to configure the thrown error, see {@link getOrThrow}.
860
+ *
861
+ * @example
862
+ * ```ts
863
+ * import * as assert from "node:assert"
864
+ * import { Either } from "effect"
865
+ *
866
+ * assert.deepStrictEqual(
867
+ * Either.getOrThrowWith(Either.right(1), () => new Error('Unexpected Left')),
868
+ * 1
869
+ * )
870
+ * assert.throws(() => Either.getOrThrowWith(Either.left("error"), () => new Error('Unexpected Left')))
871
+ * ```
872
+ *
873
+ * @category getters
874
+ * @since 2.0.0
875
+ */
876
+ <E>(onLeft: (left: E) => unknown): <A>(self: Either<A, E>) => A;
877
+ /**
878
+ * Extracts the value of an `Either` or throws if the `Either` is `Left`.
879
+ *
880
+ * If a default error is sufficient for your use case and you don't need to configure the thrown error, see {@link getOrThrow}.
881
+ *
882
+ * @example
883
+ * ```ts
884
+ * import * as assert from "node:assert"
885
+ * import { Either } from "effect"
886
+ *
887
+ * assert.deepStrictEqual(
888
+ * Either.getOrThrowWith(Either.right(1), () => new Error('Unexpected Left')),
889
+ * 1
890
+ * )
891
+ * assert.throws(() => Either.getOrThrowWith(Either.left("error"), () => new Error('Unexpected Left')))
892
+ * ```
893
+ *
894
+ * @category getters
895
+ * @since 2.0.0
896
+ */
897
+ <A, E>(self: Either<A, E>, onLeft: (left: E) => unknown): A;
898
+ };
899
+ /**
900
+ * Extracts the value of an `Either` or throws if the `Either` is `Left`.
901
+ *
902
+ * The thrown error is a default error. To configure the error thrown, see {@link getOrThrowWith}.
903
+ *
904
+ * @example
905
+ * ```ts
906
+ * import * as assert from "node:assert"
907
+ * import { Either } from "effect"
908
+ *
909
+ * assert.deepStrictEqual(Either.getOrThrow(Either.right(1)), 1)
910
+ * assert.throws(() => Either.getOrThrow(Either.left("error")))
911
+ * ```
912
+ *
913
+ * @throws `Error("getOrThrow called on a Left")`
914
+ *
915
+ * @category getters
916
+ * @since 2.0.0
917
+ */
918
+ export declare const getOrThrow: <A, E>(self: Either<A, E>) => A;
919
+ /**
920
+ * Returns `self` if it is a `Right` or `that` otherwise.
921
+ *
922
+ * @category error handling
923
+ * @since 2.0.0
924
+ */
925
+ export declare const orElse: {
926
+ /**
927
+ * Returns `self` if it is a `Right` or `that` otherwise.
928
+ *
929
+ * @category error handling
930
+ * @since 2.0.0
931
+ */
932
+ <E, A2, E2>(that: (left: E) => Either<A2, E2>): <A>(self: Either<A, E>) => Either<A | A2, E2>;
933
+ /**
934
+ * Returns `self` if it is a `Right` or `that` otherwise.
935
+ *
936
+ * @category error handling
937
+ * @since 2.0.0
938
+ */
939
+ <A, E, A2, E2>(self: Either<A, E>, that: (left: E) => Either<A2, E2>): Either<A | A2, E2>;
940
+ };
941
+ /**
942
+ * @category sequencing
943
+ * @since 2.0.0
944
+ */
945
+ export declare const flatMap: {
946
+ /**
947
+ * @category sequencing
948
+ * @since 2.0.0
949
+ */
950
+ <A, A2, E2>(f: (right: A) => Either<A2, E2>): <E>(self: Either<A, E>) => Either<A2, E | E2>;
951
+ /**
952
+ * @category sequencing
953
+ * @since 2.0.0
954
+ */
955
+ <A, E, A2, E2>(self: Either<A, E>, f: (right: A) => Either<A2, E2>): Either<A2, E | E2>;
956
+ };
957
+ /**
958
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
959
+ *
960
+ * @category sequencing
961
+ * @since 2.0.0
962
+ */
963
+ export declare const andThen: {
964
+ /**
965
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
966
+ *
967
+ * @category sequencing
968
+ * @since 2.0.0
969
+ */
970
+ <A, A2, E2>(f: (right: A) => Either<A2, E2>): <E>(self: Either<A, E>) => Either<A2, E | E2>;
971
+ /**
972
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
973
+ *
974
+ * @category sequencing
975
+ * @since 2.0.0
976
+ */
977
+ <A2, E2>(f: Either<A2, E2>): <E, A>(self: Either<A, E>) => Either<A2, E | E2>;
978
+ /**
979
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
980
+ *
981
+ * @category sequencing
982
+ * @since 2.0.0
983
+ */
984
+ <A, A2>(f: (right: A) => A2): <E>(self: Either<A, E>) => Either<A2, E>;
985
+ /**
986
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
987
+ *
988
+ * @category sequencing
989
+ * @since 2.0.0
990
+ */
991
+ <A2>(right: NotFunction<A2>): <A, E>(self: Either<A, E>) => Either<A2, E>;
992
+ /**
993
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
994
+ *
995
+ * @category sequencing
996
+ * @since 2.0.0
997
+ */
998
+ <A, E, A2, E2>(self: Either<A, E>, f: (right: A) => Either<A2, E2>): Either<A2, E | E2>;
999
+ /**
1000
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
1001
+ *
1002
+ * @category sequencing
1003
+ * @since 2.0.0
1004
+ */
1005
+ <A, E, A2, E2>(self: Either<A, E>, f: Either<A2, E2>): Either<A2, E | E2>;
1006
+ /**
1007
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
1008
+ *
1009
+ * @category sequencing
1010
+ * @since 2.0.0
1011
+ */
1012
+ <A, E, A2>(self: Either<A, E>, f: (right: A) => A2): Either<A2, E>;
1013
+ /**
1014
+ * Executes a sequence of two `Either`s. The second `Either` can be dependent on the result of the first `Either`.
1015
+ *
1016
+ * @category sequencing
1017
+ * @since 2.0.0
1018
+ */
1019
+ <A, E, A2>(self: Either<A, E>, f: NotFunction<A2>): Either<A2, E>;
1020
+ };
1021
+ /**
1022
+ * @category zipping
1023
+ * @since 2.0.0
1024
+ */
1025
+ export declare const zipWith: {
1026
+ /**
1027
+ * @category zipping
1028
+ * @since 2.0.0
1029
+ */
1030
+ <A2, E2, A, B>(that: Either<A2, E2>, f: (right: A, right2: A2) => B): <E>(self: Either<A, E>) => Either<B, E2 | E>;
1031
+ /**
1032
+ * @category zipping
1033
+ * @since 2.0.0
1034
+ */
1035
+ <A, E, A2, E2, B>(self: Either<A, E>, that: Either<A2, E2>, f: (right: A, right2: A2) => B): Either<B, E | E2>;
1036
+ };
1037
+ /**
1038
+ * @category combining
1039
+ * @since 2.0.0
1040
+ */
1041
+ export declare const ap: {
1042
+ /**
1043
+ * @category combining
1044
+ * @since 2.0.0
1045
+ */
1046
+ <A, E2>(that: Either<A, E2>): <A2, E>(self: Either<(right: A) => A2, E>) => Either<A2, E | E2>;
1047
+ /**
1048
+ * @category combining
1049
+ * @since 2.0.0
1050
+ */
1051
+ <A, A2, E, E2>(self: Either<(right: A) => A2, E>, that: Either<A, E2>): Either<A2, E | E2>;
1052
+ };
1053
+ /**
1054
+ * Takes a structure of `Either`s and returns an `Either` of values with the same structure.
1055
+ *
1056
+ * - If a tuple is supplied, then the returned `Either` will contain a tuple with the same length.
1057
+ * - If a struct is supplied, then the returned `Either` will contain a struct with the same keys.
1058
+ * - If an iterable is supplied, then the returned `Either` will contain an array.
1059
+ *
1060
+ * @example
1061
+ * ```ts
1062
+ * import * as assert from "node:assert"
1063
+ * import { Either } from "effect"
1064
+ *
1065
+ * assert.deepStrictEqual(Either.all([Either.right(1), Either.right(2)]), Either.right([1, 2]))
1066
+ * assert.deepStrictEqual(Either.all({ right: Either.right(1), b: Either.right("hello") }), Either.right({ right: 1, b: "hello" }))
1067
+ * assert.deepStrictEqual(Either.all({ right: Either.right(1), b: Either.left("error") }), Either.left("error"))
1068
+ * ```
1069
+ *
1070
+ * @category combining
1071
+ * @since 2.0.0
1072
+ */
1073
+ export declare const all: <const I extends Iterable<Either<any, any>> | Record<string, Either<any, any>>>(input: I) => [I] extends [ReadonlyArray<Either<any, any>>] ? Either<{
1074
+ -readonly [K in keyof I]: [I[K]] extends [Either<infer A, any>] ? A : never;
1075
+ }, I[number] extends never ? never : [I[number]] extends [Either<any, infer E>] ? E : never> : [I] extends [Iterable<Either<infer A, infer E>>] ? Either<Array<A>, E> : Either<{
1076
+ -readonly [K in keyof I]: [I[K]] extends [Either<infer A, any>] ? A : never;
1077
+ }, I[keyof I] extends never ? never : [I[keyof I]] extends [Either<any, infer E>] ? E : never>;
1078
+ /**
1079
+ * Returns an `Either` that swaps the error/success cases. This allows you to
1080
+ * use all methods on the error channel, possibly before flipping back.
1081
+ *
1082
+ * @since 2.0.0
1083
+ * @category mapping
1084
+ */
1085
+ export declare const flip: <A, E>(self: Either<A, E>) => Either<E, A>;
1086
+ /**
1087
+ * @category generators
1088
+ * @since 2.0.0
1089
+ */
1090
+ export declare const gen: Gen.Gen<EitherTypeLambda, Gen.Adapter<EitherTypeLambda>>;
1091
+ /**
1092
+ * The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
1093
+ *
1094
+ * Here's how the do simulation works:
1095
+ *
1096
+ * 1. Start the do simulation using the `Do` value
1097
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Either` values
1098
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
1099
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
1100
+ *
1101
+ * @example
1102
+ * ```ts
1103
+ * import * as assert from "node:assert"
1104
+ * import { Either, pipe } from "effect"
1105
+ *
1106
+ * const result = pipe(
1107
+ * Either.Do,
1108
+ * Either.bind("x", () => Either.right(2)),
1109
+ * Either.bind("y", () => Either.right(3)),
1110
+ * Either.let("sum", ({ x, y }) => x + y)
1111
+ * )
1112
+ * assert.deepStrictEqual(result, Either.right({ x: 2, y: 3, sum: 5 }))
1113
+ * ```
1114
+ *
1115
+ * @see {@link bind}
1116
+ * @see {@link bindTo}
1117
+ * @see {@link let_ let}
1118
+ *
1119
+ * @category do notation
1120
+ * @since 2.0.0
1121
+ */
1122
+ export declare const Do: Either<{}>;
1123
+ /**
1124
+ * The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
1125
+ *
1126
+ * Here's how the do simulation works:
1127
+ *
1128
+ * 1. Start the do simulation using the `Do` value
1129
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Either` values
1130
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
1131
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
1132
+ *
1133
+ * @example
1134
+ * ```ts
1135
+ * import * as assert from "node:assert"
1136
+ * import { Either, pipe } from "effect"
1137
+ *
1138
+ * const result = pipe(
1139
+ * Either.Do,
1140
+ * Either.bind("x", () => Either.right(2)),
1141
+ * Either.bind("y", () => Either.right(3)),
1142
+ * Either.let("sum", ({ x, y }) => x + y)
1143
+ * )
1144
+ * assert.deepStrictEqual(result, Either.right({ x: 2, y: 3, sum: 5 }))
1145
+ * ```
1146
+ *
1147
+ * @see {@link Do}
1148
+ * @see {@link bindTo}
1149
+ * @see {@link let_ let}
1150
+ *
1151
+ * @category do notation
1152
+ * @since 2.0.0
1153
+ */
1154
+ export declare const bind: {
1155
+ /**
1156
+ * The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
1157
+ *
1158
+ * Here's how the do simulation works:
1159
+ *
1160
+ * 1. Start the do simulation using the `Do` value
1161
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Either` values
1162
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
1163
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
1164
+ *
1165
+ * @example
1166
+ * ```ts
1167
+ * import * as assert from "node:assert"
1168
+ * import { Either, pipe } from "effect"
1169
+ *
1170
+ * const result = pipe(
1171
+ * Either.Do,
1172
+ * Either.bind("x", () => Either.right(2)),
1173
+ * Either.bind("y", () => Either.right(3)),
1174
+ * Either.let("sum", ({ x, y }) => x + y)
1175
+ * )
1176
+ * assert.deepStrictEqual(result, Either.right({ x: 2, y: 3, sum: 5 }))
1177
+ * ```
1178
+ *
1179
+ * @see {@link Do}
1180
+ * @see {@link bindTo}
1181
+ * @see {@link let_ let}
1182
+ *
1183
+ * @category do notation
1184
+ * @since 2.0.0
1185
+ */
1186
+ <N extends string, A extends object, B, E2>(name: Exclude<N, keyof A>, f: (a: NoInfer<A>) => Either<B, E2>): <E>(self: Either<A, E>) => Either<{
1187
+ [K in N | keyof A]: K extends keyof A ? A[K] : B;
1188
+ }, E | E2>;
1189
+ /**
1190
+ * The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
1191
+ *
1192
+ * Here's how the do simulation works:
1193
+ *
1194
+ * 1. Start the do simulation using the `Do` value
1195
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Either` values
1196
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
1197
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
1198
+ *
1199
+ * @example
1200
+ * ```ts
1201
+ * import * as assert from "node:assert"
1202
+ * import { Either, pipe } from "effect"
1203
+ *
1204
+ * const result = pipe(
1205
+ * Either.Do,
1206
+ * Either.bind("x", () => Either.right(2)),
1207
+ * Either.bind("y", () => Either.right(3)),
1208
+ * Either.let("sum", ({ x, y }) => x + y)
1209
+ * )
1210
+ * assert.deepStrictEqual(result, Either.right({ x: 2, y: 3, sum: 5 }))
1211
+ * ```
1212
+ *
1213
+ * @see {@link Do}
1214
+ * @see {@link bindTo}
1215
+ * @see {@link let_ let}
1216
+ *
1217
+ * @category do notation
1218
+ * @since 2.0.0
1219
+ */
1220
+ <A extends object, E, N extends string, B, E2>(self: Either<A, E>, name: Exclude<N, keyof A>, f: (a: NoInfer<A>) => Either<B, E2>): Either<{
1221
+ [K in N | keyof A]: K extends keyof A ? A[K] : B;
1222
+ }, E | E2>;
1223
+ };
1224
+ /**
1225
+ * The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
1226
+ *
1227
+ * Here's how the do simulation works:
1228
+ *
1229
+ * 1. Start the do simulation using the `Do` value
1230
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Either` values
1231
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
1232
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
1233
+ *
1234
+ * @example
1235
+ * ```ts
1236
+ * import * as assert from "node:assert"
1237
+ * import { Either, pipe } from "effect"
1238
+ *
1239
+ * const result = pipe(
1240
+ * Either.Do,
1241
+ * Either.bind("x", () => Either.right(2)),
1242
+ * Either.bind("y", () => Either.right(3)),
1243
+ * Either.let("sum", ({ x, y }) => x + y)
1244
+ * )
1245
+ * assert.deepStrictEqual(result, Either.right({ x: 2, y: 3, sum: 5 }))
1246
+ * ```
1247
+ *
1248
+ * @see {@link Do}
1249
+ * @see {@link bind}
1250
+ * @see {@link let_ let}
1251
+ *
1252
+ * @category do notation
1253
+ * @since 2.0.0
1254
+ */
1255
+ export declare const bindTo: {
1256
+ /**
1257
+ * The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
1258
+ *
1259
+ * Here's how the do simulation works:
1260
+ *
1261
+ * 1. Start the do simulation using the `Do` value
1262
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Either` values
1263
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
1264
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
1265
+ *
1266
+ * @example
1267
+ * ```ts
1268
+ * import * as assert from "node:assert"
1269
+ * import { Either, pipe } from "effect"
1270
+ *
1271
+ * const result = pipe(
1272
+ * Either.Do,
1273
+ * Either.bind("x", () => Either.right(2)),
1274
+ * Either.bind("y", () => Either.right(3)),
1275
+ * Either.let("sum", ({ x, y }) => x + y)
1276
+ * )
1277
+ * assert.deepStrictEqual(result, Either.right({ x: 2, y: 3, sum: 5 }))
1278
+ * ```
1279
+ *
1280
+ * @see {@link Do}
1281
+ * @see {@link bind}
1282
+ * @see {@link let_ let}
1283
+ *
1284
+ * @category do notation
1285
+ * @since 2.0.0
1286
+ */
1287
+ <N extends string>(name: N): <A, E>(self: Either<A, E>) => Either<{
1288
+ [K in N]: A;
1289
+ }, E>;
1290
+ /**
1291
+ * The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
1292
+ *
1293
+ * Here's how the do simulation works:
1294
+ *
1295
+ * 1. Start the do simulation using the `Do` value
1296
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Either` values
1297
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
1298
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
1299
+ *
1300
+ * @example
1301
+ * ```ts
1302
+ * import * as assert from "node:assert"
1303
+ * import { Either, pipe } from "effect"
1304
+ *
1305
+ * const result = pipe(
1306
+ * Either.Do,
1307
+ * Either.bind("x", () => Either.right(2)),
1308
+ * Either.bind("y", () => Either.right(3)),
1309
+ * Either.let("sum", ({ x, y }) => x + y)
1310
+ * )
1311
+ * assert.deepStrictEqual(result, Either.right({ x: 2, y: 3, sum: 5 }))
1312
+ * ```
1313
+ *
1314
+ * @see {@link Do}
1315
+ * @see {@link bind}
1316
+ * @see {@link let_ let}
1317
+ *
1318
+ * @category do notation
1319
+ * @since 2.0.0
1320
+ */
1321
+ <A, E, N extends string>(self: Either<A, E>, name: N): Either<{
1322
+ [K in N]: A;
1323
+ }, E>;
1324
+ };
1325
+ declare const let_: {
1326
+ <N extends string, A extends object, B>(name: Exclude<N, keyof A>, f: (r: NoInfer<A>) => B): <E>(self: Either<A, E>) => Either<{
1327
+ [K in N | keyof A]: K extends keyof A ? A[K] : B;
1328
+ }, E>;
1329
+ <A extends object, E, N extends string, B>(self: Either<A, E>, name: Exclude<N, keyof A>, f: (r: NoInfer<A>) => B): Either<{
1330
+ [K in N | keyof A]: K extends keyof A ? A[K] : B;
1331
+ }, E>;
1332
+ };
1333
+ export {
1334
+ /**
1335
+ * The "do simulation" in Effect allows you to write code in a more declarative style, similar to the "do notation" in other programming languages. It provides a way to define variables and perform operations on them using functions like `bind` and `let`.
1336
+ *
1337
+ * Here's how the do simulation works:
1338
+ *
1339
+ * 1. Start the do simulation using the `Do` value
1340
+ * 2. Within the do simulation scope, you can use the `bind` function to define variables and bind them to `Either` values
1341
+ * 3. You can accumulate multiple `bind` statements to define multiple variables within the scope
1342
+ * 4. Inside the do simulation scope, you can also use the `let` function to define variables and bind them to simple values
1343
+ *
1344
+ * @example
1345
+ * ```ts
1346
+ * import * as assert from "node:assert"
1347
+ * import { Either, pipe } from "effect"
1348
+ *
1349
+ * const result = pipe(
1350
+ * Either.Do,
1351
+ * Either.bind("x", () => Either.right(2)),
1352
+ * Either.bind("y", () => Either.right(3)),
1353
+ * Either.let("sum", ({ x, y }) => x + y)
1354
+ * )
1355
+ * assert.deepStrictEqual(result, Either.right({ x: 2, y: 3, sum: 5 }))
1356
+ * ```
1357
+ *
1358
+ * @see {@link Do}
1359
+ * @see {@link bindTo}
1360
+ * @see {@link bind}
1361
+ *
1362
+ * @category do notation
1363
+ * @since 2.0.0
1364
+ */
1365
+ let_ as let };
1366
+ /**
1367
+ * Converts an `Option` of an `Either` into an `Either` of an `Option`.
1368
+ *
1369
+ * **Details**
1370
+ *
1371
+ * This function transforms an `Option<Either<A, E>>` into an
1372
+ * `Either<Option<A>, E>`. If the `Option` is `None`, the resulting `Either`
1373
+ * will be a `Right` with a `None` value. If the `Option` is `Some`, the
1374
+ * inner `Either` will be executed, and its result wrapped in a `Some`.
1375
+ *
1376
+ * @example
1377
+ * ```ts
1378
+ * import { Effect, Either, Option } from "effect"
1379
+ *
1380
+ * // ┌─── Option<Either<number, never>>
1381
+ * // ▼
1382
+ * const maybe = Option.some(Either.right(42))
1383
+ *
1384
+ * // ┌─── Either<Option<number>, never, never>
1385
+ * // ▼
1386
+ * const result = Either.transposeOption(maybe)
1387
+ *
1388
+ * console.log(Effect.runSync(result))
1389
+ * // Output: { _id: 'Option', _tag: 'Some', value: 42 }
1390
+ * ```
1391
+ *
1392
+ * @since 3.14.0
1393
+ * @category Optional Wrapping & Unwrapping
1394
+ */
1395
+ export declare const transposeOption: <A = never, E = never>(self: Option<Either<A, E>>) => Either<Option<A>, E>;
1396
+ /**
1397
+ * Applies an `Either` on an `Option` and transposes the result.
1398
+ *
1399
+ * **Details**
1400
+ *
1401
+ * If the `Option` is `None`, the resulting `Either` will immediately succeed with a `Right` value of `None`.
1402
+ * If the `Option` is `Some`, the transformation function will be applied to the inner value, and its result wrapped in a `Some`.
1403
+ *
1404
+ * @example
1405
+ * ```ts
1406
+ * import { Either, Option, pipe } from "effect"
1407
+ *
1408
+ * // ┌─── Either<Option<number>, never>>
1409
+ * // ▼
1410
+ * const noneResult = pipe(
1411
+ * Option.none(),
1412
+ * Either.transposeMapOption(() => Either.right(42)) // will not be executed
1413
+ * )
1414
+ * console.log(noneResult)
1415
+ * // Output: { _id: 'Either', _tag: 'Right', right: { _id: 'Option', _tag: 'None' } }
1416
+ *
1417
+ * // ┌─── Either<Option<number>, never>>
1418
+ * // ▼
1419
+ * const someRightResult = pipe(
1420
+ * Option.some(42),
1421
+ * Either.transposeMapOption((value) => Either.right(value * 2))
1422
+ * )
1423
+ * console.log(someRightResult)
1424
+ * // Output: { _id: 'Either', _tag: 'Right', right: { _id: 'Option', _tag: 'Some', value: 84 } }
1425
+ * ```
1426
+ *
1427
+ * @since 3.15.0
1428
+ * @category Optional Wrapping & Unwrapping
1429
+ */
1430
+ export declare const transposeMapOption: (<A, B, E = never>(f: (self: A) => Either<B, E>) => (self: Option<A>) => Either<Option<B>, E>) & (<A, B, E = never>(self: Option<A>, f: (self: A) => Either<B, E>) => Either<Option<B>, E>);
1431
+ //# sourceMappingURL=Either.d.ts.map
backend/node_modules/effect/dist/dts/Encoding.d.ts ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * This module provides encoding & decoding functionality for:
3
+ *
4
+ * - base64 (RFC4648)
5
+ * - base64 (URL)
6
+ * - hex
7
+ *
8
+ * @since 2.0.0
9
+ */
10
+ import * as Either from "./Either.js";
11
+ /**
12
+ * Encodes the given value into a base64 (RFC4648) `string`.
13
+ *
14
+ * @category encoding
15
+ * @since 2.0.0
16
+ */
17
+ export declare const encodeBase64: (input: Uint8Array | string) => string;
18
+ /**
19
+ * Decodes a base64 (RFC4648) encoded `string` into a `Uint8Array`.
20
+ *
21
+ * @category decoding
22
+ * @since 2.0.0
23
+ */
24
+ export declare const decodeBase64: (str: string) => Either.Either<Uint8Array, DecodeException>;
25
+ /**
26
+ * Decodes a base64 (RFC4648) encoded `string` into a UTF-8 `string`.
27
+ *
28
+ * @category decoding
29
+ * @since 2.0.0
30
+ */
31
+ export declare const decodeBase64String: (str: string) => Either.Either<string, DecodeException>;
32
+ /**
33
+ * Encodes the given value into a base64 (URL) `string`.
34
+ *
35
+ * @category encoding
36
+ * @since 2.0.0
37
+ */
38
+ export declare const encodeBase64Url: (input: Uint8Array | string) => string;
39
+ /**
40
+ * Decodes a base64 (URL) encoded `string` into a `Uint8Array`.
41
+ *
42
+ * @category decoding
43
+ * @since 2.0.0
44
+ */
45
+ export declare const decodeBase64Url: (str: string) => Either.Either<Uint8Array, DecodeException>;
46
+ /**
47
+ * Decodes a base64 (URL) encoded `string` into a UTF-8 `string`.
48
+ *
49
+ * @category decoding
50
+ * @since 2.0.0
51
+ */
52
+ export declare const decodeBase64UrlString: (str: string) => Either.Either<string, DecodeException>;
53
+ /**
54
+ * Encodes the given value into a hex `string`.
55
+ *
56
+ * @category encoding
57
+ * @since 2.0.0
58
+ */
59
+ export declare const encodeHex: (input: Uint8Array | string) => string;
60
+ /**
61
+ * Decodes a hex encoded `string` into a `Uint8Array`.
62
+ *
63
+ * @category decoding
64
+ * @since 2.0.0
65
+ */
66
+ export declare const decodeHex: (str: string) => Either.Either<Uint8Array, DecodeException>;
67
+ /**
68
+ * Decodes a hex encoded `string` into a UTF-8 `string`.
69
+ *
70
+ * @category decoding
71
+ * @since 2.0.0
72
+ */
73
+ export declare const decodeHexString: (str: string) => Either.Either<string, DecodeException>;
74
+ /**
75
+ * Encodes a UTF-8 `string` into a URI component `string`.
76
+ *
77
+ * @category encoding
78
+ * @since 3.12.0
79
+ */
80
+ export declare const encodeUriComponent: (str: string) => Either.Either<string, EncodeException>;
81
+ /**
82
+ * Decodes a URI component `string` into a UTF-8 `string`.
83
+ *
84
+ * @category decoding
85
+ * @since 3.12.0
86
+ */
87
+ export declare const decodeUriComponent: (str: string) => Either.Either<string, DecodeException>;
88
+ /**
89
+ * @since 2.0.0
90
+ * @category symbols
91
+ */
92
+ export declare const DecodeExceptionTypeId: unique symbol;
93
+ /**
94
+ * @since 2.0.0
95
+ * @category symbols
96
+ */
97
+ export type DecodeExceptionTypeId = typeof DecodeExceptionTypeId;
98
+ /**
99
+ * Represents a checked exception which occurs when decoding fails.
100
+ *
101
+ * @since 2.0.0
102
+ * @category models
103
+ */
104
+ export interface DecodeException {
105
+ readonly _tag: "DecodeException";
106
+ readonly [DecodeExceptionTypeId]: DecodeExceptionTypeId;
107
+ readonly input: string;
108
+ readonly message?: string;
109
+ }
110
+ /**
111
+ * Creates a checked exception which occurs when decoding fails.
112
+ *
113
+ * @since 2.0.0
114
+ * @category errors
115
+ */
116
+ export declare const DecodeException: (input: string, message?: string) => DecodeException;
117
+ /**
118
+ * Returns `true` if the specified value is an `DecodeException`, `false` otherwise.
119
+ *
120
+ * @since 2.0.0
121
+ * @category refinements
122
+ */
123
+ export declare const isDecodeException: (u: unknown) => u is DecodeException;
124
+ /**
125
+ * @since 3.12.0
126
+ * @category symbols
127
+ */
128
+ export declare const EncodeExceptionTypeId: unique symbol;
129
+ /**
130
+ * @since 3.12.0
131
+ * @category symbols
132
+ */
133
+ export type EncodeExceptionTypeId = typeof EncodeExceptionTypeId;
134
+ /**
135
+ * Represents a checked exception which occurs when encoding fails.
136
+ *
137
+ * @since 3.12.0
138
+ * @category models
139
+ */
140
+ export interface EncodeException {
141
+ readonly _tag: "EncodeException";
142
+ readonly [EncodeExceptionTypeId]: EncodeExceptionTypeId;
143
+ readonly input: string;
144
+ readonly message?: string;
145
+ }
146
+ /**
147
+ * Creates a checked exception which occurs when encoding fails.
148
+ *
149
+ * @since 3.12.0
150
+ * @category errors
151
+ */
152
+ export declare const EncodeException: (input: string, message?: string) => EncodeException;
153
+ /**
154
+ * Returns `true` if the specified value is an `EncodeException`, `false` otherwise.
155
+ *
156
+ * @since 3.12.0
157
+ * @category refinements
158
+ */
159
+ export declare const isEncodeException: (u: unknown) => u is EncodeException;
160
+ //# sourceMappingURL=Encoding.d.ts.map
backend/node_modules/effect/dist/dts/Equal.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Equal.d.ts","sourceRoot":"","sources":["../../src/Equal.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AAIjC;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,OAAO,MAAmC,CAAA;AAE/D;;;GAGG;AACH,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,IAAI;IACtC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,KAAK,GAAG,OAAO,CAAA;CAC/B;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,OAAO,CAAA;AAC3D,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAA;AA+DvD;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,OAAO,KAAG,CAAC,IAAI,KAA+B,CAAA;AAEzE;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,OAAO,WAAW,CAAC,CAAC,CAAgB,CAAA"}
backend/node_modules/effect/dist/dts/Equivalence.d.ts ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { TypeLambda } from "./HKT.js";
2
+ /**
3
+ * @category type class
4
+ * @since 2.0.0
5
+ */
6
+ export interface Equivalence<in A> {
7
+ (self: A, that: A): boolean;
8
+ }
9
+ /**
10
+ * @category type lambdas
11
+ * @since 2.0.0
12
+ */
13
+ export interface EquivalenceTypeLambda extends TypeLambda {
14
+ readonly type: Equivalence<this["Target"]>;
15
+ }
16
+ /**
17
+ * @category constructors
18
+ * @since 2.0.0
19
+ */
20
+ export declare const make: <A>(isEquivalent: (self: A, that: A) => boolean) => Equivalence<A>;
21
+ /**
22
+ * Return an `Equivalence` that uses strict equality (===) to compare values.
23
+ *
24
+ * @since 2.0.0
25
+ * @category constructors
26
+ */
27
+ export declare const strict: <A>() => Equivalence<A>;
28
+ /**
29
+ * @category instances
30
+ * @since 2.0.0
31
+ */
32
+ export declare const string: Equivalence<string>;
33
+ /**
34
+ * @category instances
35
+ * @since 2.0.0
36
+ */
37
+ export declare const number: Equivalence<number>;
38
+ /**
39
+ * @category instances
40
+ * @since 2.0.0
41
+ */
42
+ export declare const boolean: Equivalence<boolean>;
43
+ /**
44
+ * @category instances
45
+ * @since 2.0.0
46
+ */
47
+ export declare const bigint: Equivalence<bigint>;
48
+ /**
49
+ * @category instances
50
+ * @since 2.0.0
51
+ */
52
+ export declare const symbol: Equivalence<symbol>;
53
+ /**
54
+ * @category combining
55
+ * @since 2.0.0
56
+ */
57
+ export declare const combine: {
58
+ /**
59
+ * @category combining
60
+ * @since 2.0.0
61
+ */
62
+ <A>(that: Equivalence<A>): (self: Equivalence<A>) => Equivalence<A>;
63
+ /**
64
+ * @category combining
65
+ * @since 2.0.0
66
+ */
67
+ <A>(self: Equivalence<A>, that: Equivalence<A>): Equivalence<A>;
68
+ };
69
+ /**
70
+ * @category combining
71
+ * @since 2.0.0
72
+ */
73
+ export declare const combineMany: {
74
+ /**
75
+ * @category combining
76
+ * @since 2.0.0
77
+ */
78
+ <A>(collection: Iterable<Equivalence<A>>): (self: Equivalence<A>) => Equivalence<A>;
79
+ /**
80
+ * @category combining
81
+ * @since 2.0.0
82
+ */
83
+ <A>(self: Equivalence<A>, collection: Iterable<Equivalence<A>>): Equivalence<A>;
84
+ };
85
+ /**
86
+ * @category combining
87
+ * @since 2.0.0
88
+ */
89
+ export declare const combineAll: <A>(collection: Iterable<Equivalence<A>>) => Equivalence<A>;
90
+ /**
91
+ * @category mapping
92
+ * @since 2.0.0
93
+ */
94
+ export declare const mapInput: {
95
+ /**
96
+ * @category mapping
97
+ * @since 2.0.0
98
+ */
99
+ <B, A>(f: (b: B) => A): (self: Equivalence<A>) => Equivalence<B>;
100
+ /**
101
+ * @category mapping
102
+ * @since 2.0.0
103
+ */
104
+ <A, B>(self: Equivalence<A>, f: (b: B) => A): Equivalence<B>;
105
+ };
106
+ /**
107
+ * @category instances
108
+ * @since 2.0.0
109
+ */
110
+ export declare const Date: Equivalence<Date>;
111
+ /**
112
+ * @category combining
113
+ * @since 2.0.0
114
+ */
115
+ export declare const product: {
116
+ <B>(that: Equivalence<B>): <A>(self: Equivalence<A>) => Equivalence<readonly [A, B]>;
117
+ <A, B>(self: Equivalence<A>, that: Equivalence<B>): Equivalence<readonly [A, B]>;
118
+ };
119
+ /**
120
+ * @category combining
121
+ * @since 2.0.0
122
+ */
123
+ export declare const all: <A>(collection: Iterable<Equivalence<A>>) => Equivalence<ReadonlyArray<A>>;
124
+ /**
125
+ * @category combining
126
+ * @since 2.0.0
127
+ */
128
+ export declare const productMany: <A>(self: Equivalence<A>, collection: Iterable<Equivalence<A>>) => Equivalence<readonly [A, ...Array<A>]>;
129
+ /**
130
+ * Similar to `Promise.all` but operates on `Equivalence`s.
131
+ *
132
+ * ```ts skip-type-checking
133
+ * [Equivalence<A>, Equivalence<B>, ...] -> Equivalence<[A, B, ...]>
134
+ * ```
135
+ *
136
+ * Given a tuple of `Equivalence`s returns a new `Equivalence` that compares values of a tuple
137
+ * by applying each `Equivalence` to the corresponding element of the tuple.
138
+ *
139
+ * @category combinators
140
+ * @since 2.0.0
141
+ */
142
+ export declare const tuple: <T extends ReadonlyArray<Equivalence<any>>>(...elements: T) => Equivalence<Readonly<{ [I in keyof T]: [T[I]] extends [Equivalence<infer A>] ? A : never; }>>;
143
+ /**
144
+ * Creates a new `Equivalence` for an array of values based on a given `Equivalence` for the elements of the array.
145
+ *
146
+ * @category combinators
147
+ * @since 2.0.0
148
+ */
149
+ export declare const array: <A>(item: Equivalence<A>) => Equivalence<ReadonlyArray<A>>;
150
+ /**
151
+ * Given a struct of `Equivalence`s returns a new `Equivalence` that compares values of a struct
152
+ * by applying each `Equivalence` to the corresponding property of the struct.
153
+ *
154
+ * @category combinators
155
+ * @since 2.0.0
156
+ */
157
+ export declare const struct: <R extends Record<string, Equivalence<any>>>(fields: R) => Equivalence<{ readonly [K in keyof R]: [R[K]] extends [Equivalence<infer A>] ? A : never; }>;
158
+ //# sourceMappingURL=Equivalence.d.ts.map
backend/node_modules/effect/dist/dts/Equivalence.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Equivalence.d.ts","sourceRoot":"","sources":["../../src/Equivalence.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAE1C;;;GAGG;AACH,MAAM,WAAW,WAAW,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CA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AC,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,GAAE,CAU5F,CAAA"}
backend/node_modules/effect/dist/dts/ExecutionPlan.d.ts ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 3.16.0
3
+ * @experimental
4
+ */
5
+ import type { NonEmptyReadonlyArray } from "./Array.js";
6
+ import type * as Context from "./Context.js";
7
+ import * as Effect from "./Effect.js";
8
+ import * as Layer from "./Layer.js";
9
+ import type { Pipeable } from "./Pipeable.js";
10
+ import type * as Schedule from "./Schedule.js";
11
+ /**
12
+ * @since 3.16.0
13
+ * @category Symbols
14
+ * @experimental
15
+ */
16
+ export declare const TypeId: unique symbol;
17
+ /**
18
+ * @since 3.16.0
19
+ * @category Symbols
20
+ * @experimental
21
+ */
22
+ export type TypeId = typeof TypeId;
23
+ /**
24
+ * @since 3.16.0
25
+ * @category Guards
26
+ * @experimental
27
+ */
28
+ export declare const isExecutionPlan: (u: unknown) => u is ExecutionPlan<any>;
29
+ /**
30
+ * A `ExecutionPlan` can be used with `Effect.withExecutionPlan` or `Stream.withExecutionPlan`, allowing you to provide different resources for each step of execution until the effect succeeds or the plan is exhausted.
31
+ *
32
+ * ```ts
33
+ * import type { LanguageModel } from "@effect/ai"
34
+ * import type { Layer } from "effect"
35
+ * import { Effect, ExecutionPlan, Schedule } from "effect"
36
+ *
37
+ * declare const layerBad: Layer.Layer<LanguageModel.LanguageModel>
38
+ * declare const layerGood: Layer.Layer<LanguageModel.LanguageModel>
39
+ *
40
+ * const ThePlan = ExecutionPlan.make(
41
+ * {
42
+ * // First try with the bad layer 2 times with a 3 second delay between attempts
43
+ * provide: layerBad,
44
+ * attempts: 2,
45
+ * schedule: Schedule.spaced(3000)
46
+ * },
47
+ * // Then try with the bad layer 3 times with a 1 second delay between attempts
48
+ * {
49
+ * provide: layerBad,
50
+ * attempts: 3,
51
+ * schedule: Schedule.spaced(1000)
52
+ * },
53
+ * // Finally try with the good layer.
54
+ * //
55
+ * // If `attempts` is omitted, the plan will only attempt once, unless a schedule is provided.
56
+ * {
57
+ * provide: layerGood
58
+ * }
59
+ * )
60
+ *
61
+ * declare const effect: Effect.Effect<
62
+ * void,
63
+ * never,
64
+ * LanguageModel.LanguageModel
65
+ * >
66
+ * const withPlan: Effect.Effect<void> = Effect.withExecutionPlan(effect, ThePlan)
67
+ * ```
68
+ *
69
+ * @since 3.16.0
70
+ * @category Models
71
+ * @experimental
72
+ */
73
+ export interface ExecutionPlan<Types extends {
74
+ provides: any;
75
+ input: any;
76
+ error: any;
77
+ requirements: any;
78
+ }> extends Pipeable {
79
+ readonly [TypeId]: TypeId;
80
+ readonly steps: NonEmptyReadonlyArray<{
81
+ readonly provide: Context.Context<Types["provides"]> | Layer.Layer<Types["provides"], Types["error"], Types["requirements"]>;
82
+ readonly attempts?: number | undefined;
83
+ readonly while?: ((input: Types["input"]) => Effect.Effect<boolean, Types["error"], Types["requirements"]>) | undefined;
84
+ readonly schedule?: Schedule.Schedule<any, Types["input"], Types["requirements"]> | undefined;
85
+ }>;
86
+ /**
87
+ * Returns an equivalent `ExecutionPlan` with the requirements satisfied,
88
+ * using the current context.
89
+ */
90
+ readonly withRequirements: Effect.Effect<ExecutionPlan<{
91
+ provides: Types["provides"];
92
+ input: Types["input"];
93
+ error: Types["error"];
94
+ requirements: never;
95
+ }>, never, Types["requirements"]>;
96
+ }
97
+ /**
98
+ * @since 3.16.0
99
+ * @experimental
100
+ */
101
+ export type TypesBase = {
102
+ provides: any;
103
+ input: any;
104
+ error: any;
105
+ requirements: any;
106
+ };
107
+ /**
108
+ * Create an `ExecutionPlan`, which can be used with `Effect.withExecutionPlan` or `Stream.withExecutionPlan`, allowing you to provide different resources for each step of execution until the effect succeeds or the plan is exhausted.
109
+ *
110
+ * ```ts
111
+ * import type { LanguageModel } from "@effect/ai"
112
+ * import type { Layer } from "effect"
113
+ * import { Effect, ExecutionPlan, Schedule } from "effect"
114
+ *
115
+ * declare const layerBad: Layer.Layer<LanguageModel.LanguageModel>
116
+ * declare const layerGood: Layer.Layer<LanguageModel.LanguageModel>
117
+ *
118
+ * const ThePlan = ExecutionPlan.make(
119
+ * {
120
+ * // First try with the bad layer 2 times with a 3 second delay between attempts
121
+ * provide: layerBad,
122
+ * attempts: 2,
123
+ * schedule: Schedule.spaced(3000)
124
+ * },
125
+ * // Then try with the bad layer 3 times with a 1 second delay between attempts
126
+ * {
127
+ * provide: layerBad,
128
+ * attempts: 3,
129
+ * schedule: Schedule.spaced(1000)
130
+ * },
131
+ * // Finally try with the good layer.
132
+ * //
133
+ * // If `attempts` is omitted, the plan will only attempt once, unless a schedule is provided.
134
+ * {
135
+ * provide: layerGood
136
+ * }
137
+ * )
138
+ *
139
+ * declare const effect: Effect.Effect<
140
+ * void,
141
+ * never,
142
+ * LanguageModel.LanguageModel
143
+ * >
144
+ * const withPlan: Effect.Effect<void> = Effect.withExecutionPlan(effect, ThePlan)
145
+ * ```
146
+ *
147
+ * @since 3.16.0
148
+ * @category Constructors
149
+ * @experimental
150
+ */
151
+ export declare const make: <const Steps extends NonEmptyReadonlyArray<make.Step>>(...steps: Steps & { [K in keyof Steps]: make.Step; }) => ExecutionPlan<{
152
+ provides: make.StepProvides<Steps>;
153
+ input: make.StepInput<Steps>;
154
+ error: (Steps[number]["provide"] extends Context.Context<infer _P> | Layer.Layer<infer _P, infer E, infer _R> ? E : never) | (Steps[number]["while"] extends (input: infer _I) => Effect.Effect<infer _A, infer _E, infer _R_1> ? _E : never);
155
+ requirements: (Steps[number]["provide"] extends Layer.Layer<infer _A_1, infer _E_1, infer R> ? R : never) | (Steps[number]["while"] extends (input: infer _I) => Effect.Effect<infer _A_1, infer _E_2, infer R_1> ? R_1 : never) | (Steps[number]["schedule"] extends Schedule.Schedule<infer _O, infer _I, infer R_2> ? R_2 : never);
156
+ }>;
157
+ /**
158
+ * @since 3.16.0
159
+ * @experimental
160
+ */
161
+ export declare namespace make {
162
+ /**
163
+ * @since 3.16.0
164
+ * @experimental
165
+ */
166
+ type Step = {
167
+ readonly provide: Context.Context<any> | Context.Context<never> | Layer.Layer.Any;
168
+ readonly attempts?: number | undefined;
169
+ readonly while?: ((input: any) => boolean | Effect.Effect<boolean, any, any>) | undefined;
170
+ readonly schedule?: Schedule.Schedule<any, any, any> | undefined;
171
+ };
172
+ /**
173
+ * @since 3.16.1
174
+ * @experimental
175
+ */
176
+ type StepProvides<Steps extends ReadonlyArray<any>, Out = unknown> = Steps extends readonly [infer Step, ...infer Rest] ? StepProvides<Rest, Out & ((Step extends {
177
+ readonly provide: Context.Context<infer P> | Layer.Layer<infer P, infer _E, infer _R>;
178
+ } ? P : unknown))> : Out;
179
+ /**
180
+ * @since 3.16.1
181
+ * @experimental
182
+ */
183
+ type PlanProvides<Plans extends ReadonlyArray<any>, Out = unknown> = Plans extends readonly [infer Plan, ...infer Rest] ? PlanProvides<Rest, Out & (Plan extends ExecutionPlan<infer T> ? T["provides"] : unknown)> : Out;
184
+ /**
185
+ * @since 3.16.0
186
+ * @experimental
187
+ */
188
+ type StepInput<Steps extends ReadonlyArray<any>, Out = unknown> = Steps extends readonly [infer Step, ...infer Rest] ? StepInput<Rest, Out & ((Step extends {
189
+ readonly while: (input: infer I) => infer _;
190
+ } ? I : unknown) & (Step extends {
191
+ readonly schedule: Schedule.Schedule<infer _O, infer I, infer _R>;
192
+ } ? I : unknown))> : Out;
193
+ /**
194
+ * @since 3.16.0
195
+ * @experimental
196
+ */
197
+ type PlanInput<Plans extends ReadonlyArray<any>, Out = unknown> = Plans extends readonly [infer Plan, ...infer Rest] ? PlanInput<Rest, Out & (Plan extends ExecutionPlan<infer T> ? T["input"] : unknown)> : Out;
198
+ }
199
+ /**
200
+ * @since 3.16.0
201
+ * @category Combining
202
+ * @experimental
203
+ */
204
+ export declare const merge: <const Plans extends NonEmptyReadonlyArray<ExecutionPlan<any>>>(...plans: Plans) => ExecutionPlan<{
205
+ provides: make.PlanProvides<Plans>;
206
+ input: make.PlanInput<Plans>;
207
+ error: Plans[number] extends ExecutionPlan<infer T> ? T["error"] : never;
208
+ requirements: Plans[number] extends ExecutionPlan<infer T> ? T["requirements"] : never;
209
+ }>;
210
+ //# sourceMappingURL=ExecutionPlan.d.ts.map
backend/node_modules/effect/dist/dts/ExecutionStrategy.d.ts ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type { LazyArg } from "./Function.js";
5
+ /**
6
+ * Describes a strategy for evaluating multiple effects, potentially in
7
+ * parallel.
8
+ *
9
+ * There are 3 possible execution strategies: `Sequential`, `Parallel`,
10
+ * `ParallelN`.
11
+ *
12
+ * @since 2.0.0
13
+ * @category models
14
+ */
15
+ export type ExecutionStrategy = Sequential | Parallel | ParallelN;
16
+ /**
17
+ * Execute effects sequentially.
18
+ *
19
+ * @since 2.0.0
20
+ * @category models
21
+ */
22
+ export interface Sequential {
23
+ readonly _tag: "Sequential";
24
+ }
25
+ /**
26
+ * Execute effects in parallel.
27
+ *
28
+ * @since 2.0.0
29
+ * @category models
30
+ */
31
+ export interface Parallel {
32
+ readonly _tag: "Parallel";
33
+ }
34
+ /**
35
+ * Execute effects in parallel, up to the specified number of concurrent fibers.
36
+ *
37
+ * @since 2.0.0
38
+ * @category models
39
+ */
40
+ export interface ParallelN {
41
+ readonly _tag: "ParallelN";
42
+ readonly parallelism: number;
43
+ }
44
+ /**
45
+ * Execute effects sequentially.
46
+ *
47
+ * @since 2.0.0
48
+ * @category constructors
49
+ */
50
+ export declare const sequential: ExecutionStrategy;
51
+ /**
52
+ * Execute effects in parallel.
53
+ *
54
+ * @since 2.0.0
55
+ * @category constructors
56
+ */
57
+ export declare const parallel: ExecutionStrategy;
58
+ /**
59
+ * Execute effects in parallel, up to the specified number of concurrent fibers.
60
+ *
61
+ * @since 2.0.0
62
+ * @category constructors
63
+ */
64
+ export declare const parallelN: (parallelism: number) => ExecutionStrategy;
65
+ /**
66
+ * Returns `true` if the specified `ExecutionStrategy` is an instance of
67
+ * `Sequential`, `false` otherwise.
68
+ *
69
+ * @since 2.0.0
70
+ * @category refinements
71
+ */
72
+ export declare const isSequential: (self: ExecutionStrategy) => self is Sequential;
73
+ /**
74
+ * Returns `true` if the specified `ExecutionStrategy` is an instance of
75
+ * `Sequential`, `false` otherwise.
76
+ *
77
+ * @since 2.0.0
78
+ * @category refinements
79
+ */
80
+ export declare const isParallel: (self: ExecutionStrategy) => self is Parallel;
81
+ /**
82
+ * Returns `true` if the specified `ExecutionStrategy` is an instance of
83
+ * `Sequential`, `false` otherwise.
84
+ *
85
+ * @since 2.0.0
86
+ * @category refinements
87
+ */
88
+ export declare const isParallelN: (self: ExecutionStrategy) => self is ParallelN;
89
+ /**
90
+ * Folds over the specified `ExecutionStrategy` using the provided case
91
+ * functions.
92
+ *
93
+ * @since 2.0.0
94
+ * @category folding
95
+ */
96
+ export declare const match: {
97
+ /**
98
+ * Folds over the specified `ExecutionStrategy` using the provided case
99
+ * functions.
100
+ *
101
+ * @since 2.0.0
102
+ * @category folding
103
+ */
104
+ <A>(options: {
105
+ readonly onSequential: LazyArg<A>;
106
+ readonly onParallel: LazyArg<A>;
107
+ readonly onParallelN: (n: number) => A;
108
+ }): (self: ExecutionStrategy) => A;
109
+ /**
110
+ * Folds over the specified `ExecutionStrategy` using the provided case
111
+ * functions.
112
+ *
113
+ * @since 2.0.0
114
+ * @category folding
115
+ */
116
+ <A>(self: ExecutionStrategy, options: {
117
+ readonly onSequential: LazyArg<A>;
118
+ readonly onParallel: LazyArg<A>;
119
+ readonly onParallelN: (n: number) => A;
120
+ }): A;
121
+ };
122
+ //# sourceMappingURL=ExecutionStrategy.d.ts.map
backend/node_modules/effect/dist/dts/FastCheck.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"FastCheck.d.ts","sourceRoot":"","sources":["../../src/FastCheck.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,cAAc,YAAY,CAAA"}
backend/node_modules/effect/dist/dts/Fiber.d.ts ADDED
@@ -0,0 +1,831 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Cause from "./Cause.js";
5
+ import type { Context } from "./Context.js";
6
+ import type { DefaultServices } from "./DefaultServices.js";
7
+ import type * as Effect from "./Effect.js";
8
+ import type * as Either from "./Either.js";
9
+ import type * as Exit from "./Exit.js";
10
+ import type * as FiberId from "./FiberId.js";
11
+ import type { FiberRef } from "./FiberRef.js";
12
+ import type * as FiberRefs from "./FiberRefs.js";
13
+ import type * as FiberStatus from "./FiberStatus.js";
14
+ import type * as HashSet from "./HashSet.js";
15
+ import type * as Option from "./Option.js";
16
+ import type * as order from "./Order.js";
17
+ import type * as RuntimeFlags from "./RuntimeFlags.js";
18
+ import type { Scheduler } from "./Scheduler.js";
19
+ import type * as Scope from "./Scope.js";
20
+ import type { Supervisor } from "./Supervisor.js";
21
+ import type { AnySpan, Tracer } from "./Tracer.js";
22
+ import type * as Types from "./Types.js";
23
+ import type * as Unify from "./Unify.js";
24
+ /**
25
+ * @since 2.0.0
26
+ * @category symbols
27
+ */
28
+ export declare const FiberTypeId: unique symbol;
29
+ /**
30
+ * @since 2.0.0
31
+ * @category symbols
32
+ */
33
+ export type FiberTypeId = typeof FiberTypeId;
34
+ /**
35
+ * @since 2.0.0
36
+ * @category symbols
37
+ */
38
+ export declare const RuntimeFiberTypeId: unique symbol;
39
+ /**
40
+ * @since 2.0.0
41
+ * @category symbols
42
+ */
43
+ export type RuntimeFiberTypeId = typeof RuntimeFiberTypeId;
44
+ /**
45
+ * A fiber is a lightweight thread of execution that never consumes more than a
46
+ * whole thread (but may consume much less, depending on contention and
47
+ * asynchronicity). Fibers are spawned by forking effects, which run
48
+ * concurrently with the parent effect.
49
+ *
50
+ * Fibers can be joined, yielding their result to other fibers, or interrupted,
51
+ * which terminates the fiber, safely releasing all resources.
52
+ *
53
+ * @since 2.0.0
54
+ * @category models
55
+ */
56
+ export interface Fiber<out A, out E = never> extends Effect.Effect<A, E>, Fiber.Variance<A, E> {
57
+ /**
58
+ * The identity of the fiber.
59
+ */
60
+ id(): FiberId.FiberId;
61
+ /**
62
+ * Awaits the fiber, which suspends the awaiting fiber until the result of the
63
+ * fiber has been determined.
64
+ */
65
+ readonly await: Effect.Effect<Exit.Exit<A, E>>;
66
+ /**
67
+ * Retrieves the immediate children of the fiber.
68
+ */
69
+ readonly children: Effect.Effect<Array<Fiber.Runtime<any, any>>>;
70
+ /**
71
+ * Inherits values from all `FiberRef` instances into current fiber. This
72
+ * will resume immediately.
73
+ */
74
+ readonly inheritAll: Effect.Effect<void>;
75
+ /**
76
+ * Tentatively observes the fiber, but returns immediately if it is not
77
+ * already done.
78
+ */
79
+ readonly poll: Effect.Effect<Option.Option<Exit.Exit<A, E>>>;
80
+ /**
81
+ * In the background, interrupts the fiber as if interrupted from the
82
+ * specified fiber. If the fiber has already exited, the returned effect will
83
+ * resume immediately. Otherwise, the effect will resume when the fiber exits.
84
+ */
85
+ interruptAsFork(fiberId: FiberId.FiberId): Effect.Effect<void>;
86
+ readonly [Unify.typeSymbol]?: unknown;
87
+ readonly [Unify.unifySymbol]?: FiberUnify<this>;
88
+ readonly [Unify.ignoreSymbol]?: FiberUnifyIgnore;
89
+ }
90
+ /**
91
+ * @category models
92
+ * @since 3.8.0
93
+ */
94
+ export interface FiberUnify<A extends {
95
+ [Unify.typeSymbol]?: any;
96
+ }> extends Effect.EffectUnify<A> {
97
+ Fiber?: () => A[Unify.typeSymbol] extends Fiber<infer A0, infer E0> | infer _ ? Fiber<A0, E0> : never;
98
+ }
99
+ /**
100
+ * @category models
101
+ * @since 3.8.0
102
+ */
103
+ export interface FiberUnifyIgnore extends Effect.EffectUnifyIgnore {
104
+ Effect?: true;
105
+ }
106
+ /**
107
+ * A runtime fiber that is executing an effect. Runtime fibers have an
108
+ * identity and a trace.
109
+ *
110
+ * @since 2.0.0
111
+ * @category models
112
+ */
113
+ export interface RuntimeFiber<out A, out E = never> extends Fiber<A, E>, Fiber.RuntimeVariance<A, E> {
114
+ /**
115
+ * Reads the current number of ops that have occurred since the last yield
116
+ */
117
+ get currentOpCount(): number;
118
+ /**
119
+ * Reads the current value of a fiber ref
120
+ */
121
+ getFiberRef<X>(fiberRef: FiberRef<X>): X;
122
+ /**
123
+ * The identity of the fiber.
124
+ */
125
+ id(): FiberId.Runtime;
126
+ /**
127
+ * The status of the fiber.
128
+ */
129
+ readonly status: Effect.Effect<FiberStatus.FiberStatus>;
130
+ /**
131
+ * Returns the current `RuntimeFlags` the fiber is running with.
132
+ */
133
+ readonly runtimeFlags: Effect.Effect<RuntimeFlags.RuntimeFlags>;
134
+ /**
135
+ * Adds an observer to the list of observers.
136
+ */
137
+ addObserver(observer: (exit: Exit.Exit<A, E>) => void): void;
138
+ /**
139
+ * Removes the specified observer from the list of observers that will be
140
+ * notified when the fiber exits.
141
+ */
142
+ removeObserver(observer: (exit: Exit.Exit<A, E>) => void): void;
143
+ /**
144
+ * Retrieves all fiber refs of the fiber.
145
+ */
146
+ getFiberRefs(): FiberRefs.FiberRefs;
147
+ /**
148
+ * Unsafely observes the fiber, but returns immediately if it is not
149
+ * already done.
150
+ */
151
+ unsafePoll(): Exit.Exit<A, E> | null;
152
+ /**
153
+ * In the background, interrupts the fiber as if interrupted from the
154
+ * specified fiber. If the fiber has already exited, the returned effect will
155
+ * resume immediately. Otherwise, the effect will resume when the fiber exits.
156
+ */
157
+ unsafeInterruptAsFork(fiberId: FiberId.FiberId): void;
158
+ /**
159
+ * Gets the current context
160
+ */
161
+ get currentContext(): Context<never>;
162
+ /**
163
+ * Gets the current context
164
+ */
165
+ get currentDefaultServices(): Context<DefaultServices>;
166
+ /**
167
+ * Gets the current scheduler
168
+ */
169
+ get currentScheduler(): Scheduler;
170
+ /**
171
+ * Gets the current tracer
172
+ */
173
+ get currentTracer(): Tracer;
174
+ /**
175
+ * Gets the current span
176
+ */
177
+ get currentSpan(): AnySpan | undefined;
178
+ /**
179
+ * Gets the current supervisor
180
+ */
181
+ get currentSupervisor(): Supervisor<unknown>;
182
+ readonly [Unify.typeSymbol]?: unknown;
183
+ readonly [Unify.unifySymbol]?: RuntimeFiberUnify<this>;
184
+ readonly [Unify.ignoreSymbol]?: RuntimeFiberUnifyIgnore;
185
+ }
186
+ /**
187
+ * @category models
188
+ * @since 3.8.0
189
+ */
190
+ export interface RuntimeFiberUnify<A extends {
191
+ [Unify.typeSymbol]?: any;
192
+ }> extends FiberUnify<A> {
193
+ RuntimeFiber?: () => A[Unify.typeSymbol] extends RuntimeFiber<infer A0, infer E0> | infer _ ? RuntimeFiber<A0, E0> : never;
194
+ }
195
+ /**
196
+ * @category models
197
+ * @since 3.8.0
198
+ */
199
+ export interface RuntimeFiberUnifyIgnore extends FiberUnifyIgnore {
200
+ Fiber?: true;
201
+ }
202
+ /**
203
+ * @since 2.0.0
204
+ */
205
+ export declare namespace Fiber {
206
+ /**
207
+ * @since 2.0.0
208
+ * @category models
209
+ */
210
+ type Runtime<A, E = never> = RuntimeFiber<A, E>;
211
+ /**
212
+ * @since 2.0.0
213
+ * @category models
214
+ */
215
+ interface Variance<out A, out E> {
216
+ readonly [FiberTypeId]: {
217
+ readonly _A: Types.Covariant<A>;
218
+ readonly _E: Types.Covariant<E>;
219
+ };
220
+ }
221
+ /**
222
+ * @since 2.0.0
223
+ */
224
+ interface RuntimeVariance<out A, out E> {
225
+ readonly [RuntimeFiberTypeId]: {
226
+ readonly _A: Types.Covariant<A>;
227
+ readonly _E: Types.Covariant<E>;
228
+ };
229
+ }
230
+ /**
231
+ * @since 2.0.0
232
+ * @category models
233
+ */
234
+ interface Dump {
235
+ /**
236
+ * The fiber's unique identifier.
237
+ */
238
+ readonly id: FiberId.Runtime;
239
+ /**
240
+ * The status of the fiber.
241
+ */
242
+ readonly status: FiberStatus.FiberStatus;
243
+ }
244
+ /**
245
+ * A record containing information about a `Fiber`.
246
+ *
247
+ * @since 2.0.0
248
+ * @category models
249
+ */
250
+ interface Descriptor {
251
+ /**
252
+ * The fiber's unique identifier.
253
+ */
254
+ readonly id: FiberId.FiberId;
255
+ /**
256
+ * The status of the fiber.
257
+ */
258
+ readonly status: FiberStatus.FiberStatus;
259
+ /**
260
+ * The set of fibers attempting to interrupt the fiber or its ancestors.
261
+ */
262
+ readonly interruptors: HashSet.HashSet<FiberId.FiberId>;
263
+ }
264
+ }
265
+ /**
266
+ * @since 2.0.0
267
+ * @category instances
268
+ */
269
+ export declare const Order: order.Order<RuntimeFiber<unknown, unknown>>;
270
+ /**
271
+ * Returns `true` if the specified value is a `Fiber`, `false` otherwise.
272
+ *
273
+ * @since 2.0.0
274
+ * @category refinements
275
+ */
276
+ export declare const isFiber: (u: unknown) => u is Fiber<unknown, unknown>;
277
+ /**
278
+ * Returns `true` if the specified `Fiber` is a `RuntimeFiber`, `false`
279
+ * otherwise.
280
+ *
281
+ * @since 2.0.0
282
+ * @category refinements
283
+ */
284
+ export declare const isRuntimeFiber: <A, E>(self: Fiber<A, E>) => self is RuntimeFiber<A, E>;
285
+ /**
286
+ * The identity of the fiber.
287
+ *
288
+ * @since 2.0.0
289
+ * @category getters
290
+ */
291
+ export declare const id: <A, E>(self: Fiber<A, E>) => FiberId.FiberId;
292
+ declare const _await: <A, E>(self: Fiber<A, E>) => Effect.Effect<Exit.Exit<A, E>>;
293
+ export {
294
+ /**
295
+ * Awaits the fiber, which suspends the awaiting fiber until the result of the
296
+ * fiber has been determined.
297
+ *
298
+ * @since 2.0.0
299
+ * @category getters
300
+ */
301
+ _await as await };
302
+ /**
303
+ * Awaits on all fibers to be completed, successfully or not.
304
+ *
305
+ * @since 2.0.0
306
+ * @category destructors
307
+ */
308
+ export declare const awaitAll: <const T extends Iterable<Fiber<any, any>>>(fibers: T) => Effect.Effect<[
309
+ T
310
+ ] extends [ReadonlyArray<infer U>] ? number extends T["length"] ? Array<U extends Fiber<infer A, infer E> ? Exit.Exit<A, E> : never> : {
311
+ -readonly [K in keyof T]: T[K] extends Fiber<infer A, infer E> ? Exit.Exit<A, E> : never;
312
+ } : Array<T extends Iterable<infer U> ? U extends Fiber<infer A, infer E> ? Exit.Exit<A, E> : never : never>>;
313
+ /**
314
+ * Retrieves the immediate children of the fiber.
315
+ *
316
+ * @since 2.0.0
317
+ * @category getters
318
+ */
319
+ export declare const children: <A, E>(self: Fiber<A, E>) => Effect.Effect<Array<RuntimeFiber<any, any>>>;
320
+ /**
321
+ * Collects all fibers into a single fiber producing an in-order list of the
322
+ * results.
323
+ *
324
+ * @since 2.0.0
325
+ * @category constructors
326
+ */
327
+ export declare const all: <A, E>(fibers: Iterable<Fiber<A, E>>) => Fiber<ReadonlyArray<A>, E>;
328
+ /**
329
+ * A fiber that is done with the specified `Exit` value.
330
+ *
331
+ * @since 2.0.0
332
+ * @category constructors
333
+ */
334
+ export declare const done: <A, E>(exit: Exit.Exit<A, E>) => Fiber<A, E>;
335
+ /**
336
+ * @since 2.0.0
337
+ * @category destructors
338
+ */
339
+ export declare const dump: <A, E>(self: RuntimeFiber<A, E>) => Effect.Effect<Fiber.Dump>;
340
+ /**
341
+ * @since 2.0.0
342
+ * @category destructors
343
+ */
344
+ export declare const dumpAll: (fibers: Iterable<RuntimeFiber<unknown, unknown>>) => Effect.Effect<Array<Fiber.Dump>>;
345
+ /**
346
+ * A fiber that has already failed with the specified value.
347
+ *
348
+ * @since 2.0.0
349
+ * @category constructors
350
+ */
351
+ export declare const fail: <E>(error: E) => Fiber<never, E>;
352
+ /**
353
+ * Creates a `Fiber` that has already failed with the specified cause.
354
+ *
355
+ * @since 2.0.0
356
+ * @category constructors
357
+ */
358
+ export declare const failCause: <E>(cause: Cause.Cause<E>) => Fiber<never, E>;
359
+ /**
360
+ * Lifts an `Effect` into a `Fiber`.
361
+ *
362
+ * @since 2.0.0
363
+ * @category conversions
364
+ */
365
+ export declare const fromEffect: <A, E>(effect: Effect.Effect<A, E>) => Effect.Effect<Fiber<A, E>>;
366
+ /**
367
+ * Gets the current fiber if one is running.
368
+ *
369
+ * @since 2.0.0
370
+ * @category utilities
371
+ */
372
+ export declare const getCurrentFiber: () => Option.Option<RuntimeFiber<any, any>>;
373
+ /**
374
+ * Inherits values from all `FiberRef` instances into current fiber. This
375
+ * will resume immediately.
376
+ *
377
+ * @since 2.0.0
378
+ * @category destructors
379
+ */
380
+ export declare const inheritAll: <A, E>(self: Fiber<A, E>) => Effect.Effect<void>;
381
+ /**
382
+ * Interrupts the fiber from whichever fiber is calling this method. If the
383
+ * fiber has already exited, the returned effect will resume immediately.
384
+ * Otherwise, the effect will resume when the fiber exits.
385
+ *
386
+ * @since 2.0.0
387
+ * @category interruption
388
+ */
389
+ export declare const interrupt: <A, E>(self: Fiber<A, E>) => Effect.Effect<Exit.Exit<A, E>>;
390
+ /**
391
+ * Constructrs a `Fiber` that is already interrupted.
392
+ *
393
+ * @since 2.0.0
394
+ * @category constructors
395
+ */
396
+ export declare const interrupted: (fiberId: FiberId.FiberId) => Fiber<never>;
397
+ /**
398
+ * Interrupts the fiber as if interrupted from the specified fiber. If the
399
+ * fiber has already exited, the returned effect will resume immediately.
400
+ * Otherwise, the effect will resume when the fiber exits.
401
+ *
402
+ * @since 2.0.0
403
+ * @category interruption
404
+ */
405
+ export declare const interruptAs: {
406
+ /**
407
+ * Interrupts the fiber as if interrupted from the specified fiber. If the
408
+ * fiber has already exited, the returned effect will resume immediately.
409
+ * Otherwise, the effect will resume when the fiber exits.
410
+ *
411
+ * @since 2.0.0
412
+ * @category interruption
413
+ */
414
+ (fiberId: FiberId.FiberId): <A, E>(self: Fiber<A, E>) => Effect.Effect<Exit.Exit<A, E>>;
415
+ /**
416
+ * Interrupts the fiber as if interrupted from the specified fiber. If the
417
+ * fiber has already exited, the returned effect will resume immediately.
418
+ * Otherwise, the effect will resume when the fiber exits.
419
+ *
420
+ * @since 2.0.0
421
+ * @category interruption
422
+ */
423
+ <A, E>(self: Fiber<A, E>, fiberId: FiberId.FiberId): Effect.Effect<Exit.Exit<A, E>>;
424
+ };
425
+ /**
426
+ * Interrupts the fiber as if interrupted from the specified fiber. If the
427
+ * fiber has already exited, the returned effect will resume immediately.
428
+ * Otherwise, the effect will resume when the fiber exits.
429
+ *
430
+ * @since 2.0.0
431
+ * @category interruption
432
+ */
433
+ export declare const interruptAsFork: {
434
+ /**
435
+ * Interrupts the fiber as if interrupted from the specified fiber. If the
436
+ * fiber has already exited, the returned effect will resume immediately.
437
+ * Otherwise, the effect will resume when the fiber exits.
438
+ *
439
+ * @since 2.0.0
440
+ * @category interruption
441
+ */
442
+ (fiberId: FiberId.FiberId): <A, E>(self: Fiber<A, E>) => Effect.Effect<void>;
443
+ /**
444
+ * Interrupts the fiber as if interrupted from the specified fiber. If the
445
+ * fiber has already exited, the returned effect will resume immediately.
446
+ * Otherwise, the effect will resume when the fiber exits.
447
+ *
448
+ * @since 2.0.0
449
+ * @category interruption
450
+ */
451
+ <A, E>(self: Fiber<A, E>, fiberId: FiberId.FiberId): Effect.Effect<void>;
452
+ };
453
+ /**
454
+ * Interrupts all fibers, awaiting their interruption.
455
+ *
456
+ * @since 2.0.0
457
+ * @category interruption
458
+ */
459
+ export declare const interruptAll: (fibers: Iterable<Fiber<any, any>>) => Effect.Effect<void>;
460
+ /**
461
+ * Interrupts all fibers as by the specified fiber, awaiting their
462
+ * interruption.
463
+ *
464
+ * @since 2.0.0
465
+ * @category interruption
466
+ */
467
+ export declare const interruptAllAs: {
468
+ /**
469
+ * Interrupts all fibers as by the specified fiber, awaiting their
470
+ * interruption.
471
+ *
472
+ * @since 2.0.0
473
+ * @category interruption
474
+ */
475
+ (fiberId: FiberId.FiberId): (fibers: Iterable<Fiber<any, any>>) => Effect.Effect<void>;
476
+ /**
477
+ * Interrupts all fibers as by the specified fiber, awaiting their
478
+ * interruption.
479
+ *
480
+ * @since 2.0.0
481
+ * @category interruption
482
+ */
483
+ (fibers: Iterable<Fiber<any, any>>, fiberId: FiberId.FiberId): Effect.Effect<void>;
484
+ };
485
+ /**
486
+ * Interrupts the fiber from whichever fiber is calling this method. The
487
+ * interruption will happen in a separate daemon fiber, and the returned
488
+ * effect will always resume immediately without waiting.
489
+ *
490
+ * @since 2.0.0
491
+ * @category interruption
492
+ */
493
+ export declare const interruptFork: <A, E>(self: Fiber<A, E>) => Effect.Effect<void>;
494
+ /**
495
+ * Joins the fiber, which suspends the joining fiber until the result of the
496
+ * fiber has been determined. Attempting to join a fiber that has erred will
497
+ * result in a catchable error. Joining an interrupted fiber will result in an
498
+ * "inner interruption" of this fiber, unlike interruption triggered by
499
+ * another fiber, "inner interruption" can be caught and recovered.
500
+ *
501
+ * @since 2.0.0
502
+ * @category destructors
503
+ */
504
+ export declare const join: <A, E>(self: Fiber<A, E>) => Effect.Effect<A, E>;
505
+ /**
506
+ * Joins all fibers, awaiting their _successful_ completion. Attempting to
507
+ * join a fiber that has erred will result in a catchable error, _if_ that
508
+ * error does not result from interruption.
509
+ *
510
+ * @since 2.0.0
511
+ * @category destructors
512
+ */
513
+ export declare const joinAll: <A, E>(fibers: Iterable<Fiber<A, E>>) => Effect.Effect<Array<A>, E>;
514
+ /**
515
+ * Maps over the value the Fiber computes.
516
+ *
517
+ * @since 2.0.0
518
+ * @category mapping
519
+ */
520
+ export declare const map: {
521
+ /**
522
+ * Maps over the value the Fiber computes.
523
+ *
524
+ * @since 2.0.0
525
+ * @category mapping
526
+ */
527
+ <A, B>(f: (a: A) => B): <E>(self: Fiber<A, E>) => Fiber<B, E>;
528
+ /**
529
+ * Maps over the value the Fiber computes.
530
+ *
531
+ * @since 2.0.0
532
+ * @category mapping
533
+ */
534
+ <A, E, B>(self: Fiber<A, E>, f: (a: A) => B): Fiber<B, E>;
535
+ };
536
+ /**
537
+ * Effectually maps over the value the fiber computes.
538
+ *
539
+ * @since 2.0.0
540
+ * @category mapping
541
+ */
542
+ export declare const mapEffect: {
543
+ /**
544
+ * Effectually maps over the value the fiber computes.
545
+ *
546
+ * @since 2.0.0
547
+ * @category mapping
548
+ */
549
+ <A, A2, E2>(f: (a: A) => Effect.Effect<A2, E2>): <E>(self: Fiber<A, E>) => Fiber<A2, E2 | E>;
550
+ /**
551
+ * Effectually maps over the value the fiber computes.
552
+ *
553
+ * @since 2.0.0
554
+ * @category mapping
555
+ */
556
+ <A, E, A2, E2>(self: Fiber<A, E>, f: (a: A) => Effect.Effect<A2, E2>): Fiber<A2, E | E2>;
557
+ };
558
+ /**
559
+ * Passes the success of this fiber to the specified callback, and continues
560
+ * with the fiber that it returns.
561
+ *
562
+ * @since 2.0.0
563
+ * @category mapping
564
+ */
565
+ export declare const mapFiber: {
566
+ /**
567
+ * Passes the success of this fiber to the specified callback, and continues
568
+ * with the fiber that it returns.
569
+ *
570
+ * @since 2.0.0
571
+ * @category mapping
572
+ */
573
+ <E, E2, A, B>(f: (a: A) => Fiber<B, E2>): (self: Fiber<A, E>) => Effect.Effect<Fiber<B, E | E2>>;
574
+ /**
575
+ * Passes the success of this fiber to the specified callback, and continues
576
+ * with the fiber that it returns.
577
+ *
578
+ * @since 2.0.0
579
+ * @category mapping
580
+ */
581
+ <A, E, E2, B>(self: Fiber<A, E>, f: (a: A) => Fiber<B, E2>): Effect.Effect<Fiber<B, E | E2>>;
582
+ };
583
+ /**
584
+ * Folds over the `Fiber` or `RuntimeFiber`.
585
+ *
586
+ * @since 2.0.0
587
+ * @category folding
588
+ */
589
+ export declare const match: {
590
+ /**
591
+ * Folds over the `Fiber` or `RuntimeFiber`.
592
+ *
593
+ * @since 2.0.0
594
+ * @category folding
595
+ */
596
+ <A, E, Z>(options: {
597
+ readonly onFiber: (fiber: Fiber<A, E>) => Z;
598
+ readonly onRuntimeFiber: (fiber: RuntimeFiber<A, E>) => Z;
599
+ }): (self: Fiber<A, E>) => Z;
600
+ /**
601
+ * Folds over the `Fiber` or `RuntimeFiber`.
602
+ *
603
+ * @since 2.0.0
604
+ * @category folding
605
+ */
606
+ <A, E, Z>(self: Fiber<A, E>, options: {
607
+ readonly onFiber: (fiber: Fiber<A, E>) => Z;
608
+ readonly onRuntimeFiber: (fiber: RuntimeFiber<A, E>) => Z;
609
+ }): Z;
610
+ };
611
+ /**
612
+ * A fiber that never fails or succeeds.
613
+ *
614
+ * @since 2.0.0
615
+ * @category constructors
616
+ */
617
+ export declare const never: Fiber<never>;
618
+ /**
619
+ * Returns a fiber that prefers `this` fiber, but falls back to the `that` one
620
+ * when `this` one fails. Interrupting the returned fiber will interrupt both
621
+ * fibers, sequentially, from left to right.
622
+ *
623
+ * @since 2.0.0
624
+ * @category alternatives
625
+ */
626
+ export declare const orElse: {
627
+ /**
628
+ * Returns a fiber that prefers `this` fiber, but falls back to the `that` one
629
+ * when `this` one fails. Interrupting the returned fiber will interrupt both
630
+ * fibers, sequentially, from left to right.
631
+ *
632
+ * @since 2.0.0
633
+ * @category alternatives
634
+ */
635
+ <A2, E2>(that: Fiber<A2, E2>): <A, E>(self: Fiber<A, E>) => Fiber<A2 | A, E2 | E>;
636
+ /**
637
+ * Returns a fiber that prefers `this` fiber, but falls back to the `that` one
638
+ * when `this` one fails. Interrupting the returned fiber will interrupt both
639
+ * fibers, sequentially, from left to right.
640
+ *
641
+ * @since 2.0.0
642
+ * @category alternatives
643
+ */
644
+ <A, E, A2, E2>(self: Fiber<A, E>, that: Fiber<A2, E2>): Fiber<A | A2, E | E2>;
645
+ };
646
+ /**
647
+ * Returns a fiber that prefers `this` fiber, but falls back to the `that` one
648
+ * when `this` one fails. Interrupting the returned fiber will interrupt both
649
+ * fibers, sequentially, from left to right.
650
+ *
651
+ * @since 2.0.0
652
+ * @category alternatives
653
+ */
654
+ export declare const orElseEither: {
655
+ /**
656
+ * Returns a fiber that prefers `this` fiber, but falls back to the `that` one
657
+ * when `this` one fails. Interrupting the returned fiber will interrupt both
658
+ * fibers, sequentially, from left to right.
659
+ *
660
+ * @since 2.0.0
661
+ * @category alternatives
662
+ */
663
+ <A2, E2>(that: Fiber<A2, E2>): <A, E>(self: Fiber<A, E>) => Fiber<Either.Either<A2, A>, E2 | E>;
664
+ /**
665
+ * Returns a fiber that prefers `this` fiber, but falls back to the `that` one
666
+ * when `this` one fails. Interrupting the returned fiber will interrupt both
667
+ * fibers, sequentially, from left to right.
668
+ *
669
+ * @since 2.0.0
670
+ * @category alternatives
671
+ */
672
+ <A, E, A2, E2>(self: Fiber<A, E>, that: Fiber<A2, E2>): Fiber<Either.Either<A2, A>, E | E2>;
673
+ };
674
+ /**
675
+ * Tentatively observes the fiber, but returns immediately if it is not
676
+ * already done.
677
+ *
678
+ * @since 2.0.0
679
+ * @category getters
680
+ */
681
+ export declare const poll: <A, E>(self: Fiber<A, E>) => Effect.Effect<Option.Option<Exit.Exit<A, E>>>;
682
+ /**
683
+ * Pretty-prints a `RuntimeFiber`.
684
+ *
685
+ * @since 2.0.0
686
+ * @category destructors
687
+ */
688
+ export declare const pretty: <A, E>(self: RuntimeFiber<A, E>) => Effect.Effect<string>;
689
+ /**
690
+ * Returns a chunk containing all root fibers.
691
+ *
692
+ * @since 2.0.0
693
+ * @category constructors
694
+ */
695
+ export declare const roots: Effect.Effect<Array<RuntimeFiber<any, any>>>;
696
+ /**
697
+ * Returns a chunk containing all root fibers.
698
+ *
699
+ * @since 2.0.0
700
+ * @category constructors
701
+ */
702
+ export declare const unsafeRoots: (_: void) => Array<RuntimeFiber<any, any>>;
703
+ /**
704
+ * Converts this fiber into a scoped effect. The fiber is interrupted when the
705
+ * scope is closed.
706
+ *
707
+ * @since 2.0.0
708
+ * @category destructors
709
+ */
710
+ export declare const scoped: <A, E>(self: Fiber<A, E>) => Effect.Effect<Fiber<A, E>, never, Scope.Scope>;
711
+ /**
712
+ * Returns the `FiberStatus` of a `RuntimeFiber`.
713
+ *
714
+ * @since 2.0.0
715
+ * @category getters
716
+ */
717
+ export declare const status: <A, E>(self: RuntimeFiber<A, E>) => Effect.Effect<FiberStatus.FiberStatus>;
718
+ /**
719
+ * Returns a fiber that has already succeeded with the specified value.
720
+ *
721
+ * @since 2.0.0
722
+ * @category constructors
723
+ */
724
+ export declare const succeed: <A>(value: A) => Fiber<A>;
725
+ declare const void_: Fiber<void>;
726
+ export {
727
+ /**
728
+ * A fiber that has already succeeded with unit.
729
+ *
730
+ * @since 2.0.0
731
+ * @category constructors
732
+ */
733
+ void_ as void };
734
+ /**
735
+ * Zips this fiber and the specified fiber together, producing a tuple of
736
+ * their output.
737
+ *
738
+ * @since 2.0.0
739
+ * @category zipping
740
+ */
741
+ export declare const zip: {
742
+ /**
743
+ * Zips this fiber and the specified fiber together, producing a tuple of
744
+ * their output.
745
+ *
746
+ * @since 2.0.0
747
+ * @category zipping
748
+ */
749
+ <A2, E2>(that: Fiber<A2, E2>): <A, E>(self: Fiber<A, E>) => Fiber<[A, A2], E2 | E>;
750
+ /**
751
+ * Zips this fiber and the specified fiber together, producing a tuple of
752
+ * their output.
753
+ *
754
+ * @since 2.0.0
755
+ * @category zipping
756
+ */
757
+ <A, E, A2, E2>(self: Fiber<A, E>, that: Fiber<A2, E2>): Fiber<[A, A2], E | E2>;
758
+ };
759
+ /**
760
+ * Same as `zip` but discards the output of that `Fiber`.
761
+ *
762
+ * @since 2.0.0
763
+ * @category zipping
764
+ */
765
+ export declare const zipLeft: {
766
+ /**
767
+ * Same as `zip` but discards the output of that `Fiber`.
768
+ *
769
+ * @since 2.0.0
770
+ * @category zipping
771
+ */
772
+ <A2, E2>(that: Fiber<A2, E2>): <A, E>(self: Fiber<A, E>) => Fiber<A, E2 | E>;
773
+ /**
774
+ * Same as `zip` but discards the output of that `Fiber`.
775
+ *
776
+ * @since 2.0.0
777
+ * @category zipping
778
+ */
779
+ <A, E, A2, E2>(self: Fiber<A, E>, that: Fiber<A2, E2>): Fiber<A, E | E2>;
780
+ };
781
+ /**
782
+ * Same as `zip` but discards the output of this `Fiber`.
783
+ *
784
+ * @since 2.0.0
785
+ * @category zipping
786
+ */
787
+ export declare const zipRight: {
788
+ /**
789
+ * Same as `zip` but discards the output of this `Fiber`.
790
+ *
791
+ * @since 2.0.0
792
+ * @category zipping
793
+ */
794
+ <A2, E2>(that: Fiber<A2, E2>): <A, E>(self: Fiber<A, E>) => Fiber<A2, E2 | E>;
795
+ /**
796
+ * Same as `zip` but discards the output of this `Fiber`.
797
+ *
798
+ * @since 2.0.0
799
+ * @category zipping
800
+ */
801
+ <A, E, A2, E2>(self: Fiber<A, E>, that: Fiber<A2, E2>): Fiber<A2, E | E2>;
802
+ };
803
+ /**
804
+ * Zips this fiber with the specified fiber, combining their results using the
805
+ * specified combiner function. Both joins and interruptions are performed in
806
+ * sequential order from left to right.
807
+ *
808
+ * @since 2.0.0
809
+ * @category zipping
810
+ */
811
+ export declare const zipWith: {
812
+ /**
813
+ * Zips this fiber with the specified fiber, combining their results using the
814
+ * specified combiner function. Both joins and interruptions are performed in
815
+ * sequential order from left to right.
816
+ *
817
+ * @since 2.0.0
818
+ * @category zipping
819
+ */
820
+ <B, E2, A, C>(that: Fiber<B, E2>, f: (a: A, b: B) => C): <E>(self: Fiber<A, E>) => Fiber<C, E2 | E>;
821
+ /**
822
+ * Zips this fiber with the specified fiber, combining their results using the
823
+ * specified combiner function. Both joins and interruptions are performed in
824
+ * sequential order from left to right.
825
+ *
826
+ * @since 2.0.0
827
+ * @category zipping
828
+ */
829
+ <A, E, B, E2, C>(self: Fiber<A, E>, that: Fiber<B, E2>, f: (a: A, b: B) => C): Fiber<C, E | E2>;
830
+ };
831
+ //# sourceMappingURL=Fiber.d.ts.map
backend/node_modules/effect/dist/dts/Fiber.d.ts.map ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":3,"file":"Fiber.d.ts","sourceRo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C,EAAE,CAAC,CAAC,KAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CACb,CAAA;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,KAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAM5E,CAAA"}
backend/node_modules/effect/dist/dts/FiberId.d.ts ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @since 2.0.0
3
+ */
4
+ import type * as Equal from "./Equal.js";
5
+ import type * as HashSet from "./HashSet.js";
6
+ import type { Inspectable } from "./Inspectable.js";
7
+ import type * as Option from "./Option.js";
8
+ /**
9
+ * @since 2.0.0
10
+ * @category symbols
11
+ */
12
+ export declare const FiberIdTypeId: unique symbol;
13
+ /**
14
+ * @since 2.0.0
15
+ * @category symbols
16
+ */
17
+ export type FiberIdTypeId = typeof FiberIdTypeId;
18
+ /**
19
+ * @since 2.0.0
20
+ * @category models
21
+ */
22
+ export type Single = None | Runtime;
23
+ /**
24
+ * @since 2.0.0
25
+ * @category models
26
+ */
27
+ export type FiberId = Single | Composite;
28
+ /**
29
+ * @since 2.0.0
30
+ * @category models
31
+ */
32
+ export interface None extends Equal.Equal, Inspectable {
33
+ readonly [FiberIdTypeId]: FiberIdTypeId;
34
+ readonly _tag: "None";
35
+ readonly id: -1;
36
+ readonly startTimeMillis: -1;
37
+ }
38
+ /**
39
+ * @since 2.0.0
40
+ * @category models
41
+ */
42
+ export interface Runtime extends Equal.Equal, Inspectable {
43
+ readonly [FiberIdTypeId]: FiberIdTypeId;
44
+ readonly _tag: "Runtime";
45
+ readonly id: number;
46
+ readonly startTimeMillis: number;
47
+ }
48
+ /**
49
+ * @since 2.0.0
50
+ * @category models
51
+ */
52
+ export interface Composite extends Equal.Equal, Inspectable {
53
+ readonly [FiberIdTypeId]: FiberIdTypeId;
54
+ readonly _tag: "Composite";
55
+ readonly left: FiberId;
56
+ readonly right: FiberId;
57
+ }
58
+ /**
59
+ * @since 2.0.0
60
+ * @category constructors
61
+ */
62
+ export declare const none: None;
63
+ /**
64
+ * @since 2.0.0
65
+ * @category constructors
66
+ */
67
+ export declare const runtime: (id: number, startTimeMillis: number) => Runtime;
68
+ /**
69
+ * @since 2.0.0
70
+ * @category constructors
71
+ */
72
+ export declare const composite: (left: FiberId, right: FiberId) => Composite;
73
+ /**
74
+ * Returns `true` if the specified unknown value is a `FiberId`, `false`
75
+ * otherwise.
76
+ *
77
+ * @since 2.0.0
78
+ * @category refinements
79
+ */
80
+ export declare const isFiberId: (self: unknown) => self is FiberId;
81
+ /**
82
+ * Returns `true` if the `FiberId` is a `None`, `false` otherwise.
83
+ *
84
+ * @since 2.0.0
85
+ * @category refinements
86
+ */
87
+ export declare const isNone: (self: FiberId) => self is None;
88
+ /**
89
+ * Returns `true` if the `FiberId` is a `Runtime`, `false` otherwise.
90
+ *
91
+ * @since 2.0.0
92
+ * @category refinements
93
+ */
94
+ export declare const isRuntime: (self: FiberId) => self is Runtime;
95
+ /**
96
+ * Returns `true` if the `FiberId` is a `Composite`, `false` otherwise.
97
+ *
98
+ * @since 2.0.0
99
+ * @category refinements
100
+ */
101
+ export declare const isComposite: (self: FiberId) => self is Composite;
102
+ /**
103
+ * Combine two `FiberId`s.
104
+ *
105
+ * @since 2.0.0
106
+ * @category constructors
107
+ */
108
+ export declare const combine: {
109
+ /**
110
+ * Combine two `FiberId`s.
111
+ *
112
+ * @since 2.0.0
113
+ * @category constructors
114
+ */
115
+ (that: FiberId): (self: FiberId) => FiberId;
116
+ /**
117
+ * Combine two `FiberId`s.
118
+ *
119
+ * @since 2.0.0
120
+ * @category constructors
121
+ */
122
+ (self: FiberId, that: FiberId): FiberId;
123
+ };
124
+ /**
125
+ * Combines a set of `FiberId`s into a single `FiberId`.
126
+ *
127
+ * @since 2.0.0
128
+ * @category constructors
129
+ */
130
+ export declare const combineAll: (fiberIds: HashSet.HashSet<FiberId>) => FiberId;
131
+ /**
132
+ * Returns this `FiberId` if it is not `None`, otherwise returns that `FiberId`.
133
+ *
134
+ * @since 2.0.0
135
+ * @category utils
136
+ */
137
+ export declare const getOrElse: {
138
+ /**
139
+ * Returns this `FiberId` if it is not `None`, otherwise returns that `FiberId`.
140
+ *
141
+ * @since 2.0.0
142
+ * @category utils
143
+ */
144
+ (that: FiberId): (self: FiberId) => FiberId;
145
+ /**
146
+ * Returns this `FiberId` if it is not `None`, otherwise returns that `FiberId`.
147
+ *
148
+ * @since 2.0.0
149
+ * @category utils
150
+ */
151
+ (self: FiberId, that: FiberId): FiberId;
152
+ };
153
+ /**
154
+ * Get the set of identifiers for this `FiberId`.
155
+ *
156
+ * @since 2.0.0
157
+ * @category destructors
158
+ */
159
+ export declare const ids: (self: FiberId) => HashSet.HashSet<number>;
160
+ /**
161
+ * Creates a new `FiberId`.
162
+ *
163
+ * @since 2.0.0
164
+ * @category constructors
165
+ */
166
+ export declare const make: (id: number, startTimeSeconds: number) => FiberId;
167
+ /**
168
+ * Creates a string representing the name of the current thread of execution
169
+ * represented by the specified `FiberId`.
170
+ *
171
+ * @since 2.0.0
172
+ * @category destructors
173
+ */
174
+ export declare const threadName: (self: FiberId) => string;
175
+ /**
176
+ * Convert a `FiberId` into an `Option<FiberId>`.
177
+ *
178
+ * @since 2.0.0
179
+ * @category destructors
180
+ */
181
+ export declare const toOption: (self: FiberId) => Option.Option<FiberId>;
182
+ /**
183
+ * Convert a `FiberId` into a `HashSet<FiberId>`.
184
+ *
185
+ * @since 2.0.0
186
+ * @category destructors
187
+ */
188
+ export declare const toSet: (self: FiberId) => HashSet.HashSet<Runtime>;
189
+ /**
190
+ * Unsafely creates a new `FiberId`.
191
+ *
192
+ * @since 2.0.0
193
+ * @category unsafe
194
+ */
195
+ export declare const unsafeMake: (_: void) => Runtime;
196
+ //# sourceMappingURL=FiberId.d.ts.map