@everyonesoftware/common 5.0.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,809 +1,112 @@
1
+ import { C as CharacterWriteStream, A as AsyncResult, I as Iterable, f as JavascriptIterable, S as SyncResult, c as Iterator, E as EqualFunctions, T as ToStringFunctions, k as Type, g as JavascriptIterator, e as JavascriptAsyncIterator, P as PromiseAsyncResult, a as Comparable, h as JavascriptIteratorResult, b as Comparison, d as JavascriptAsyncIterable } from './characterWriteStream-ogvZec-U.cjs';
2
+ export { J as JavascriptArray, i as JavascriptMap, j as JavascriptSet, l as as, m as asArray, n as asBoolean, o as asFunction, p as asFunctionWithParameterCount, q as asNull, r as asNumber, s as asObject, t as asObjectOrArrayOrNull, u as asString, v as getName, w as getParameterCount, x as getPropertyNames, y as hasFunction, z as hasProperty, B as instanceOf, D as instanceOfType, F as isArray, G as isAsyncIterable, H as isBoolean, K as isFunction, L as isFunctionWithParameterCount, M as isIterable, N as isJavascriptAsyncIterable, O as isJavascriptAsyncIterator, Q as isJavascriptIterable, R as isJavascriptIterator, U as isNull, V as isNumber, W as isObject, X as isObjectOrArrayOrNull, Y as isPromise, Z as isPromiseLike, _ as isString, $ as isUndefined, a0 as isUndefinedOrNull } from './characterWriteStream-ogvZec-U.cjs';
1
3
  import * as http from 'http';
2
4
 
3
- /**
4
- * A collection of parameters that can be passed to an assert error message function.
5
- */
6
- interface AssertMessageParameters {
7
- /**
8
- * The expected state.
9
- */
10
- expected: string;
11
- /**
12
- * The actual state.
13
- */
14
- actual: string;
15
- /**
16
- * A string representation of the expression that produced the actual state.
17
- */
18
- expression?: string;
19
- /**
20
- * A message that describes the failure.
21
- */
22
- message?: string;
23
- }
24
-
25
- /**
26
- * The result of comparing two values.
27
- */
28
- declare enum Comparison {
29
- /**
30
- * The left value is less than the right value.
31
- */
32
- LessThan = 0,
33
- /**
34
- * The two values are equal.
35
- */
36
- Equal = 1,
37
- /**
38
- * The left value is greater than the right value.
39
- */
40
- GreaterThan = 2
41
- }
42
-
43
- /**
44
- * An type that can be compared against another type.
45
- */
46
- declare abstract class Comparable<T> {
47
- protected constructor();
48
- /**
49
- * Compare this value against the provided value.
50
- * @param value The value to compare against.
51
- */
52
- abstract compareTo(value: T): Comparison;
53
- /**
54
- * Get whether this value is less than the provided value.
55
- * @param value The value to compare against.
56
- */
57
- lessThan(value: T): boolean;
58
- /**
59
- * Get whether the left value is less than the right value.
60
- * @param left The left value in the comparison.
61
- * @param right The right value in the comparison.
62
- */
63
- static lessThan<T>(left: Comparable<T>, right: T): boolean;
64
- /**
65
- * Get whether this value is less than or equal to the provided value.
66
- * @param value The value to compare against.
67
- */
68
- lessThanOrEqualTo(value: T): boolean;
69
- /**
70
- * Get whether the left value is less than or equal to the right value.
71
- * @param left The left value in the comparison.
72
- * @param right The right value in the comparison.
73
- */
74
- static lessThanOrEqualTo<T>(left: Comparable<T>, right: T): boolean;
75
- /**
76
- * Get whether this value equals the provided value.
77
- * @param value The value to compare against.
78
- */
79
- equals(value: T): boolean;
80
- /**
81
- * Get whether the left value equals the right value.
82
- * @param left The left value in the comparison.
83
- * @param right The right value in the comparison.
84
- */
85
- static equals<T>(left: Comparable<T>, right: T): boolean;
86
- /**
87
- * Get whether this value is not equal to the provided value.
88
- * @param value The value to compare against.
89
- */
90
- notEquals(value: T): boolean;
91
- /**
92
- * Get whether the left value is not equal to the right value.
93
- * @param left The left value in the comparison.
94
- * @param right The right value in the comparison.
95
- */
96
- static notEquals<T>(left: Comparable<T>, right: T): boolean;
97
- /**
98
- * Get whether this value is greater than or equal to the provided value.
99
- * @param value The value to compare against.
100
- */
101
- greaterThanOrEqualTo(value: T): boolean;
102
- /**
103
- * Get whether the left value is greater than or equal to the right value.
104
- * @param left The left value in the comparison.
105
- * @param right The right value in the comparison.
106
- */
107
- static greaterThanOrEqualTo<T>(left: Comparable<T>, right: T): boolean;
108
- /**
109
- * Get whether this value is greater than the provided value.
110
- * @param value The value to compare against.
111
- */
112
- greaterThan(value: T): boolean;
113
- /**
114
- * Get whether the left value is greater than the right value.
115
- * @param left The left value in the comparison.
116
- * @param right The right value in the comparison.
117
- */
118
- static greaterThan<T>(left: Comparable<T>, right: T): boolean;
119
- }
120
-
121
- declare class SyncResult<T> implements AsyncResult<T> {
122
- private value;
123
- private error;
124
- private constructor();
125
- static create<T>(action: () => T): SyncResult<T>;
126
- static value<T>(value: T): SyncResult<T>;
127
- static error<T>(error: unknown): SyncResult<T>;
128
- await(): T;
129
- then<TResult1 = T, TResult2 = never>(onfullfilled?: ((value: T) => TResult1) | null, onrejected?: ((reason: unknown) => TResult2) | null): SyncResult<TResult1 | TResult2>;
130
- then<TResult1 = T, TResult2 = never>(onfullfilled?: ((value: T) => (TResult1 | PromiseLike<TResult1>)) | null, onrejected?: ((reason: unknown) => (TResult2 | PromiseLike<TResult2>)) | null): SyncResult<TResult1 | TResult2>;
131
- onValue(onValueFunction: (value: T) => void): SyncResult<T>;
132
- onValue(onValueFunction: (value: T) => Promise<void>): PromiseAsyncResult<T>;
133
- catch<TResult = never>(onrejected: (reason: unknown) => TResult): SyncResult<T | TResult>;
134
- catch<TResult = never>(onrejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): SyncResult<T | TResult> | PromiseAsyncResult<T | TResult>;
135
- catch<TError, TResult = never>(errorType: Type<TError>, onrejected: (reason: TError) => TResult): SyncResult<T | TResult>;
136
- catch<TError, TResult = never>(errorType: Type<TError>, onrejected: (reason: TError) => PromiseLike<TResult>): PromiseAsyncResult<T | TResult>;
137
- onError(onErrorFunction: (reason: unknown) => void): SyncResult<T>;
138
- onError(onErrorFunction: (reason: unknown) => PromiseLike<void>): PromiseAsyncResult<T>;
139
- onError<TError>(errorType: Type<TError>, onErrorFunction: (reason: TError) => void): SyncResult<T>;
140
- onError<TError>(errorType: Type<TError>, onErrorFunction: (reason: TError) => PromiseLike<void>): PromiseAsyncResult<T>;
141
- convertError(convertErrorFunction: (reason: unknown) => unknown): SyncResult<T>;
142
- convertError(onErrorFunction: (reason: unknown) => PromiseLike<unknown>): PromiseAsyncResult<T>;
143
- convertError<TError>(errorType: Type<TError>, convertErrorFunction: (reason: TError) => unknown): SyncResult<T>;
144
- convertError<TError>(errorType: Type<TError>, convertErrorFunction: (reason: TError) => PromiseLike<unknown>): PromiseAsyncResult<T>;
145
- finally(onfinally?: (() => void) | null): SyncResult<T>;
146
- finally(onfinally?: (() => Promise<void>) | null): PromiseAsyncResult<T>;
147
- readonly [Symbol.toStringTag]: string;
148
- }
149
-
150
- /**
151
- * A collection of {@link Function}s that can be used to determine if two values are equal.
152
- */
153
- declare class EqualFunctions {
154
- private readonly equalFunctions;
5
+ declare class ANSIStyles {
155
6
  private constructor();
156
- static create(): EqualFunctions;
157
- private defaultEqualFunction;
158
- /**
159
- * Get whether the provided values are equal based on the registered equal {@link Function}s.
160
- * @param left The left value in the comparison.
161
- * @param right The right value in the comparison.
162
- */
163
- areEqual(left: unknown, right: unknown): SyncResult<boolean>;
164
- add(equalFunction: (left: unknown, right: unknown) => (boolean | undefined)): this;
165
- }
166
-
167
- /**
168
- * The built-in {@link Array} type.
169
- *
170
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
171
- */
172
- type JavascriptArray<T> = Array<T>;
173
- /**
174
- * The built-in {@link Iterator} type.
175
- *
176
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators#iterators
177
- */
178
- type JavascriptIterator<T> = Iterator<T>;
179
- /**
180
- * The built-in {@link IteratorResult} type.
181
- */
182
- type JavascriptIteratorResult<T> = IteratorResult<T, T>;
183
- /**
184
- * The built-in {@link Iterable} type.
185
- *
186
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators#iterables
187
- */
188
- type JavascriptIterable<T> = Iterable<T>;
189
- /**
190
- * The built-in {@link Map} type.
191
- *
192
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
193
- */
194
- type JavascriptMap<TKey, TValue> = Map<TKey, TValue>;
195
- /**
196
- * The built-in {@link Map} type.
197
- *
198
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
199
- */
200
- declare const JavascriptMap: MapConstructor;
201
- /**
202
- * The built-in {@link AsyncIterator} type.
203
- *
204
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncIterator
205
- */
206
- type JavascriptAsyncIterator<T> = AsyncIterator<T>;
207
- interface JavascriptAsyncIterable<T> {
208
- [Symbol.asyncIterator](): JavascriptAsyncIterator<T>;
7
+ private static color;
8
+ static black(text: string): string;
9
+ static red(text: string): string;
10
+ static green(text: string): string;
11
+ static yellow(text: string): string;
12
+ static blue(text: string): string;
209
13
  }
210
- /**
211
- * The built-in {@link Set} type.
212
- *
213
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set
214
- */
215
- type JavascriptSet<T> = Set<T>;
216
- declare const JavascriptSet: SetConstructor;
217
14
 
218
- /**
219
- * A type that can be used to iterate over a collection.
220
- */
221
- declare abstract class Iterator$1<T> implements JavascriptIterable<T> {
222
- /**
223
- * Create a new {@link Iterator} that contains the provided values.
224
- * @param values The values that the new {@link Iterator} will iterate over.
225
- */
226
- static create<T>(values: JavascriptIterator<T> | JavascriptIterable<T>): Iterator$1<T>;
227
- /**
228
- * Move to the next value in the collection. Return whether this {@link Iterator} points to a
229
- * value after the move.
230
- */
231
- abstract next(): SyncResult<boolean>;
232
- /**
233
- * Get whether this {@link Iterator} has started iterating over the values in the collection.
234
- */
235
- abstract hasStarted(): boolean;
236
- /**
237
- * Get whether this {@link Iterator} currently points at a value in the collection.
238
- */
239
- abstract hasCurrent(): boolean;
240
- /**
241
- * Get the value that this {@link Iterator} points to.
242
- */
243
- abstract getCurrent(): T;
244
- /**
245
- * Move to the first value if this {@link Iterator} hasn't started yet.
246
- * @returns This object for method chaining.
247
- */
248
- start(): SyncResult<this>;
249
- /**
250
- * Move the provided {@link Iterator} to its first value if it hasn't started yet.
251
- */
252
- static start<T, TIterator extends Iterator$1<T>>(iterator: TIterator): SyncResult<TIterator>;
253
- /**
254
- * Get the current value from this {@link Iterator} and advance this {@link Iterator} to the
255
- * next value.
256
- */
257
- takeCurrent(): SyncResult<T>;
258
- static takeCurrent<T>(iterator: Iterator$1<T>): SyncResult<T>;
259
- [Symbol.iterator](): JavascriptIterator<T>;
260
- /**
261
- * Convert the provided {@link Iterator} to a {@link IteratorToJavascriptIteratorAdapter}.
262
- * @param iterator The {@link Iterator} to convert.
263
- */
264
- static [Symbol.iterator]<T>(iterator: Iterator$1<T>): JavascriptIterator<T>;
265
- /**
266
- * Get whether this {@link Iterator} contains any values.
267
- * Note: This may advance the {@link Iterator} to the first value if it hasn't been
268
- * started yet.
269
- */
270
- any(): SyncResult<boolean>;
271
- /**
272
- * Get whether this {@link Iterator} contains any values.
273
- * Note: This may advance the {@link Iterator} to the first value if it hasn't been
274
- * started yet.
275
- */
276
- static any<T>(iterator: Iterator$1<T>): SyncResult<boolean>;
277
- /**
278
- * Get the number of values in this {@link Iterator}.
279
- * Note: This will consume all of the values in this {@link Iterator}.
280
- */
281
- getCount(): SyncResult<number>;
282
- /**
283
- * Get the number of values in the provided {@link Iterator}.
284
- * Note: This will consume all of the values in the provided {@link Iterator}.
285
- */
286
- static getCount<T>(iterator: Iterator$1<T>): SyncResult<number>;
287
- /**
288
- * Get all of the remaining values in this {@link Iterator} in a {@link T} {@link Array}.
289
- */
290
- toArray(): SyncResult<T[]>;
291
- /**
292
- * Get all of the remaining values in the provided {@link Iterator} in a {@link T}
293
- * {@link Array}.
294
- */
295
- static toArray<T>(iterator: Iterator$1<T>): SyncResult<T[]>;
296
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator$1<T>;
297
- static concatenate<T>(iterator: Iterator$1<T>, ...toConcatenate: JavascriptIterable<T>[]): Iterator$1<T>;
298
- /**
299
- * Get an {@link Iterator} that will only return values that match the provided condition.
300
- * @param condition The condition to run against each of the values in this {@link Iterator}.
301
- */
302
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterator$1<T>;
303
- static where<T>(iterator: Iterator$1<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): Iterator$1<T>;
304
- /**
305
- * Get a {@link MapIterator} that will map all {@link T} values from this {@link Iterator} to
306
- * {@link TOutput} values.
307
- * @param mapping The mapping that maps {@link T} values to {@link TOutput} values.
308
- */
309
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator$1<TOutput>;
310
- static map<T, TOutput>(iterator: Iterator$1<T>, mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator$1<TOutput>;
311
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
312
- static flatMap<T, TOutput>(iterator: Iterator$1<T>, mapping: (value: T) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
313
- /**
314
- * Get an {@link Iterator} that will filter this {@link Iterator} to only the values that are
315
- * instances of {@link U} based on the provided type check {@link Function}.
316
- * @param typeCheck The {@link Function} that will be used to determine if values are of type
317
- * {@link U}.
318
- */
319
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator$1<U>;
320
- static whereInstanceOf<T, U extends T>(iterator: Iterator$1<T>, typeCheck: (value: T) => value is U): Iterator$1<U>;
321
- /**
322
- * Get an {@link Iterator} that will filter this {@link Iterator} to only the values that are
323
- * instances of the provided {@link Type}.
324
- * @param type The type of values to return from the new {@link Iterator}.
325
- */
326
- whereInstanceOfType<U extends T>(type: Type<U>): Iterator$1<U>;
327
- static whereInstanceOfType<T, U extends T>(iterator: Iterator$1<T>, type: Type<U>): Iterator$1<U>;
328
- /**
329
- * If the condition function is undefined, then this function will return the first value in
330
- * this {@link Iterator}. If this condition function is provided, then this function will return
331
- * the first value that matches the provided condition.
332
- * @param condition The condition that the returned value must satisfy.
333
- */
334
- first(condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
335
- /**
336
- * If the condition function is undefined, then this function will return the first value in
337
- * the {@link Iterator}. If this condition function is provided, then this function will return
338
- * the first value that matches the provided condition.
339
- * @param iterator The {@link Iterator} to get the first value from.
340
- */
341
- static first<T>(iterator: Iterator$1<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
342
- /**
343
- * If the condition function is undefined, then this function will return the last value in this
344
- * {@link Iterator}. If this condition function is provided, then this function will return the
345
- * last value that matches the provided condition.
346
- * @param condition The condition that the returned value must satisfy.
347
- */
348
- last(condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
349
- /**
350
- * If the condition function is undefined, then this function will return the last value in the
351
- * {@link Iterator}. If this condition function is provided, then this function will return the
352
- * last value that matches the provided condition.
353
- * @param iterator The {@link Iterator} to get the last value from.
354
- */
355
- static last<T>(iterator: Iterator$1<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
356
- /**
357
- * Find the maximum value in the provided {@link Iterator}.
358
- * @param iterator The values to find the maximum of.
359
- */
360
- static findMaximum<T extends Comparable<T>>(iterator: JavascriptIterator<T> | Iterator$1<T>): SyncResult<T>;
361
- /**
362
- * Get a new {@link Iterator} that wraps around this {@link Iterator} and only
363
- * returns a maximum number of values from this {@link Iterator}.
364
- * @param maximumToTake The maximum number of values to take from this {@link Iterator}.
365
- */
366
- take(maximumToTake: number): Iterator$1<T>;
367
- static take<T>(iterator: Iterator$1<T>, maximumToTake: number): Iterator$1<T>;
368
- /**
369
- * Get a new {@link Iterator} that wraps around this {@link Iterator} and will skip the initial
370
- * provided number of values before beginning to return values.
371
- * @param maximumToSkip The maximum number of values to skip from this {@link Iterator}.
372
- */
373
- skip(maximumToSkip: number): Iterator$1<T>;
374
- static skip<T>(iterator: Iterator$1<T>, maximumToSkip: number): Iterator$1<T>;
15
+ declare class CharacterTable {
16
+ private constructor();
17
+ static create(): CharacterTable;
375
18
  }
376
19
 
377
- /**
378
- * A collection of {@link ToStringFunction}s.
379
- */
380
- declare class ToStringFunctions {
381
- private readonly functions;
20
+ declare class IndentedCharacterWriteStream extends CharacterWriteStream {
21
+ private readonly innerStream;
22
+ private currentIndentationList;
23
+ private currentIndentation;
24
+ private singleIndent;
25
+ private atLineStart;
382
26
  private constructor();
383
- static create(): ToStringFunctions;
384
- private defaultToString;
385
- /**
386
- * Get the {@link String} representation of the value with the registered
387
- * {@link ToStringFunction}s.
388
- * @param value The value to get the {@link String} representation of.
389
- */
390
- toString(value: unknown): string;
391
- add(toStringFunction: (value: unknown) => (string | undefined)): this;
392
- add<T>(typeCheckFunction: (value: unknown) => value is T, typedToStringFunction: (value: T) => string): this;
393
- private iterableToString;
394
- private mapToString;
395
- private setToString;
27
+ static create(innerStream: CharacterWriteStream): IndentedCharacterWriteStream;
28
+ getSingleIndent(): string;
29
+ setSingleIndent(singleIndent: string): this;
30
+ getCurrentIndentationCount(): number;
31
+ getCurrentIndentation(): string;
32
+ addIndentation(singleIndent?: string): this;
33
+ removeIndentation(): string;
34
+ indent(action: () => (void | number | PromiseLike<void | number>)): AsyncResult<number>;
35
+ indent(singleIndent: string, action: () => (void | number | PromiseLike<void | number>)): AsyncResult<number>;
36
+ writeString(text: string): AsyncResult<number>;
396
37
  }
397
38
 
398
39
  /**
399
- * An object that can be iterated over.
40
+ * A container that can be accessed using indexes.
400
41
  */
401
- declare abstract class Iterable$1<T> implements JavascriptIterable<T> {
402
- static create<T>(values?: JavascriptIterable<T>): Iterable$1<T>;
42
+ declare abstract class Indexable<T> implements Iterable<T> {
43
+ static create<T>(values?: JavascriptIterable<T>): Indexable<T>;
403
44
  /**
404
- * Iterate over the values in this {@link Iterable}.
45
+ * Get the value at the provided index.
46
+ * @param index The index of the value to return.
405
47
  */
406
- abstract iterate(): Iterator$1<T>;
407
- [Symbol.iterator](): JavascriptIterator<T>;
408
- static [Symbol.iterator]<T>(iterable: Iterable$1<T>): JavascriptIterator<T>;
48
+ abstract get(index: number): SyncResult<T>;
409
49
  /**
410
- * Get all of the values in this {@link Iterable} in an {@link Array}.
50
+ * Iterate over the values in this {@link Indexable}.
411
51
  */
52
+ abstract iterate(): Iterator<T>;
412
53
  toArray(): SyncResult<T[]>;
413
- /**
414
- * Get all of the values in the provided {@link Iterable} in an {@link Array}.
415
- */
416
- static toArray<T>(iterable: Iterable$1<T>): SyncResult<T[]>;
417
- /**
418
- * Get whether this {@link Iterable} contains any values.
419
- */
54
+ static toArray<T>(indexable: Indexable<T>): SyncResult<T[]>;
420
55
  any(): SyncResult<boolean>;
421
- /**
422
- * Get whether the provided {@link JavascriptIterable} contains any values.
423
- */
424
- static any<T>(iterable: JavascriptIterable<T>): SyncResult<boolean>;
425
- /**
426
- * Get the number of values in this {@link Iterable}.
427
- */
56
+ static any<T>(indexable: Indexable<T>): SyncResult<boolean>;
428
57
  getCount(): SyncResult<number>;
429
- /**
430
- * Get the number of values in the provided {@link Iterable}.
431
- */
432
- static getCount<T>(iterable: Iterable$1<T>): SyncResult<number>;
433
- /**
434
- * Get whether this {@link Iterable} is equal to the provided {@link Iterable}.
435
- * @param right The {@link Iterable} to compare against this {@link Iterable}.
436
- * @param equalFunctions The optional {@link EqualFunctions} to use to determine if the two
437
- * {@link Iterable}s are equal.
438
- */
58
+ static getCount<T>(indexable: Indexable<T>): SyncResult<number>;
439
59
  equals(right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
440
- static equals<T>(left: JavascriptIterable<T>, right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
441
- /**
442
- * Get the {@link String} representation of this {@link Iterable}.
443
- */
60
+ static equals<T>(left: Indexable<T>, right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
444
61
  toString(toStringFunctions?: ToStringFunctions): string;
445
- /**
446
- * Get the {@link String} representation of the provided {@link Iterable}.
447
- */
448
- static toString<T>(iterable: Iterable$1<T>, toStringFunctions?: ToStringFunctions): string;
449
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
450
- static concatenate<T>(iterable: Iterable$1<T>, ...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
451
- /**
452
- * Get a {@link MapIterable} that maps all of the {@link T} values in this {@link Iterable} to
453
- * {@link TOutput} values.
454
- * @param mapping The mapping function to use to convert values of type {@link T} to
455
- * {@link TOutput}.
456
- */
457
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
458
- /**
459
- * Get a {@link MapIterable} that maps all of the {@link T} values in the provided
460
- * {@link Iterable} to {@link TOutput} values.
461
- * @param mapping The mapping function to use to convert values of type {@link T} to
462
- * {@link TOutput}.
463
- */
464
- static map<TInput, TOutput>(iterable: Iterable$1<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
465
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
466
- static flatMap<T, TOutput>(iterable: Iterable$1<T>, mapping: (value: T) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
467
- /**
468
- * Get an {@link Iterable} that contains values from this {@link Iterable} that match the
469
- * provided condition.
470
- * @param condition The condition to run against each of the values in this {@link Iterable}.
471
- */
472
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
473
- /**
474
- * Get an {@link Iterable} that contains values from the provided {@link Iterable} that match
475
- * the provided condition.
476
- * @param iterable The {@link Iterable} to get values from.
477
- * @param condition The condition that the values must match to be contained in the new
478
- * {@link Iterable}.
479
- */
480
- static where<T>(iterable: JavascriptIterable<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
481
- /**
482
- * Get an {@link Iterable} that contains values from this {@link Iterable} that match the
483
- * provided {@link Type} or type check function.
484
- * @param typeOrTypeCheck The {@link Type} or type check function that returned values must
485
- * match.
486
- */
487
- instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable$1<TOutput>;
488
- /**
489
- * Get an {@link Iterable} that contains values from the provided {@link Iterable} that match
490
- * the provided {@link Type} or type check function.
491
- * @param iterable The {@link Iterable} to get values from.
492
- * @param typeOrTypeCheck The {@link Type} or type check function that returned values must
493
- * match.
494
- */
495
- static instanceOf<TInput, TOutput extends TInput>(iterable: JavascriptIterable<TInput>, typeOrTypeCheck: Type<TOutput> | ((value: TInput) => value is TOutput)): Iterable$1<TOutput>;
496
- /**
497
- * Get the first value in this {@link Iterable}.
498
- */
499
- first(condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
500
- /**
501
- * Get the first value from the provided {@link JavascriptIterable}.
502
- * @param iterable The {@link JavascriptIterable} to get the first value from.
503
- */
504
- static first<T>(iterable: JavascriptIterable<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
505
- /**
506
- * Get the last value in this {@link Iterable}.
507
- */
508
- last(condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
509
- /**
510
- * Get the last value from the provided {@link JavascriptIterable}.
511
- * @param iterable The {@link JavascriptIterable} to get the last value from.
512
- */
513
- static last<T>(iterable: JavascriptIterable<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
514
- /**
515
- * Find the maximum value in the provided {@link Iterable}.
516
- * @param iterable The values to find the maximum of.
517
- */
518
- static findMaximum<T extends Comparable<T>>(iterable: JavascriptIterable<T> | Iterable$1<T>): SyncResult<T>;
62
+ static toString<T>(indexable: Indexable<T>, toStringFunctions?: ToStringFunctions): string;
63
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
64
+ static concatenate<T>(indexable: Indexable<T>, ...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
65
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
66
+ static map<TInput, TOutput>(indexable: Indexable<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
67
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable<TOutput>;
68
+ static flatMap<TInput, TOutput>(indexable: Indexable<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): Iterable<TOutput>;
69
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
70
+ static where<T>(indexable: Indexable<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
71
+ instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable<TOutput>;
72
+ static instanceOf<TInput, TOutput extends TInput>(indexable: Indexable<TInput>, typeOrTypeCheck: Type<TOutput> | ((value: TInput) => value is TOutput)): Iterable<TOutput>;
73
+ first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
74
+ static first<T>(indexable: Indexable<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
75
+ last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
76
+ static last<T>(indexable: Indexable<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
77
+ [Symbol.iterator](): JavascriptIterator<T>;
78
+ static [Symbol.iterator]<T>(indexable: Indexable<T>): JavascriptIterator<T>;
519
79
  contains(value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
520
- static contains<T>(iterable: Iterable$1<T>, value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
80
+ static contains<T>(indexable: Indexable<T>, value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
521
81
  }
522
82
 
523
83
  /**
524
- * A {@link Type} that can be used to pass types as parameters.
525
- */
526
- type Type<T> = Function & {
527
- prototype: T;
528
- };
529
- /**
530
- * Get whether the provided value is an instance of {@link Type} {@link T}.
531
- * @param typeOrTypeCheck The {@link Type} to look for or type check {@link Function} to determine
532
- * if the provided value is a {@link T}.
533
- * @param value The value to check.
534
- */
535
- declare function instanceOf<T>(value: unknown, typeCheck: (value: unknown) => value is T): value is T;
536
- /**
537
- * Get whether the provided value is an instance of {@link Type} {@link T}.
538
- * @param typeOrTypeCheck The {@link Type} to look for or type check {@link Function} to determine
539
- * if the provided value is a {@link T}.
540
- * @param value The value to check.
541
- */
542
- declare function instanceOf<T>(value: unknown, type: Type<T>, typeCheck?: (value: unknown) => value is T): value is T;
543
- /**
544
- * Get whether the provided value is an instance of the provided {@link Type}. This will return
545
- * false if value only implements the provided {@link Type} but doesn't extend it.
546
- * @param value The value to check.
547
- * @param type The {@link Type} to see if value is an instance of.
548
- */
549
- declare function instanceOfType<T>(value: unknown, type: Type<T>): value is T;
550
- /**
551
- * If the provided {@link value} is of type {@link T} (according to the provided {@link typeCheck}),
552
- * then return the {@link value}. Otherwise return undefined.
553
- * @param value The value to check.
554
- * @param typeOrTypeCheck The {@link Type} to look for or type check {@link Function} to determine
555
- * if the provided value is a {@link T}.
556
- */
557
- declare function as<T>(value: unknown, typeOrTypeCheck: Type<T> | ((value: unknown) => value is T)): T | undefined;
558
- /**
559
- * Get whether the provided value is undefined.
560
- * @param value The value to check.
561
- */
562
- declare function isUndefined(value: unknown): value is undefined;
563
- /**
564
- * Get whether the provided value is null.
565
- * @param value The value to check.
566
- */
567
- declare function isNull(value: unknown): value is null;
568
- /**
569
- * Return the provided value if it is null, otherwise return undefined.
570
- * @param value The value to check.
571
- */
572
- declare function asNull(value: unknown): null | undefined;
573
- /**
574
- * Get whether the provided value is undefined or null.
575
- * @param value The value to check.
576
- */
577
- declare function isUndefinedOrNull(value: unknown): value is undefined | null;
578
- /**
579
- * Get whether the provided value is a {@link boolean}.
580
- * @param value The value to check.
581
- */
582
- declare function isBoolean(value: unknown): value is boolean;
583
- /**
584
- * Return the provided value if it is a boolean, otherwise return undefined.
585
- * @param value The value to check.
586
- */
587
- declare function asBoolean(value: unknown): boolean | undefined;
588
- /**
589
- * Get whether the provided value is a {@link number}.
590
- * @param value The value to check.
591
- */
592
- declare function isNumber(value: unknown): value is number;
593
- /**
594
- * Return the provided value if it is a number, otherwise return undefined.
595
- * @param value The value to check.
596
- */
597
- declare function asNumber(value: unknown): number | undefined;
598
- /**
599
- * Get whether the provided value is a {@link string}.
600
- * @param value The value to check.
601
- */
602
- declare function isString(value: unknown): value is string;
603
- /**
604
- * Return the provided value if it is a string, otherwise return undefined.
605
- * @param value The value to check.
606
- */
607
- declare function asString(value: unknown): string | undefined;
608
- /**
609
- * Get whether the provided value is a {@link function}.
610
- * @param value The value to check.
611
- */
612
- declare function isFunction(value: unknown): value is Function;
613
- /**
614
- * Return the provided value if it is a function, otherwise return undefined.
615
- * @param value The value to check.
616
- */
617
- declare function asFunction(value: unknown): Function | undefined;
618
- /**
619
- * Get the number of parameters that the provided {@link Function} takes.
620
- * @param value The {@link Function} to get the parameter count for.
621
- */
622
- declare function getParameterCount(value: Function): number;
623
- /**
624
- * Get whether the provided value is a function with the provided parameter count.
625
- * @param value The value to check.
626
- * @param parameterCount The number of parameters the function must have.
627
- */
628
- declare function isFunctionWithParameterCount(value: unknown, parameterCount: number): value is Function;
629
- /**
630
- * Return the provided value if it is a function with the provided {@link parameterCount}, otherwise
631
- * return undefined.
632
- * @param value The value to check.
633
- */
634
- declare function asFunctionWithParameterCount(value: unknown, parameterCount: number): Function | undefined;
635
- /**
636
- * Get whether the provided value is an {@link Array}.
637
- * @param value The value to check.
638
- */
639
- declare function isArray(value: unknown): value is unknown[];
640
- /**
641
- * Return the provided value if it is an array, otherwise return undefined.
642
- * @param value The value to check.
643
- */
644
- declare function asArray(value: unknown): unknown[] | undefined;
645
- /**
646
- * Get whether the provided value is an {@link Object} or is null.
647
- * @param value The value to check.
648
- */
649
- declare function isObjectOrArrayOrNull(value: unknown): value is {} | unknown[] | null;
650
- /**
651
- * Return the provided value if it is an array, otherwise return undefined.
652
- * @param value The value to check.
653
- */
654
- declare function asObjectOrArrayOrNull(value: unknown): {} | unknown[] | null | undefined;
655
- /**
656
- * Get whether the provided value is an {@link Object}.
657
- * @param value The value to check.
658
- * @returns
659
- */
660
- declare function isObject(value: unknown): value is {};
661
- /**
662
- * Return the provided value if it is an {@link Object}, otherwise return undefined.
663
- * @param value The value to check.
664
- */
665
- declare function asObject(value: unknown): {} | undefined;
666
- /**
667
- * Get an {@link Iterator} that can be used to iterate through the properties of the provided value.
668
- * @param value The value to iterate over.
669
- */
670
- declare function getPropertyNames(value: {}): Iterable$1<string>;
671
- /**
672
- * Get whether the provided value has a property with the provided key.
673
- * @param value The value to check.
674
- * @param propertyKey The key of the property to look for.
675
- */
676
- declare function hasProperty<TValue, TPropertyKey extends PropertyKey>(value: TValue, propertyKey: TPropertyKey): value is TValue & Record<TPropertyKey, unknown>;
677
- /**
678
- * Get whether the value has a function with the provided name.
679
- * @param value The value to check.
680
- * @param functionName The name of the function to look for.
681
- */
682
- declare function hasFunction<TValue, TPropertyKey extends PropertyKey>(value: TValue, functionName: TPropertyKey, parameterCount?: number): value is TValue & Record<TPropertyKey, Function>;
683
- /**
684
- * Get whether the provided value is a {@link JavascriptIterator}.
685
- * @param value The value to check.
686
- */
687
- declare function isJavascriptIterator<T>(value: unknown): value is JavascriptIterator<T>;
688
- /**
689
- * Get whether the provided value is a {@link JavascriptIterable}.
690
- * @param value The value to check.
691
- */
692
- declare function isJavascriptIterable<T>(value: unknown): value is JavascriptIterable<T>;
693
- declare function isIterable<T>(value: unknown): value is Iterable$1<T>;
694
- /**
695
- * Get whether the provided value is a {@link JavascriptAsyncIterator}.
696
- * @param value The value to check.
697
- */
698
- declare function isJavascriptAsyncIterator<T>(value: unknown): value is JavascriptAsyncIterator<T>;
699
- /**
700
- * Get whether the provided value is a {@link JavascriptAsyncIterable}.
701
- * @param value The value to check.
702
- */
703
- declare function isJavascriptAsyncIterable<T>(value: unknown): value is JavascriptAsyncIterable<T>;
704
- declare function isAsyncIterable<T>(value: unknown): value is AsyncIterable<T>;
705
- /**
706
- * Get the name of the provided {@link Type}.
707
- * @param type The {@link Type} to get the name of.
708
- */
709
- declare function getName(type: Type<unknown>): string;
710
- declare function isPromiseLike<T>(value: unknown): value is PromiseLike<T>;
711
- declare function isPromise<T>(value: unknown): value is Promise<T>;
712
-
713
- /**
714
- * A result object that adds extra behavior beyond the standard {@link Promise}.
84
+ * A collection of parameters that can be passed to an assert error message function.
715
85
  */
716
- declare abstract class AsyncResult<T> implements Promise<T> {
717
- static create<T>(action: () => (T | Promise<T>)): AsyncResult<T>;
718
- static create<T>(promise: Promise<T>): AsyncResult<T>;
719
- /**
720
- * Create a new {@link AsyncResult} that contains the provided value.
721
- * @param value The value to wrap in a {@link AsyncResult}.
722
- */
723
- static value<T>(value: T): AsyncResult<T>;
724
- /**
725
- * Create a new {@link AsyncResult} that contains the provided error.
726
- * @param error The error to wrap in a {@link AsyncResult}.
727
- */
728
- static error<T>(error: Error): AsyncResult<T>;
729
- static yield(): AsyncResult<void>;
730
- /**
731
- * Get a {@link AsyncResult} that runs the provided function if this {@link AsyncResult} is successful.
732
- * @param thenFunction The function to run if this {@link AsyncResult} is successful.
733
- */
734
- abstract then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): AsyncResult<TResult1 | TResult2>;
735
- /**
736
- * Run the provided onValueFunction if this {@link AsyncResult} is successful. The value or error
737
- * contained by this {@link AsyncResult} will be contained by the returned {@link AsyncResult}.
738
- * @param onValueFunction The function to run if this {@link AsyncResult} is successful.
739
- */
740
- abstract onValue(onValueFunction: (value: T) => (void | Promise<void>)): AsyncResult<T>;
741
- /**
742
- * Run the provided catchFunction if this {@link AsyncResult} contains an error.
743
- * @param catchFunction The function to run if an error is caught.
744
- */
745
- abstract catch<TResult = never>(onrejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): AsyncResult<T | TResult>;
746
- /**
747
- * Run the provided catchFunction if this {@link AsyncResult} contains an error of the provided type.
748
- * @param errorType The type of error to catch.
749
- * @param catchFunction The function to run if the error is caught.
750
- */
751
- abstract catch<TError, TResult = never>(errorType: Type<TError>, onrejected: (reason: TError) => (TResult | PromiseLike<TResult>)): AsyncResult<T | TResult>;
86
+ interface AssertMessageParameters {
752
87
  /**
753
- * Run the provided onErrorFunction if this {@link AsyncResult} contains an error.
754
- * @param onErrorFunction The function to run if an error is found.
88
+ * The expected state.
755
89
  */
756
- abstract onError(onErrorFunction: (reason: unknown) => (void | PromiseLike<void>)): AsyncResult<T>;
90
+ expected: string;
757
91
  /**
758
- * Run the provided onErrorFunction if this {@link AsyncResult} contains an error of the provided
759
- * type.
760
- * @param errorType The type of error to respond to.
761
- * @param onErrorFunction The function to run if the error is found.
92
+ * The actual state.
762
93
  */
763
- abstract onError<TError>(errorType: Type<TError>, onErrorFunction: (reason: TError) => (void | PromiseLike<void>)): AsyncResult<T>;
94
+ actual: string;
764
95
  /**
765
- * Run the provided convertErrorFunction if this {@link AsyncResult} contains an error. The value
766
- * returned from the convertErrorFunction will be the error for the returned {@link AsyncResult}.
767
- * @param convertErrorFunction The function that will return the new error.
96
+ * A string representation of the expression that produced the actual state.
768
97
  */
769
- abstract convertError(convertErrorFunction: (reason: unknown) => (unknown | PromiseLike<unknown>)): AsyncResult<T>;
98
+ expression?: string;
770
99
  /**
771
- * Run the provided convertErrorFunction if this {@link AsyncResult} contains an error of the
772
- * provided type. The value returned from the convertErrorFunction will be the error for the
773
- * returned {@link AsyncResult}.
774
- * @param errorType The type of error to respond to.
775
- * @param convertErrorFunction The function that will return the new error.
100
+ * A message that describes the failure.
776
101
  */
777
- abstract convertError<TError>(errorType: Type<TError>, convertErrorFunction: (reason: TError) => (unknown | PromiseLike<unknown>)): AsyncResult<T>;
778
- abstract finally(onfinally?: (() => (void | Promise<void>)) | null): AsyncResult<T>;
779
- readonly abstract [Symbol.toStringTag]: string;
780
- }
781
-
782
- declare class PromiseAsyncResult<T> implements AsyncResult<T> {
783
- private readonly promise;
784
- private constructor();
785
- static create<T>(action: () => (T | Promise<T>)): PromiseAsyncResult<T>;
786
- static create<T>(promise: Promise<T>): PromiseAsyncResult<T>;
787
- static value<T>(value: T): PromiseAsyncResult<T>;
788
- static error<T>(error: unknown): PromiseAsyncResult<T>;
789
- static yield(): PromiseAsyncResult<void>;
790
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): PromiseAsyncResult<TResult1 | TResult2>;
791
- onValue(onValueFunction: (value: T) => (void | Promise<void>)): PromiseAsyncResult<T>;
792
- catch<TResult = never>(onrejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): PromiseAsyncResult<T | TResult>;
793
- catch<TError, TResult = never>(errorType: Type<TError>, onrejected: (reason: TError) => (TResult | PromiseLike<TResult>)): PromiseAsyncResult<T | TResult>;
794
- onError(onErrorFunction: (reason: unknown) => (void | PromiseLike<void>)): PromiseAsyncResult<T>;
795
- onError<TError>(errorType: Type<TError>, onErrorFunction: (reason: TError) => (void | PromiseLike<void>)): PromiseAsyncResult<T>;
796
- convertError(convertErrorFunction: (reason: unknown) => (unknown | PromiseLike<unknown>)): PromiseAsyncResult<T>;
797
- convertError<TError>(errorType: Type<TError>, convertErrorFunction: (reason: TError) => (unknown | PromiseLike<unknown>)): PromiseAsyncResult<T>;
798
- finally(onfinally?: (() => (void | Promise<void>)) | null): PromiseAsyncResult<T>;
799
- readonly [Symbol.toStringTag]: string;
102
+ message?: string;
800
103
  }
801
104
 
802
105
  /**
803
106
  * A type that can be used to asynchronously iterate over a collection.
804
107
  */
805
- declare abstract class AsyncIterator$1<T> {
806
- static create<T>(iterator: JavascriptAsyncIterator<T>): AsyncIterator$1<T>;
108
+ declare abstract class AsyncIterator<T> {
109
+ static create<T>(iterator: JavascriptAsyncIterator<T>): AsyncIterator<T>;
807
110
  /**
808
111
  * Move to the next value in the collection. Return whether this {@link AsyncIterator} points to
809
112
  * a value after the move.
@@ -829,19 +132,19 @@ declare abstract class AsyncIterator$1<T> {
829
132
  /**
830
133
  * Move the provided {@link AsyncIterator} to its first value if it hasn't started yet.
831
134
  */
832
- static start<T, TIterator extends AsyncIterator$1<T>>(iterator: TIterator): PromiseAsyncResult<TIterator>;
135
+ static start<T, TIterator extends AsyncIterator<T>>(iterator: TIterator): PromiseAsyncResult<TIterator>;
833
136
  /**
834
137
  * Get the current value from this {@link AsyncIterator} and advance this {@link AsyncIterator} to the
835
138
  * next value.
836
139
  */
837
140
  takeCurrent(): PromiseAsyncResult<T>;
838
- static takeCurrent<T>(iterator: AsyncIterator$1<T>): PromiseAsyncResult<T>;
141
+ static takeCurrent<T>(iterator: AsyncIterator<T>): PromiseAsyncResult<T>;
839
142
  [Symbol.asyncIterator](): JavascriptAsyncIterator<T>;
840
143
  /**
841
144
  * Convert the provided {@link AsyncIterator} to a {@link IteratorToJavascriptIteratorAdapter}.
842
145
  * @param iterator The {@link AsyncIterator} to convert.
843
146
  */
844
- static [Symbol.asyncIterator]<T>(iterator: AsyncIterator$1<T>): JavascriptAsyncIterator<T>;
147
+ static [Symbol.asyncIterator]<T>(iterator: AsyncIterator<T>): JavascriptAsyncIterator<T>;
845
148
  /**
846
149
  * Get whether this {@link AsyncIterator} contains any values.
847
150
  * Note: This may advance the {@link AsyncIterator} to the first value if it hasn't been
@@ -853,7 +156,7 @@ declare abstract class AsyncIterator$1<T> {
853
156
  * Note: This may advance the {@link AsyncIterator} to the first value if it hasn't been
854
157
  * started yet.
855
158
  */
856
- static any<T>(iterator: AsyncIterator$1<T>): PromiseAsyncResult<boolean>;
159
+ static any<T>(iterator: AsyncIterator<T>): PromiseAsyncResult<boolean>;
857
160
  /**
858
161
  * Get the number of values in this {@link AsyncIterator}.
859
162
  * Note: This will consume all of the values in this {@link AsyncIterator}.
@@ -863,7 +166,7 @@ declare abstract class AsyncIterator$1<T> {
863
166
  * Get the number of values in the provided {@link AsyncIterator}.
864
167
  * Note: This will consume all of the values in the provided {@link AsyncIterator}.
865
168
  */
866
- static getCount<T>(iterator: AsyncIterator$1<T>): PromiseAsyncResult<number>;
169
+ static getCount<T>(iterator: AsyncIterator<T>): PromiseAsyncResult<number>;
867
170
  /**
868
171
  * Get all of the remaining values in this {@link AsyncIterator} in a {@link T} {@link Array}.
869
172
  */
@@ -872,35 +175,35 @@ declare abstract class AsyncIterator$1<T> {
872
175
  * Get all of the remaining values in the provided {@link AsyncIterator} in a {@link T}
873
176
  * {@link Array}.
874
177
  */
875
- static toArray<T>(iterator: AsyncIterator$1<T>): PromiseAsyncResult<T[]>;
178
+ static toArray<T>(iterator: AsyncIterator<T>): PromiseAsyncResult<T[]>;
876
179
  /**
877
180
  * Get an {@link AsyncIterator} that will only return values that match the provided condition.
878
181
  * @param condition The condition to run against each of the values in this {@link AsyncIterator}.
879
182
  */
880
- where(condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator$1<T>;
881
- static where<T>(iterator: AsyncIterator$1<T>, condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator$1<T>;
183
+ where(condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator<T>;
184
+ static where<T>(iterator: AsyncIterator<T>, condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator<T>;
882
185
  /**
883
186
  * Get a {@link MapIterator} that will map all {@link T} values from this {@link AsyncIterator} to
884
187
  * {@link TOutput} values.
885
188
  * @param mapping The mapping that maps {@link T} values to {@link TOutput} values.
886
189
  */
887
- map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator$1<TOutput>;
888
- static map<T, TOutput>(iterator: AsyncIterator$1<T>, mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator$1<TOutput>;
190
+ map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator<TOutput>;
191
+ static map<T, TOutput>(iterator: AsyncIterator<T>, mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator<TOutput>;
889
192
  /**
890
193
  * Get an {@link AsyncIterator} that will filter this {@link AsyncIterator} to only the values that are
891
194
  * instances of {@link U} based on the provided type check {@link Function}.
892
195
  * @param typeCheck The {@link Function} that will be used to determine if values are of type
893
196
  * {@link U}.
894
197
  */
895
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator$1<U>;
896
- static whereInstanceOf<T, U extends T>(iterator: AsyncIterator$1<T>, typeCheck: (value: T) => value is U): AsyncIterator$1<U>;
198
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator<U>;
199
+ static whereInstanceOf<T, U extends T>(iterator: AsyncIterator<T>, typeCheck: (value: T) => value is U): AsyncIterator<U>;
897
200
  /**
898
201
  * Get an {@link AsyncIterator} that will filter this {@link AsyncIterator} to only the values that are
899
202
  * instances of the provided {@link Type}.
900
203
  * @param type The type of values to return from the new {@link AsyncIterator}.
901
204
  */
902
- whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator$1<U>;
903
- static whereInstanceOfType<T, U extends T>(iterator: AsyncIterator$1<T>, type: Type<U>): AsyncIterator$1<U>;
205
+ whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator<U>;
206
+ static whereInstanceOfType<T, U extends T>(iterator: AsyncIterator<T>, type: Type<U>): AsyncIterator<U>;
904
207
  /**
905
208
  * If the condition function is undefined, then this function will return the first value in
906
209
  * this {@link AsyncIterator}. If this condition function is provided, then this function will return
@@ -914,7 +217,7 @@ declare abstract class AsyncIterator$1<T> {
914
217
  * the first value that matches the provided condition.
915
218
  * @param iterator The {@link AsyncIterator} to get the first value from.
916
219
  */
917
- static first<T>(iterator: AsyncIterator$1<T>, condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
220
+ static first<T>(iterator: AsyncIterator<T>, condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
918
221
  /**
919
222
  * If the condition function is undefined, then this function will return the last value in this
920
223
  * {@link AsyncIterator}. If this condition function is provided, then this function will return the
@@ -928,26 +231,26 @@ declare abstract class AsyncIterator$1<T> {
928
231
  * last value that matches the provided condition.
929
232
  * @param iterator The {@link AsyncIterator} to get the last value from.
930
233
  */
931
- static last<T>(iterator: AsyncIterator$1<T>, condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
234
+ static last<T>(iterator: AsyncIterator<T>, condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
932
235
  /**
933
236
  * Find the maximum value in the provided {@link AsyncIterator}.
934
237
  * @param iterator The values to find the maximum of.
935
238
  */
936
- static findMaximum<T extends Comparable<T>>(iterator: JavascriptAsyncIterator<T> | AsyncIterator$1<T>): PromiseAsyncResult<T>;
239
+ static findMaximum<T extends Comparable<T>>(iterator: JavascriptAsyncIterator<T> | AsyncIterator<T>): PromiseAsyncResult<T>;
937
240
  /**
938
241
  * Get a new {@link AsyncIterator} that wraps around this {@link AsyncIterator} and only
939
242
  * returns a maximum number of values from this {@link AsyncIterator}.
940
243
  * @param maximumToTake The maximum number of values to take from this {@link AsyncIterator}.
941
244
  */
942
- take(maximumToTake: number): AsyncIterator$1<T>;
943
- static take<T>(iterator: AsyncIterator$1<T>, maximumToTake: number): AsyncIterator$1<T>;
245
+ take(maximumToTake: number): AsyncIterator<T>;
246
+ static take<T>(iterator: AsyncIterator<T>, maximumToTake: number): AsyncIterator<T>;
944
247
  /**
945
248
  * Get a new {@link AsyncIterator} that wraps around this {@link AsyncIterator} and will skip the initial
946
249
  * provided number of values before beginning to return values.
947
250
  * @param maximumToSkip The maximum number of values to skip from this {@link AsyncIterator}.
948
251
  */
949
- skip(maximumToSkip: number): AsyncIterator$1<T>;
950
- static skip<T>(iterator: AsyncIterator$1<T>, maximumToSkip: number): AsyncIterator$1<T>;
252
+ skip(maximumToSkip: number): AsyncIterator<T>;
253
+ static skip<T>(iterator: AsyncIterator<T>, maximumToSkip: number): AsyncIterator<T>;
951
254
  }
952
255
 
953
256
  /**
@@ -957,7 +260,7 @@ declare class AsyncIteratorToJavascriptAsyncIteratorAdapter<T> implements Javasc
957
260
  private readonly iterator;
958
261
  private hasStarted;
959
262
  private constructor();
960
- static create<T>(iterator: AsyncIterator$1<T>): AsyncIteratorToJavascriptAsyncIteratorAdapter<T>;
263
+ static create<T>(iterator: AsyncIterator<T>): AsyncIteratorToJavascriptAsyncIteratorAdapter<T>;
961
264
  next(): Promise<JavascriptIteratorResult<T>>;
962
265
  }
963
266
 
@@ -1003,7 +306,7 @@ declare class SyncDisposable implements Disposable {
1003
306
  isDisposed(): boolean;
1004
307
  }
1005
308
 
1006
- declare abstract class List<T> implements Iterable$1<T> {
309
+ declare abstract class List<T> implements Indexable<T> {
1007
310
  static create<T>(values?: JavascriptIterable<T>): List<T>;
1008
311
  /**
1009
312
  * Add the provided value to the end of this {@link List}.
@@ -1069,7 +372,7 @@ declare abstract class List<T> implements Iterable$1<T> {
1069
372
  removeLast(): SyncResult<T>;
1070
373
  static removeLast<T, TList extends List<T>>(list: TList): SyncResult<T>;
1071
374
  abstract set(index: number, value: T): this;
1072
- abstract iterate(): Iterator$1<T>;
375
+ abstract iterate(): Iterator<T>;
1073
376
  abstract get(index: number): SyncResult<T>;
1074
377
  toArray(): SyncResult<T[]>;
1075
378
  static toArray<T>(list: List<T>): SyncResult<T[]>;
@@ -1081,16 +384,16 @@ declare abstract class List<T> implements Iterable$1<T> {
1081
384
  static equals<T>(left: List<T>, right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1082
385
  toString(toStringFunctions?: ToStringFunctions): string;
1083
386
  static toString<T>(list: List<T>, toStringFunctions?: ToStringFunctions): string;
1084
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
1085
- static concatenate<T>(list: List<T>, ...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
1086
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
1087
- static map<TInput, TOutput>(list: List<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
1088
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
1089
- static flatMap<TInput, TOutput>(list: List<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
1090
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
1091
- static where<T>(list: List<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
1092
- instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable$1<TOutput>;
1093
- static instanceOf<TInput, TOutput extends TInput>(list: List<TInput>, typeOrTypeCheck: Type<TOutput> | ((value: TInput) => value is TOutput)): Iterable$1<TOutput>;
387
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
388
+ static concatenate<T>(list: List<T>, ...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
389
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
390
+ static map<TInput, TOutput>(list: List<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
391
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable<TOutput>;
392
+ static flatMap<TInput, TOutput>(list: List<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): Iterable<TOutput>;
393
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
394
+ static where<T>(list: List<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
395
+ instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable<TOutput>;
396
+ static instanceOf<TInput, TOutput extends TInput>(list: List<TInput>, typeOrTypeCheck: Type<TOutput> | ((value: TInput) => value is TOutput)): Iterable<TOutput>;
1094
397
  first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
1095
398
  static first<T>(list: List<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
1096
399
  last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
@@ -1118,18 +421,18 @@ declare class ByteList implements List<number> {
1118
421
  removeFirst(): SyncResult<number>;
1119
422
  removeLast(): SyncResult<number>;
1120
423
  set(index: number, value: number): this;
1121
- iterate(): Iterator$1<number>;
424
+ iterate(): Iterator<number>;
1122
425
  get(index: number): SyncResult<number>;
1123
426
  toArray(): SyncResult<number[]>;
1124
427
  any(): SyncResult<boolean>;
1125
428
  getCount(): SyncResult<number>;
1126
429
  equals(right: JavascriptIterable<number>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1127
430
  toString(toStringFunctions?: ToStringFunctions): string;
1128
- concatenate(...toConcatenate: JavascriptIterable<number>[]): Iterable$1<number>;
1129
- map<TOutput>(mapping: (value: number) => TOutput | SyncResult<TOutput>): Iterable$1<TOutput>;
1130
- flatMap<TOutput>(mapping: (value: number) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
1131
- where(condition: (value: number) => (boolean | SyncResult<boolean>)): Iterable$1<number>;
1132
- instanceOf<TOutput extends number>(typeOrTypeCheck: Type<TOutput> | ((value: number) => value is TOutput)): Iterable$1<TOutput>;
431
+ concatenate(...toConcatenate: JavascriptIterable<number>[]): Iterable<number>;
432
+ map<TOutput>(mapping: (value: number) => TOutput | SyncResult<TOutput>): Iterable<TOutput>;
433
+ flatMap<TOutput>(mapping: (value: number) => JavascriptIterable<TOutput>): Iterable<TOutput>;
434
+ where(condition: (value: number) => (boolean | SyncResult<boolean>)): Iterable<number>;
435
+ instanceOf<TOutput extends number>(typeOrTypeCheck: Type<TOutput> | ((value: number) => value is TOutput)): Iterable<TOutput>;
1133
436
  first(condition?: ((value: number) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<number>;
1134
437
  last(condition?: ((value: number) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<number>;
1135
438
  contains(value: number, equalFunctions?: EqualFunctions): SyncResult<boolean>;
@@ -1217,7 +520,7 @@ declare class CharacterList implements List<string> {
1217
520
  insert(index: number, value: string): this;
1218
521
  removeAt(index: number): SyncResult<string>;
1219
522
  set(index: number, value: string): this;
1220
- iterate(): Iterator$1<string>;
523
+ iterate(): Iterator<string>;
1221
524
  get(index: number): SyncResult<string>;
1222
525
  add(value: string): this;
1223
526
  addAll(values: JavascriptIterable<string>): this;
@@ -1229,11 +532,11 @@ declare class CharacterList implements List<string> {
1229
532
  any(): SyncResult<boolean>;
1230
533
  equals(right: JavascriptIterable<string>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1231
534
  toString(toStringFunctions?: ToStringFunctions): string;
1232
- concatenate(...toConcatenate: JavascriptIterable<string>[]): Iterable$1<string>;
1233
- map<TOutput>(mapping: (value: string) => TOutput | SyncResult<TOutput>): Iterable$1<TOutput>;
1234
- flatMap<TOutput>(mapping: (value: string) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
1235
- where(condition: (value: string) => (boolean | SyncResult<boolean>)): Iterable$1<string>;
1236
- instanceOf<TOutput extends string>(typeOrTypeCheck: Type<TOutput> | ((value: string) => value is TOutput)): Iterable$1<TOutput>;
535
+ concatenate(...toConcatenate: JavascriptIterable<string>[]): Iterable<string>;
536
+ map<TOutput>(mapping: (value: string) => TOutput | SyncResult<TOutput>): Iterable<TOutput>;
537
+ flatMap<TOutput>(mapping: (value: string) => JavascriptIterable<TOutput>): Iterable<TOutput>;
538
+ where(condition: (value: string) => (boolean | SyncResult<boolean>)): Iterable<string>;
539
+ instanceOf<TOutput extends string>(typeOrTypeCheck: Type<TOutput> | ((value: string) => value is TOutput)): Iterable<TOutput>;
1237
540
  first(condition?: (value: string) => (boolean | SyncResult<boolean>)): SyncResult<string>;
1238
541
  last(condition?: (value: string) => (boolean | SyncResult<boolean>)): SyncResult<string>;
1239
542
  contains(value: string, equalFunctions?: EqualFunctions): SyncResult<boolean>;
@@ -1264,23 +567,6 @@ declare abstract class CharacterReadStream {
1264
567
  static readLine(readStream: CharacterReadStream): AsyncResult<string>;
1265
568
  }
1266
569
 
1267
- declare abstract class CharacterWriteStream {
1268
- /**
1269
- * Write the provided text to this {@link CharacterWriteStream}.
1270
- * @param text The text to write.
1271
- * @returns The number of characters that were written.
1272
- */
1273
- abstract writeString(text: string): AsyncResult<number>;
1274
- /**
1275
- * Write the provided text (if provided) and then write a newline character sequence to this
1276
- * {@link CharacterWriteStream}.
1277
- * @param text The optional text to write before the newline character sequence.
1278
- * @returns The number of characters that were written.
1279
- */
1280
- writeLine(text?: string): AsyncResult<number>;
1281
- static writeLine(writeStream: CharacterWriteStream, text?: string): AsyncResult<number>;
1282
- }
1283
-
1284
570
  /**
1285
571
  * A {@link CharacterReadStream} and {@link CharacterWriteStream} implementation that is implemented using a
1286
572
  * {@link CharacterList}.
@@ -1303,7 +589,7 @@ declare class CharacterListStream implements CharacterReadStream, CharacterWrite
1303
589
  readLine(): AsyncResult<string>;
1304
590
  }
1305
591
 
1306
- declare class CharacterReadStreamAsyncIterator implements AsyncIterator$1<string> {
592
+ declare class CharacterReadStreamAsyncIterator implements AsyncIterator<string> {
1307
593
  private readonly readStream;
1308
594
  private current;
1309
595
  private started;
@@ -1318,55 +604,61 @@ declare class CharacterReadStreamAsyncIterator implements AsyncIterator$1<string
1318
604
  any(): PromiseAsyncResult<boolean>;
1319
605
  getCount(): PromiseAsyncResult<number>;
1320
606
  toArray(): PromiseAsyncResult<string[]>;
1321
- where(condition: (value: string) => boolean | PromiseLike<boolean>): AsyncIterator$1<string>;
1322
- map<TOutput>(mapping: (value: string) => (TOutput | PromiseLike<TOutput>)): AsyncIterator$1<TOutput>;
1323
- whereInstanceOf<U extends string>(typeCheck: (value: string) => value is U): AsyncIterator$1<U>;
1324
- whereInstanceOfType<U extends string>(type: Type<U>): AsyncIterator$1<U>;
607
+ where(condition: (value: string) => boolean | PromiseLike<boolean>): AsyncIterator<string>;
608
+ map<TOutput>(mapping: (value: string) => (TOutput | PromiseLike<TOutput>)): AsyncIterator<TOutput>;
609
+ whereInstanceOf<U extends string>(typeCheck: (value: string) => value is U): AsyncIterator<U>;
610
+ whereInstanceOfType<U extends string>(type: Type<U>): AsyncIterator<U>;
1325
611
  first(condition?: (value: string) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<string>;
1326
612
  last(condition?: (value: string) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<string>;
1327
- take(maximumToTake: number): AsyncIterator$1<string>;
1328
- skip(maximumToSkip: number): AsyncIterator$1<string>;
613
+ take(maximumToTake: number): AsyncIterator<string>;
614
+ skip(maximumToSkip: number): AsyncIterator<string>;
1329
615
  [Symbol.asyncIterator](): JavascriptAsyncIterator<string>;
1330
616
  }
1331
617
 
1332
618
  /**
1333
- * An individual parameter from a {@link CommandLineParameters} object.
619
+ * A class that can be used to define and interact with an application's command line interface.
1334
620
  */
1335
- declare class CommandLineParameter<T> {
1336
- /**
1337
- * The full name of this {@link CommandLineParameter}.
1338
- */
1339
- private readonly name;
1340
- /**
1341
- * The description for this {@link CommandLineParameter}.
1342
- */
1343
- private readonly description;
1344
- /**
1345
- * The function that can be invoked to get this {@link CommandLineParameter}'s value.
1346
- */
1347
- private readonly valueGetter;
621
+ declare class CommandLineParameters {
622
+ private readonly args;
623
+ private readonly parameters;
1348
624
  private constructor();
625
+ static create(args: JavascriptIterable<string>): CommandLineParameters;
626
+ static getArgumentName(arg: string): string | undefined;
627
+ getArguments(): Iterable<string>;
1349
628
  /**
1350
- * Create a new {@link CommandLineParameter}.
1351
- * @param name The full name of the {@link CommandLineParameter}.
1352
- * @param description The description for the {@link CommandLineParameter}.
1353
- * @param valueGetter The function that will be used to get the returned
1354
- * {@link CommandLineParameter}'s value.
1355
- */
1356
- static create<T>(name: string, description: string, valueGetter: () => T): CommandLineParameter<T>;
1357
- /**
1358
- * Get the value for this {@link CommandLineParameter}.
629
+ * Get the value of the first argument that matches one of the provided names.
630
+ * @param names The possible names to look for.
1359
631
  */
1360
- getValue(): T;
632
+ getNamedArgumentStringValue(nameOrNames: string | JavascriptIterable<string>): SyncResult<string>;
633
+ nameOrAliasExists(nameOrAlias: string): boolean;
634
+ add(name: string): CommandLineParameter<string>;
1361
635
  }
1362
636
 
1363
637
  /**
1364
- * A class that can be used to define and interact with an application's command line interface.
638
+ * An individual parameter from a {@link CommandLineParameters} object.
1365
639
  */
1366
- declare class CommandLineParameters {
1367
- private readonly args;
640
+ declare class CommandLineParameter<T> {
641
+ private readonly owner;
642
+ private readonly name;
643
+ private aliases;
644
+ private description;
1368
645
  private constructor();
1369
- static create(args: JavascriptIterable<string>): CommandLineParameters;
646
+ static create<T>(owner: CommandLineParameters, name: string): CommandLineParameter<T>;
647
+ static create<T>(properties: {
648
+ owner: CommandLineParameters;
649
+ name: string;
650
+ }): CommandLineParameter<T>;
651
+ /**
652
+ * Get the name of this {@link CommandLineParameter}.
653
+ */
654
+ getName(): string;
655
+ getAliases(): Iterable<string>;
656
+ private nameOrAliasExists;
657
+ addAlias(alias: string): this;
658
+ addAliases(aliases: JavascriptIterable<string>): this;
659
+ getNameAndAliases(): Iterable<string>;
660
+ getDescription(): string;
661
+ setDescription(description: string): this;
1370
662
  }
1371
663
 
1372
664
  /**
@@ -1430,28 +722,28 @@ declare abstract class Comparer<TLeft, TRight = TLeft> {
1430
722
  static compareNumbers(left: number | undefined | null, right: number | undefined | null): Comparison;
1431
723
  }
1432
724
 
1433
- declare class ConcatenateIterable<T> implements Iterable$1<T> {
725
+ declare class ConcatenateIterable<T> implements Iterable<T> {
1434
726
  private readonly innerIterables;
1435
727
  private constructor();
1436
- static create<T>(innerIterable: Iterable$1<T>, ...toConcatenate: JavascriptIterable<T>[]): ConcatenateIterable<T>;
1437
- iterate(): Iterator$1<T>;
728
+ static create<T>(innerIterable: Iterable<T>, ...toConcatenate: JavascriptIterable<T>[]): ConcatenateIterable<T>;
729
+ iterate(): Iterator<T>;
1438
730
  toArray(): SyncResult<T[]>;
1439
731
  any(): SyncResult<boolean>;
1440
732
  getCount(): SyncResult<number>;
1441
733
  equals(right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1442
734
  toString(toStringFunctions?: ToStringFunctions): string;
1443
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
1444
- map<TOutput>(mapping: (value: T) => TOutput | SyncResult<TOutput>): Iterable$1<TOutput>;
1445
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
1446
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
1447
- instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable$1<TOutput>;
735
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
736
+ map<TOutput>(mapping: (value: T) => TOutput | SyncResult<TOutput>): Iterable<TOutput>;
737
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable<TOutput>;
738
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
739
+ instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable<TOutput>;
1448
740
  first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
1449
741
  last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
1450
742
  contains(value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1451
743
  [Symbol.iterator](): JavascriptIterator<T>;
1452
744
  }
1453
745
 
1454
- declare class ConcatenateIterator<T> implements Iterator$1<T> {
746
+ declare class ConcatenateIterator<T> implements Iterator<T> {
1455
747
  private readonly innerIterators;
1456
748
  private constructor();
1457
749
  static create<T>(...toConcatenate: JavascriptIterable<T>[]): ConcatenateIterator<T>;
@@ -1464,16 +756,16 @@ declare class ConcatenateIterator<T> implements Iterator$1<T> {
1464
756
  any(): SyncResult<boolean>;
1465
757
  getCount(): SyncResult<number>;
1466
758
  toArray(): SyncResult<T[]>;
1467
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator$1<T>;
1468
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterator$1<T>;
1469
- map<TOutput>(mapping: (value: T) => TOutput | SyncResult<TOutput>): Iterator$1<TOutput>;
1470
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
1471
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator$1<U>;
1472
- whereInstanceOfType<U extends T>(type: Type<U>): Iterator$1<U>;
759
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator<T>;
760
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterator<T>;
761
+ map<TOutput>(mapping: (value: T) => TOutput | SyncResult<TOutput>): Iterator<TOutput>;
762
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator<TOutput>;
763
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator<U>;
764
+ whereInstanceOfType<U extends T>(type: Type<U>): Iterator<U>;
1473
765
  first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
1474
766
  last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
1475
- take(maximumToTake: number): Iterator$1<T>;
1476
- skip(maximumToSkip: number): Iterator$1<T>;
767
+ take(maximumToTake: number): Iterator<T>;
768
+ skip(maximumToSkip: number): Iterator<T>;
1477
769
  [Symbol.iterator](): JavascriptIterator<T>;
1478
770
  }
1479
771
 
@@ -1829,7 +1121,7 @@ declare class MutableHttpHeaders implements HttpHeaders {
1829
1121
  private readonly headers;
1830
1122
  private constructor();
1831
1123
  static create(headers?: JavascriptIterable<HttpHeader>): MutableHttpHeaders;
1832
- iterate(): Iterator$1<HttpHeader>;
1124
+ iterate(): Iterator<HttpHeader>;
1833
1125
  get(headerName: string): SyncResult<HttpHeader>;
1834
1126
  getValue(headerName: string): SyncResult<string>;
1835
1127
  /**
@@ -1849,11 +1141,11 @@ declare class MutableHttpHeaders implements HttpHeaders {
1849
1141
  any(): SyncResult<boolean>;
1850
1142
  equals(right: JavascriptIterable<HttpHeader>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1851
1143
  toString(toStringFunctions?: ToStringFunctions): string;
1852
- concatenate(...toConcatenate: JavascriptIterable<HttpHeader>[]): Iterable$1<HttpHeader>;
1853
- map<TOutput>(mapping: (value: HttpHeader) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
1854
- flatMap<TOutput>(mapping: (value: HttpHeader) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
1855
- where(condition: (value: HttpHeader) => (boolean | SyncResult<boolean>)): Iterable$1<HttpHeader>;
1856
- instanceOf<TOutput extends HttpHeader>(typeOrTypeCheck: Type<TOutput> | ((value: HttpHeader) => value is TOutput)): Iterable$1<TOutput>;
1144
+ concatenate(...toConcatenate: JavascriptIterable<HttpHeader>[]): Iterable<HttpHeader>;
1145
+ map<TOutput>(mapping: (value: HttpHeader) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
1146
+ flatMap<TOutput>(mapping: (value: HttpHeader) => JavascriptIterable<TOutput>): Iterable<TOutput>;
1147
+ where(condition: (value: HttpHeader) => (boolean | SyncResult<boolean>)): Iterable<HttpHeader>;
1148
+ instanceOf<TOutput extends HttpHeader>(typeOrTypeCheck: Type<TOutput> | ((value: HttpHeader) => value is TOutput)): Iterable<TOutput>;
1857
1149
  first(condition?: (value: HttpHeader) => (boolean | SyncResult<boolean>)): SyncResult<HttpHeader>;
1858
1150
  last(condition?: (value: HttpHeader) => (boolean | SyncResult<boolean>)): SyncResult<HttpHeader>;
1859
1151
  [Symbol.iterator](): JavascriptIterator<HttpHeader>;
@@ -1863,7 +1155,7 @@ declare class MutableHttpHeaders implements HttpHeaders {
1863
1155
  /**
1864
1156
  * A collection of {@link HttpHeader}s.
1865
1157
  */
1866
- declare abstract class HttpHeaders implements Iterable$1<HttpHeader> {
1158
+ declare abstract class HttpHeaders implements Iterable<HttpHeader> {
1867
1159
  static readonly contentTypeHeaderName: string;
1868
1160
  static create(headers?: JavascriptIterable<HttpHeader>): MutableHttpHeaders;
1869
1161
  /**
@@ -1884,7 +1176,7 @@ declare abstract class HttpHeaders implements Iterable$1<HttpHeader> {
1884
1176
  * Get an {@link Iterator} that can be used to iterate through the {@link HttpHeader}s in this
1885
1177
  * collection.
1886
1178
  */
1887
- abstract iterate(): Iterator$1<HttpHeader>;
1179
+ abstract iterate(): Iterator<HttpHeader>;
1888
1180
  /**
1889
1181
  * Get the {@link HttpHeader}s in this {@link HttpHeaders} object as an array.
1890
1182
  */
@@ -1898,16 +1190,16 @@ declare abstract class HttpHeaders implements Iterable$1<HttpHeader> {
1898
1190
  static equals(headers: HttpHeaders, right: JavascriptIterable<HttpHeader>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1899
1191
  toString(toStringFunctions?: ToStringFunctions): string;
1900
1192
  static toString(headers: HttpHeaders, toStringFunctions?: ToStringFunctions): string;
1901
- concatenate(...toConcatenate: JavascriptIterable<HttpHeader>[]): Iterable$1<HttpHeader>;
1902
- static concatenate(headers: HttpHeaders, ...toConcatenate: JavascriptIterable<HttpHeader>[]): Iterable$1<HttpHeader>;
1903
- map<TOutput>(mapping: (value: HttpHeader) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
1904
- static map<TOutput>(headers: HttpHeaders, mapping: (value: HttpHeader) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
1905
- flatMap<TOutput>(mapping: (value: HttpHeader) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
1906
- static flatMap<TOutput>(headers: HttpHeaders, mapping: (value: HttpHeader) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
1907
- where(condition: (value: HttpHeader) => boolean): Iterable$1<HttpHeader>;
1908
- static where(headers: HttpHeaders, condition: (value: HttpHeader) => (boolean | SyncResult<boolean>)): Iterable$1<HttpHeader>;
1909
- instanceOf<TOutput extends HttpHeader>(typeOrTypeCheck: Type<TOutput> | ((value: HttpHeader) => value is TOutput)): Iterable$1<TOutput>;
1910
- static instanceOf<TOutput extends HttpHeader>(headers: HttpHeaders, typeOrTypeCheck: Type<TOutput> | ((value: HttpHeader) => value is TOutput)): Iterable$1<TOutput>;
1193
+ concatenate(...toConcatenate: JavascriptIterable<HttpHeader>[]): Iterable<HttpHeader>;
1194
+ static concatenate(headers: HttpHeaders, ...toConcatenate: JavascriptIterable<HttpHeader>[]): Iterable<HttpHeader>;
1195
+ map<TOutput>(mapping: (value: HttpHeader) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
1196
+ static map<TOutput>(headers: HttpHeaders, mapping: (value: HttpHeader) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
1197
+ flatMap<TOutput>(mapping: (value: HttpHeader) => JavascriptIterable<TOutput>): Iterable<TOutput>;
1198
+ static flatMap<TOutput>(headers: HttpHeaders, mapping: (value: HttpHeader) => JavascriptIterable<TOutput>): Iterable<TOutput>;
1199
+ where(condition: (value: HttpHeader) => boolean): Iterable<HttpHeader>;
1200
+ static where(headers: HttpHeaders, condition: (value: HttpHeader) => (boolean | SyncResult<boolean>)): Iterable<HttpHeader>;
1201
+ instanceOf<TOutput extends HttpHeader>(typeOrTypeCheck: Type<TOutput> | ((value: HttpHeader) => value is TOutput)): Iterable<TOutput>;
1202
+ static instanceOf<TOutput extends HttpHeader>(headers: HttpHeaders, typeOrTypeCheck: Type<TOutput> | ((value: HttpHeader) => value is TOutput)): Iterable<TOutput>;
1911
1203
  first(condition?: (value: HttpHeader) => (boolean | SyncResult<boolean>)): SyncResult<HttpHeader>;
1912
1204
  static first(headers: HttpHeaders, condition?: (value: HttpHeader) => (boolean | SyncResult<boolean>)): SyncResult<HttpHeader>;
1913
1205
  last(condition?: (value: HttpHeader) => (boolean | SyncResult<boolean>)): SyncResult<HttpHeader>;
@@ -2188,7 +1480,7 @@ declare class CurrentProcess {
2188
1480
  private constructor();
2189
1481
  static create(): CurrentProcess;
2190
1482
  static run(action: (currentProcess: CurrentProcess) => void | number | Promise<void | number>): Promise<void>;
2191
- getArguments(): JavascriptIterable<string>;
1483
+ getArguments(): Iterable<string>;
2192
1484
  setArguments(args: JavascriptIterable<string>): this;
2193
1485
  getParameters(): CommandLineParameters;
2194
1486
  getOutputWriteStream(): CharacterWriteStream;
@@ -2271,11 +1563,11 @@ declare abstract class SearchControl<TVisit, TResult> {
2271
1563
  abstract break(): never;
2272
1564
  }
2273
1565
 
2274
- declare function depthFirstSearch<TVisit, TResult>(initialToVisit: JavascriptIterable<TVisit>, searchAction: (searchControl: SearchControl<TVisit, TResult>, current: TVisit) => void): Iterator$1<TResult>;
1566
+ declare function depthFirstSearch<TVisit, TResult>(initialToVisit: JavascriptIterable<TVisit>, searchAction: (searchControl: SearchControl<TVisit, TResult>, current: TVisit) => void): Iterator<TResult>;
2275
1567
  declare function depthFirstSearch<TVisit, TResult>(parameters: {
2276
1568
  initialToVisit: JavascriptIterable<TVisit>;
2277
1569
  searchAction: (searchControl: SearchControl<TVisit, TResult>, current: TVisit) => void;
2278
- }): Iterator$1<TResult>;
1570
+ }): Iterator<TResult>;
2279
1571
 
2280
1572
  /**
2281
1573
  * An {@link Error} that is created when something is empty.
@@ -2312,35 +1604,35 @@ declare class FetchHttpClient implements HttpClient {
2312
1604
  static convertMethod(method: HttpMethod): string;
2313
1605
  }
2314
1606
 
2315
- declare class FlatMapIterable<TInput, TOutput> implements Iterable$1<TOutput> {
1607
+ declare class FlatMapIterable<TInput, TOutput> implements Iterable<TOutput> {
2316
1608
  private readonly innerIterable;
2317
1609
  private readonly mapping;
2318
1610
  private constructor();
2319
- static create<TInput, TOutput>(innerIterable: Iterable$1<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): FlatMapIterable<TInput, TOutput>;
2320
- iterate(): Iterator$1<TOutput>;
1611
+ static create<TInput, TOutput>(innerIterable: Iterable<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): FlatMapIterable<TInput, TOutput>;
1612
+ iterate(): Iterator<TOutput>;
2321
1613
  toArray(): SyncResult<TOutput[]>;
2322
1614
  any(): SyncResult<boolean>;
2323
1615
  getCount(): SyncResult<number>;
2324
1616
  equals(right: JavascriptIterable<TOutput>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2325
1617
  toString(toStringFunctions?: ToStringFunctions): string;
2326
- concatenate(...toConcatenate: JavascriptIterable<TOutput>[]): Iterable$1<TOutput>;
2327
- map<TOutput2>(mapping: (value: TOutput) => TOutput2 | SyncResult<TOutput2>): Iterable$1<TOutput2>;
2328
- flatMap<TOutput2>(mapping: (value: TOutput) => JavascriptIterable<TOutput2>): Iterable$1<TOutput2>;
2329
- where(condition: (value: TOutput) => (boolean | SyncResult<boolean>)): Iterable$1<TOutput>;
2330
- instanceOf<TOutput2 extends TOutput>(typeOrTypeCheck: Type<TOutput2> | ((value: TOutput2) => value is TOutput2)): Iterable$1<TOutput2>;
1618
+ concatenate(...toConcatenate: JavascriptIterable<TOutput>[]): Iterable<TOutput>;
1619
+ map<TOutput2>(mapping: (value: TOutput) => TOutput2 | SyncResult<TOutput2>): Iterable<TOutput2>;
1620
+ flatMap<TOutput2>(mapping: (value: TOutput) => JavascriptIterable<TOutput2>): Iterable<TOutput2>;
1621
+ where(condition: (value: TOutput) => (boolean | SyncResult<boolean>)): Iterable<TOutput>;
1622
+ instanceOf<TOutput2 extends TOutput>(typeOrTypeCheck: Type<TOutput2> | ((value: TOutput2) => value is TOutput2)): Iterable<TOutput2>;
2331
1623
  first(condition?: ((value: TOutput) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<TOutput>;
2332
1624
  last(condition?: ((value: TOutput) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<TOutput>;
2333
1625
  contains(value: TOutput, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2334
1626
  [Symbol.iterator](): JavascriptIterator<TOutput>;
2335
1627
  }
2336
1628
 
2337
- declare class FlatMapIterator<TInput, TOutput> implements Iterator$1<TOutput> {
1629
+ declare class FlatMapIterator<TInput, TOutput> implements Iterator<TOutput> {
2338
1630
  private readonly innerIterator;
2339
1631
  private readonly mapping;
2340
1632
  private mappingIterator;
2341
1633
  private started;
2342
1634
  private constructor();
2343
- static create<TInput, TOutput>(innerIterator: Iterator$1<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): FlatMapIterator<TInput, TOutput>;
1635
+ static create<TInput, TOutput>(innerIterator: Iterator<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): FlatMapIterator<TInput, TOutput>;
2344
1636
  next(): SyncResult<boolean>;
2345
1637
  hasStarted(): boolean;
2346
1638
  hasCurrent(): boolean;
@@ -2350,16 +1642,16 @@ declare class FlatMapIterator<TInput, TOutput> implements Iterator$1<TOutput> {
2350
1642
  any(): SyncResult<boolean>;
2351
1643
  getCount(): SyncResult<number>;
2352
1644
  toArray(): SyncResult<TOutput[]>;
2353
- concatenate(...toConcatenate: JavascriptIterable<TOutput>[]): Iterator$1<TOutput>;
2354
- where(condition: (value: TOutput) => (boolean | SyncResult<boolean>)): Iterator$1<TOutput>;
2355
- map<TOutput2>(mapping: (value: TOutput) => (TOutput2 | SyncResult<TOutput2>)): Iterator$1<TOutput2>;
2356
- flatMap<TOutput2>(mapping: (value: TOutput) => JavascriptIterable<TOutput2>): Iterator$1<TOutput2>;
2357
- whereInstanceOf<U extends TOutput>(typeCheck: (value: TOutput) => value is U): Iterator$1<U>;
2358
- whereInstanceOfType<U extends TOutput>(type: Type<U>): Iterator$1<U>;
1645
+ concatenate(...toConcatenate: JavascriptIterable<TOutput>[]): Iterator<TOutput>;
1646
+ where(condition: (value: TOutput) => (boolean | SyncResult<boolean>)): Iterator<TOutput>;
1647
+ map<TOutput2>(mapping: (value: TOutput) => (TOutput2 | SyncResult<TOutput2>)): Iterator<TOutput2>;
1648
+ flatMap<TOutput2>(mapping: (value: TOutput) => JavascriptIterable<TOutput2>): Iterator<TOutput2>;
1649
+ whereInstanceOf<U extends TOutput>(typeCheck: (value: TOutput) => value is U): Iterator<U>;
1650
+ whereInstanceOfType<U extends TOutput>(type: Type<U>): Iterator<U>;
2359
1651
  first(condition?: ((value: TOutput) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<TOutput>;
2360
1652
  last(condition?: ((value: TOutput) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<TOutput>;
2361
- take(maximumToTake: number): Iterator$1<TOutput>;
2362
- skip(maximumToSkip: number): Iterator$1<TOutput>;
1653
+ take(maximumToTake: number): Iterator<TOutput>;
1654
+ skip(maximumToSkip: number): Iterator<TOutput>;
2363
1655
  [Symbol.iterator](): JavascriptIterator<TOutput>;
2364
1656
  }
2365
1657
 
@@ -2386,7 +1678,7 @@ interface GeneratorControl<T> {
2386
1678
  */
2387
1679
  getCurrent(): T;
2388
1680
  }
2389
- declare class Generator<T> implements Iterator$1<T> {
1681
+ declare class Generator<T> implements Iterator<T> {
2390
1682
  private readonly control;
2391
1683
  private readonly generatorAction;
2392
1684
  private started;
@@ -2401,16 +1693,16 @@ declare class Generator<T> implements Iterator$1<T> {
2401
1693
  any(): SyncResult<boolean>;
2402
1694
  getCount(): SyncResult<number>;
2403
1695
  toArray(): SyncResult<T[]>;
2404
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator$1<T>;
2405
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterator$1<T>;
2406
- map<TOutput>(mapping: (value: T) => TOutput | SyncResult<TOutput>): Iterator$1<TOutput>;
2407
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
2408
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator$1<U>;
2409
- whereInstanceOfType<U extends T>(type: Type<U>): Iterator$1<U>;
1696
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator<T>;
1697
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterator<T>;
1698
+ map<TOutput>(mapping: (value: T) => TOutput | SyncResult<TOutput>): Iterator<TOutput>;
1699
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator<TOutput>;
1700
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator<U>;
1701
+ whereInstanceOfType<U extends T>(type: Type<U>): Iterator<U>;
2410
1702
  first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
2411
1703
  last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
2412
- take(maximumToTake: number): Iterator$1<T>;
2413
- skip(maximumToSkip: number): Iterator$1<T>;
1704
+ take(maximumToTake: number): Iterator<T>;
1705
+ skip(maximumToSkip: number): Iterator<T>;
2414
1706
  [Symbol.iterator](): JavascriptIterator<T>;
2415
1707
  }
2416
1708
 
@@ -2434,7 +1726,7 @@ declare class IteratorToJavascriptIteratorAdapter<T> implements JavascriptIterat
2434
1726
  private readonly iterator;
2435
1727
  private hasStarted;
2436
1728
  private constructor();
2437
- static create<T>(iterator: Iterator$1<T>): IteratorToJavascriptIteratorAdapter<T>;
1729
+ static create<T>(iterator: Iterator<T>): IteratorToJavascriptIteratorAdapter<T>;
2438
1730
  next(): JavascriptIteratorResult<T>;
2439
1731
  }
2440
1732
 
@@ -2443,7 +1735,7 @@ declare class JavascriptArrayList<T> implements List<T> {
2443
1735
  private constructor();
2444
1736
  static create<T>(values?: JavascriptIterable<T>): JavascriptArrayList<T>;
2445
1737
  set(index: number, value: T): this;
2446
- iterate(): Iterator$1<T>;
1738
+ iterate(): Iterator<T>;
2447
1739
  getCount(): SyncResult<number>;
2448
1740
  get(index: number): SyncResult<T>;
2449
1741
  insert(index: number, value: T): this;
@@ -2458,18 +1750,18 @@ declare class JavascriptArrayList<T> implements List<T> {
2458
1750
  any(): SyncResult<boolean>;
2459
1751
  equals(right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2460
1752
  toString(toStringFunctions?: ToStringFunctions): string;
2461
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
2462
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
2463
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2464
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
2465
- instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable$1<TOutput>;
1753
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
1754
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
1755
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable<TOutput>;
1756
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
1757
+ instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable<TOutput>;
2466
1758
  first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
2467
1759
  last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
2468
1760
  [Symbol.iterator](): JavascriptIterator<T>;
2469
1761
  contains(value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2470
1762
  }
2471
1763
 
2472
- declare class JavascriptAsyncIteratorToAsyncIteratorAdapter<T> implements AsyncIterator$1<T> {
1764
+ declare class JavascriptAsyncIteratorToAsyncIteratorAdapter<T> implements AsyncIterator<T> {
2473
1765
  private readonly javascriptIterator;
2474
1766
  private javascriptIteratorResult?;
2475
1767
  private constructor();
@@ -2483,18 +1775,18 @@ declare class JavascriptAsyncIteratorToAsyncIteratorAdapter<T> implements AsyncI
2483
1775
  any(): PromiseAsyncResult<boolean>;
2484
1776
  getCount(): PromiseAsyncResult<number>;
2485
1777
  toArray(): PromiseAsyncResult<T[]>;
2486
- map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator$1<TOutput>;
1778
+ map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator<TOutput>;
2487
1779
  [Symbol.asyncIterator](): JavascriptAsyncIterator<T>;
2488
1780
  first(condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
2489
1781
  last(condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
2490
- where(condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator$1<T>;
2491
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator$1<U>;
2492
- whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator$1<U>;
2493
- take(maximumToTake: number): AsyncIterator$1<T>;
2494
- skip(maximumToSkip: number): AsyncIterator$1<T>;
1782
+ where(condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator<T>;
1783
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator<U>;
1784
+ whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator<U>;
1785
+ take(maximumToTake: number): AsyncIterator<T>;
1786
+ skip(maximumToSkip: number): AsyncIterator<T>;
2495
1787
  }
2496
1788
 
2497
- declare class JavascriptIteratorToIteratorAdapter<T> implements Iterator$1<T> {
1789
+ declare class JavascriptIteratorToIteratorAdapter<T> implements Iterator<T> {
2498
1790
  private readonly javascriptIterator;
2499
1791
  private javascriptIteratorResult?;
2500
1792
  private constructor();
@@ -2508,17 +1800,17 @@ declare class JavascriptIteratorToIteratorAdapter<T> implements Iterator$1<T> {
2508
1800
  any(): SyncResult<boolean>;
2509
1801
  getCount(): SyncResult<number>;
2510
1802
  toArray(): SyncResult<T[]>;
2511
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator$1<T>;
2512
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator$1<TOutput>;
2513
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
1803
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator<T>;
1804
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator<TOutput>;
1805
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator<TOutput>;
2514
1806
  [Symbol.iterator](): JavascriptIterator<T>;
2515
1807
  first(condition?: (value: T) => boolean): SyncResult<T>;
2516
1808
  last(): SyncResult<T>;
2517
- where(condition: (value: T) => boolean): Iterator$1<T>;
2518
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator$1<U>;
2519
- whereInstanceOfType<U extends T>(type: Type<U>): Iterator$1<U>;
2520
- take(maximumToTake: number): Iterator$1<T>;
2521
- skip(maximumToSkip: number): Iterator$1<T>;
1809
+ where(condition: (value: T) => boolean): Iterator<T>;
1810
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator<U>;
1811
+ whereInstanceOfType<U extends T>(type: Type<U>): Iterator<U>;
1812
+ take(maximumToTake: number): Iterator<T>;
1813
+ skip(maximumToSkip: number): Iterator<T>;
2522
1814
  }
2523
1815
 
2524
1816
  /**
@@ -2529,7 +1821,7 @@ declare function isMutableMap(value: unknown): value is MutableMap<unknown, unkn
2529
1821
  /**
2530
1822
  * A type that maps {@link TKey} values to {@link TValue} values.
2531
1823
  */
2532
- declare abstract class MutableMap<TKey, TValue> implements Map$1<TKey, TValue> {
1824
+ declare abstract class MutableMap<TKey, TValue> implements Map<TKey, TValue> {
2533
1825
  /**
2534
1826
  * Create a new instance of the default {@link Map} implementation.
2535
1827
  */
@@ -2537,13 +1829,13 @@ declare abstract class MutableMap<TKey, TValue> implements Map$1<TKey, TValue> {
2537
1829
  /**
2538
1830
  * Iterate over the entries in this {@link MutableMap}.
2539
1831
  */
2540
- abstract iterate(): Iterator$1<MapEntry<TKey, TValue>>;
1832
+ abstract iterate(): Iterator<MapEntry<TKey, TValue>>;
2541
1833
  any(): SyncResult<boolean>;
2542
1834
  static any<TKey, TValue>(map: MutableMap<TKey, TValue>): SyncResult<boolean>;
2543
1835
  toArray(): SyncResult<MapEntry<TKey, TValue>[]>;
2544
1836
  static toArray<TKey, TValue>(map: MutableMap<TKey, TValue>): SyncResult<MapEntry<TKey, TValue>[]>;
2545
- equals(right: Iterable$1<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2546
- static equals<TKey, TValue>(left: MutableMap<TKey, TValue>, right: Iterable$1<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1837
+ equals(right: Iterable<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1838
+ static equals<TKey, TValue>(left: MutableMap<TKey, TValue>, right: Iterable<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2547
1839
  /**
2548
1840
  * Get the {@link String} representation of this {@link MutableMap}.
2549
1841
  */
@@ -2552,16 +1844,16 @@ declare abstract class MutableMap<TKey, TValue> implements Map$1<TKey, TValue> {
2552
1844
  * Get the {@link String} representation of the provided {@link MutableMap}.
2553
1845
  */
2554
1846
  static toString<TKey, TValue>(map: MutableMap<TKey, TValue>, toStringFunctions?: ToStringFunctions): string;
2555
- concatenate(...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable$1<MapEntry<TKey, TValue>>;
2556
- static concatenate<TKey, TValue>(map: MutableMap<TKey, TValue>, ...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable$1<MapEntry<TKey, TValue>>;
2557
- map<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
2558
- static map<TKey, TValue, TOutput>(map: MutableMap<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
2559
- flatMap<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2560
- static flatMap<TKey, TValue, TOutput>(map: MutableMap<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2561
- where(condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable$1<MapEntry<TKey, TValue>>;
2562
- static where<TKey, TValue>(map: MutableMap<TKey, TValue>, condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable$1<MapEntry<TKey, TValue>>;
2563
- instanceOf<T extends MapEntry<TKey, TValue>>(typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable$1<T>;
2564
- static instanceOf<TKey, TValue, T extends MapEntry<TKey, TValue>>(map: MutableMap<TKey, TValue>, typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable$1<T>;
1847
+ concatenate(...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable<MapEntry<TKey, TValue>>;
1848
+ static concatenate<TKey, TValue>(map: MutableMap<TKey, TValue>, ...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable<MapEntry<TKey, TValue>>;
1849
+ map<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
1850
+ static map<TKey, TValue, TOutput>(map: MutableMap<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
1851
+ flatMap<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable<TOutput>;
1852
+ static flatMap<TKey, TValue, TOutput>(map: MutableMap<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable<TOutput>;
1853
+ where(condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable<MapEntry<TKey, TValue>>;
1854
+ static where<TKey, TValue>(map: MutableMap<TKey, TValue>, condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable<MapEntry<TKey, TValue>>;
1855
+ instanceOf<T extends MapEntry<TKey, TValue>>(typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable<T>;
1856
+ static instanceOf<TKey, TValue, T extends MapEntry<TKey, TValue>>(map: MutableMap<TKey, TValue>, typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable<T>;
2565
1857
  [Symbol.iterator](): JavascriptIterator<MapEntry<TKey, TValue>>;
2566
1858
  static [Symbol.iterator]<TKey, TValue>(map: MutableMap<TKey, TValue>): JavascriptIterator<MapEntry<TKey, TValue>>;
2567
1859
  /**
@@ -2619,21 +1911,21 @@ declare abstract class MutableMap<TKey, TValue> implements Map$1<TKey, TValue> {
2619
1911
  /**
2620
1912
  * Iterate over the keys in this {@link MutableMap}.
2621
1913
  */
2622
- iterateKeys(): Iterator$1<TKey>;
1914
+ iterateKeys(): Iterator<TKey>;
2623
1915
  /**
2624
1916
  * Iterate over the keys in the {@link MutableMap}.
2625
1917
  * @param map The map to iterate over.
2626
1918
  */
2627
- static iterateKeys<TKey, TValue>(map: MutableMap<TKey, TValue>): Iterator$1<TKey>;
1919
+ static iterateKeys<TKey, TValue>(map: MutableMap<TKey, TValue>): Iterator<TKey>;
2628
1920
  /**
2629
1921
  * Iterate over the values in this {@link MutableMap}.
2630
1922
  */
2631
- iterateValues(): Iterator$1<TValue>;
1923
+ iterateValues(): Iterator<TValue>;
2632
1924
  /**
2633
1925
  * Iterate over the keys in the {@link MutableMap}.
2634
1926
  * @param map The map to iterate over.
2635
1927
  */
2636
- static iterateValues<TKey, TValue>(map: MutableMap<TKey, TValue>): Iterator$1<TValue>;
1928
+ static iterateValues<TKey, TValue>(map: MutableMap<TKey, TValue>): Iterator<TValue>;
2637
1929
  contains(value: MapEntry<TKey, TValue>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2638
1930
  static contains<TKey, TValue>(map: MutableMap<TKey, TValue>, value: MapEntry<TKey, TValue>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2639
1931
  }
@@ -2642,7 +1934,7 @@ declare abstract class MutableMap<TKey, TValue> implements Map$1<TKey, TValue> {
2642
1934
  * Get whether the provided value is {@link Map}.
2643
1935
  * @param value The value to check.
2644
1936
  */
2645
- declare function isMap(value: unknown): value is Map$1<unknown, unknown>;
1937
+ declare function isMap(value: unknown): value is Map<unknown, unknown>;
2646
1938
  /**
2647
1939
  * An entry within a {@link Map}.
2648
1940
  */
@@ -2659,7 +1951,7 @@ interface MapEntry<TKey, TValue> {
2659
1951
  /**
2660
1952
  * A type that maps {@link TKey} values to {@link TValue} values.
2661
1953
  */
2662
- declare abstract class Map$1<TKey, TValue> implements Iterable$1<MapEntry<TKey, TValue>> {
1954
+ declare abstract class Map<TKey, TValue> implements Iterable<MapEntry<TKey, TValue>> {
2663
1955
  /**
2664
1956
  * Create a new instance of the default {@link MutableMap} implementation.
2665
1957
  */
@@ -2667,13 +1959,13 @@ declare abstract class Map$1<TKey, TValue> implements Iterable$1<MapEntry<TKey,
2667
1959
  /**
2668
1960
  * Iterate over the entries in this {@link Map}.
2669
1961
  */
2670
- abstract iterate(): Iterator$1<MapEntry<TKey, TValue>>;
1962
+ abstract iterate(): Iterator<MapEntry<TKey, TValue>>;
2671
1963
  any(): SyncResult<boolean>;
2672
- static any<TKey, TValue>(map: Map$1<TKey, TValue>): SyncResult<boolean>;
1964
+ static any<TKey, TValue>(map: Map<TKey, TValue>): SyncResult<boolean>;
2673
1965
  toArray(): SyncResult<MapEntry<TKey, TValue>[]>;
2674
- static toArray<TKey, TValue>(map: Map$1<TKey, TValue>): SyncResult<MapEntry<TKey, TValue>[]>;
2675
- equals(right: Iterable$1<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2676
- static equals<TKey, TValue>(left: Map$1<TKey, TValue>, right: Iterable$1<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1966
+ static toArray<TKey, TValue>(map: Map<TKey, TValue>): SyncResult<MapEntry<TKey, TValue>[]>;
1967
+ equals(right: Iterable<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
1968
+ static equals<TKey, TValue>(left: Map<TKey, TValue>, right: Iterable<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2677
1969
  /**
2678
1970
  * Get the {@link String} representation of this {@link Map}.
2679
1971
  */
@@ -2681,28 +1973,28 @@ declare abstract class Map$1<TKey, TValue> implements Iterable$1<MapEntry<TKey,
2681
1973
  /**
2682
1974
  * Get the {@link String} representation of the provided {@link Map}.
2683
1975
  */
2684
- static toString<TKey, TValue>(map: Map$1<TKey, TValue>, toStringFunctions?: ToStringFunctions): string;
2685
- concatenate(...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable$1<MapEntry<TKey, TValue>>;
2686
- static concatenate<TKey, TValue>(map: Map$1<TKey, TValue>, ...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable$1<MapEntry<TKey, TValue>>;
2687
- map<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
2688
- static map<TKey, TValue, TOutput>(map: Map$1<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
2689
- flatMap<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2690
- static flatMap<TKey, TValue, TOutput>(map: Map$1<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2691
- where(condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable$1<MapEntry<TKey, TValue>>;
2692
- static where<TKey, TValue>(map: Map$1<TKey, TValue>, condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable$1<MapEntry<TKey, TValue>>;
2693
- instanceOf<T extends MapEntry<TKey, TValue>>(typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable$1<T>;
2694
- static instanceOf<TKey, TValue, T extends MapEntry<TKey, TValue>>(map: Map$1<TKey, TValue>, typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable$1<T>;
1976
+ static toString<TKey, TValue>(map: Map<TKey, TValue>, toStringFunctions?: ToStringFunctions): string;
1977
+ concatenate(...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable<MapEntry<TKey, TValue>>;
1978
+ static concatenate<TKey, TValue>(map: Map<TKey, TValue>, ...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable<MapEntry<TKey, TValue>>;
1979
+ map<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
1980
+ static map<TKey, TValue, TOutput>(map: Map<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
1981
+ flatMap<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable<TOutput>;
1982
+ static flatMap<TKey, TValue, TOutput>(map: Map<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable<TOutput>;
1983
+ where(condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable<MapEntry<TKey, TValue>>;
1984
+ static where<TKey, TValue>(map: Map<TKey, TValue>, condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable<MapEntry<TKey, TValue>>;
1985
+ instanceOf<T extends MapEntry<TKey, TValue>>(typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable<T>;
1986
+ static instanceOf<TKey, TValue, T extends MapEntry<TKey, TValue>>(map: Map<TKey, TValue>, typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable<T>;
2695
1987
  [Symbol.iterator](): JavascriptIterator<MapEntry<TKey, TValue>>;
2696
- static [Symbol.iterator]<TKey, TValue>(map: Map$1<TKey, TValue>): JavascriptIterator<MapEntry<TKey, TValue>>;
1988
+ static [Symbol.iterator]<TKey, TValue>(map: Map<TKey, TValue>): JavascriptIterator<MapEntry<TKey, TValue>>;
2697
1989
  /**
2698
1990
  * Get the number of entries in this {@link Map}.
2699
1991
  */
2700
1992
  getCount(): SyncResult<number>;
2701
- static getCount<TKey, TValue>(map: Map$1<TKey, TValue>): SyncResult<number>;
1993
+ static getCount<TKey, TValue>(map: Map<TKey, TValue>): SyncResult<number>;
2702
1994
  first(condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
2703
- static first<TKey, TValue>(map: Map$1<TKey, TValue>, condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
1995
+ static first<TKey, TValue>(map: Map<TKey, TValue>, condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
2704
1996
  last(condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
2705
- static last<TKey, TValue>(map: Map$1<TKey, TValue>, condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
1997
+ static last<TKey, TValue>(map: Map<TKey, TValue>, condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
2706
1998
  /**
2707
1999
  * Get whether this {@link Map} contains the provided key.
2708
2000
  * @param key The key to look for.
@@ -2716,23 +2008,23 @@ declare abstract class Map$1<TKey, TValue> implements Iterable$1<MapEntry<TKey,
2716
2008
  /**
2717
2009
  * Iterate over the keys in this {@link Map}.
2718
2010
  */
2719
- iterateKeys(): Iterator$1<TKey>;
2011
+ iterateKeys(): Iterator<TKey>;
2720
2012
  /**
2721
2013
  * Iterate over the keys in the {@link Map}.
2722
2014
  * @param map The map to iterate over.
2723
2015
  */
2724
- static iterateKeys<TKey, TValue>(map: Map$1<TKey, TValue>): Iterator$1<TKey>;
2016
+ static iterateKeys<TKey, TValue>(map: Map<TKey, TValue>): Iterator<TKey>;
2725
2017
  /**
2726
2018
  * Iterate over the values in this {@link Map}.
2727
2019
  */
2728
- iterateValues(): Iterator$1<TValue>;
2020
+ iterateValues(): Iterator<TValue>;
2729
2021
  /**
2730
2022
  * Iterate over the keys in the {@link Map}.
2731
2023
  * @param map The map to iterate over.
2732
2024
  */
2733
- static iterateValues<TKey, TValue>(map: Map$1<TKey, TValue>): Iterator$1<TValue>;
2025
+ static iterateValues<TKey, TValue>(map: Map<TKey, TValue>): Iterator<TValue>;
2734
2026
  contains(value: MapEntry<TKey, TValue>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2735
- static contains<TKey, TValue>(map: Map$1<TKey, TValue>, value: MapEntry<TKey, TValue>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2027
+ static contains<TKey, TValue>(map: Map<TKey, TValue>, value: MapEntry<TKey, TValue>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2736
2028
  }
2737
2029
 
2738
2030
  declare class JavascriptMapMap<TKey, TValue> implements MutableMap<TKey, TValue> {
@@ -2745,17 +2037,17 @@ declare class JavascriptMapMap<TKey, TValue> implements MutableMap<TKey, TValue>
2745
2037
  get(key: TKey): SyncResult<TValue>;
2746
2038
  set(key: TKey, value: TValue): this;
2747
2039
  remove(key: TKey): SyncResult<TValue>;
2748
- iterate(): Iterator$1<MapEntry<TKey, TValue>>;
2749
- iterateKeys(): Iterator$1<TKey>;
2750
- iterateValues(): Iterator$1<TValue>;
2040
+ iterate(): Iterator<MapEntry<TKey, TValue>>;
2041
+ iterateKeys(): Iterator<TKey>;
2042
+ iterateValues(): Iterator<TValue>;
2751
2043
  toArray(): SyncResult<MapEntry<TKey, TValue>[]>;
2752
- equals(right: Iterable$1<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2044
+ equals(right: Iterable<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2753
2045
  toString(toStringFunctions?: ToStringFunctions): string;
2754
- concatenate(...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable$1<MapEntry<TKey, TValue>>;
2755
- map<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
2756
- flatMap<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2757
- where(condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable$1<MapEntry<TKey, TValue>>;
2758
- instanceOf<T extends MapEntry<TKey, TValue>>(typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable$1<T>;
2046
+ concatenate(...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable<MapEntry<TKey, TValue>>;
2047
+ map<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
2048
+ flatMap<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable<TOutput>;
2049
+ where(condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable<MapEntry<TKey, TValue>>;
2050
+ instanceOf<T extends MapEntry<TKey, TValue>>(typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable<T>;
2759
2051
  first(condition?: ((entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<MapEntry<TKey, TValue>>;
2760
2052
  last(condition?: ((entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<MapEntry<TKey, TValue>>;
2761
2053
  getOrSet(key: TKey, valueCreator: () => TValue | SyncResult<TValue>): SyncResult<TValue>;
@@ -2767,8 +2059,8 @@ declare class JavascriptMapMap<TKey, TValue> implements MutableMap<TKey, TValue>
2767
2059
  * Get whether the provided value is a {@link Set}.
2768
2060
  * @param value The value to check.
2769
2061
  */
2770
- declare function isSet(value: unknown): value is Set$1<unknown>;
2771
- declare abstract class Set$1<T> implements Iterable$1<T> {
2062
+ declare function isSet(value: unknown): value is Set<unknown>;
2063
+ declare abstract class Set<T> implements Iterable<T> {
2772
2064
  static create<T>(initialValues?: JavascriptIterable<T>): JavascriptSetSet<T>;
2773
2065
  /**
2774
2066
  * Add the provided value to this {@link Set}.
@@ -2776,66 +2068,66 @@ declare abstract class Set$1<T> implements Iterable$1<T> {
2776
2068
  */
2777
2069
  abstract add(value: T): this;
2778
2070
  addAll(values: JavascriptIterable<T>): this;
2779
- static addAll<T, TSet extends Set$1<T>>(set: TSet, values: JavascriptIterable<T>): TSet;
2071
+ static addAll<T, TSet extends Set<T>>(set: TSet, values: JavascriptIterable<T>): TSet;
2780
2072
  /**
2781
2073
  * Remove the provided value from this {@link Set}. Return a {@link NotFoundError} if the value
2782
2074
  * is not found.
2783
2075
  * @param value The value to remove.
2784
2076
  */
2785
2077
  abstract remove(value: T): SyncResult<void>;
2786
- abstract iterate(): Iterator$1<T>;
2787
- union(values: JavascriptIterable<T>): Set$1<T>;
2788
- static union<T>(set: Set$1<T>, values: JavascriptIterable<T>): Set$1<T>;
2078
+ abstract iterate(): Iterator<T>;
2079
+ union(values: JavascriptIterable<T>): Set<T>;
2080
+ static union<T>(set: Set<T>, values: JavascriptIterable<T>): Set<T>;
2789
2081
  toArray(): SyncResult<T[]>;
2790
- static toArray<T>(set: Set$1<T>): SyncResult<T[]>;
2082
+ static toArray<T>(set: Set<T>): SyncResult<T[]>;
2791
2083
  any(): SyncResult<boolean>;
2792
- static any<T>(set: Set$1<T>): SyncResult<boolean>;
2084
+ static any<T>(set: Set<T>): SyncResult<boolean>;
2793
2085
  getCount(): SyncResult<number>;
2794
- static getCount<T>(set: Set$1<T>): SyncResult<number>;
2086
+ static getCount<T>(set: Set<T>): SyncResult<number>;
2795
2087
  equals(right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2796
- static equals<T>(left: Set$1<T>, right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2797
- static equalSet<T>(left: Set$1<T>, right: Set$1<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2088
+ static equals<T>(left: Set<T>, right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2089
+ static equalSet<T>(left: Set<T>, right: Set<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2798
2090
  toString(toStringFunctions?: ToStringFunctions): string;
2799
- static toString<T>(set: Set$1<T>, toStringFunctions?: ToStringFunctions): string;
2800
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
2801
- static concatenate<T>(set: Set$1<T>, ...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
2802
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
2803
- static map<TInput, TOutput>(set: Set$1<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
2804
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2805
- static flatMap<TInput, TOutput>(set: Set$1<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2806
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
2807
- static where<T>(set: Set$1<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
2808
- instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable$1<TOutput>;
2809
- static instanceOf<TInput, TOutput extends TInput>(set: Set$1<TInput>, typeOrTypeCheck: Type<TOutput> | ((value: TInput) => value is TOutput)): Iterable$1<TOutput>;
2091
+ static toString<T>(set: Set<T>, toStringFunctions?: ToStringFunctions): string;
2092
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
2093
+ static concatenate<T>(set: Set<T>, ...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
2094
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
2095
+ static map<TInput, TOutput>(set: Set<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
2096
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable<TOutput>;
2097
+ static flatMap<TInput, TOutput>(set: Set<TInput>, mapping: (value: TInput) => JavascriptIterable<TOutput>): Iterable<TOutput>;
2098
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
2099
+ static where<T>(set: Set<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
2100
+ instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable<TOutput>;
2101
+ static instanceOf<TInput, TOutput extends TInput>(set: Set<TInput>, typeOrTypeCheck: Type<TOutput> | ((value: TInput) => value is TOutput)): Iterable<TOutput>;
2810
2102
  first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
2811
- static first<T>(set: Set$1<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
2103
+ static first<T>(set: Set<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
2812
2104
  last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
2813
- static last<T>(set: Set$1<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
2105
+ static last<T>(set: Set<T>, condition?: (value: T) => (boolean | SyncResult<boolean>)): SyncResult<T>;
2814
2106
  [Symbol.iterator](): JavascriptIterator<T>;
2815
- static [Symbol.iterator]<T>(set: Set$1<T>): JavascriptIterator<T>;
2107
+ static [Symbol.iterator]<T>(set: Set<T>): JavascriptIterator<T>;
2816
2108
  contains(value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2817
- static contains<T>(set: Set$1<T>, value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2109
+ static contains<T>(set: Set<T>, value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2818
2110
  }
2819
2111
 
2820
- declare class JavascriptSetSet<T> implements Set$1<T> {
2112
+ declare class JavascriptSetSet<T> implements Set<T> {
2821
2113
  private readonly set;
2822
2114
  private constructor();
2823
2115
  static create<T>(initialValues?: JavascriptIterable<T>): JavascriptSetSet<T>;
2824
2116
  add(value: T): this;
2825
2117
  addAll(values: JavascriptIterable<T>): this;
2826
2118
  remove(value: T): SyncResult<void>;
2827
- union(values: JavascriptIterable<T>): Set$1<T>;
2828
- iterate(): Iterator$1<T>;
2119
+ union(values: JavascriptIterable<T>): Set<T>;
2120
+ iterate(): Iterator<T>;
2829
2121
  toArray(): SyncResult<T[]>;
2830
2122
  any(): SyncResult<boolean>;
2831
2123
  getCount(): SyncResult<number>;
2832
2124
  equals(right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2833
2125
  toString(toStringFunctions?: ToStringFunctions): string;
2834
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
2835
- map<TOutput>(mapping: (value: T) => TOutput | SyncResult<TOutput>): Iterable$1<TOutput>;
2836
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
2837
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
2838
- instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable$1<TOutput>;
2126
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
2127
+ map<TOutput>(mapping: (value: T) => TOutput | SyncResult<TOutput>): Iterable<TOutput>;
2128
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable<TOutput>;
2129
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
2130
+ instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable<TOutput>;
2839
2131
  first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
2840
2132
  last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
2841
2133
  contains(value: T, equalFunctions?: EqualFunctions): SyncResult<boolean>;
@@ -2901,6 +2193,10 @@ declare abstract class Stack<T> {
2901
2193
  * Get whether there are any values in this {@link Stack}.
2902
2194
  */
2903
2195
  abstract any(): AsyncResult<boolean>;
2196
+ /**
2197
+ * Get the number of values that are currently in this {@link Stack}.
2198
+ */
2199
+ abstract getCount(): AsyncResult<number>;
2904
2200
  /**
2905
2201
  * Push the provided value onto the top of this {@link Stack}.
2906
2202
  * @param value The value to push on the top of this {@link Stack}.
@@ -2928,6 +2224,7 @@ declare class ListStack<T> implements Stack<T> {
2928
2224
  private constructor();
2929
2225
  static create<T>(list?: List<T>): ListStack<T>;
2930
2226
  any(): SyncResult<boolean>;
2227
+ getCount(): SyncResult<number>;
2931
2228
  add(value: T): SyncResult<void>;
2932
2229
  addAll(values: JavascriptIterable<T>): SyncResult<void>;
2933
2230
  remove(): SyncResult<T>;
@@ -2961,13 +2258,13 @@ declare class LuxonDateTime implements DateTime {
2961
2258
  /**
2962
2259
  * An {@link AsyncIterator} that maps {@link TInput} values to {@link TOutput} values.
2963
2260
  */
2964
- declare class MapAsyncIterator<TInput, TOutput> implements AsyncIterator$1<TOutput> {
2261
+ declare class MapAsyncIterator<TInput, TOutput> implements AsyncIterator<TOutput> {
2965
2262
  private readonly inputIterator;
2966
2263
  private readonly mapping;
2967
2264
  private current;
2968
2265
  private started;
2969
- protected constructor(inputIterator: AsyncIterator$1<TInput>, mapping: (value: TInput) => (TOutput | PromiseLike<TOutput>));
2970
- static create<TInput, TOutput>(inputIterator: AsyncIterator$1<TInput>, mapping: (value: TInput) => (TOutput | PromiseLike<TOutput>)): MapAsyncIterator<TInput, TOutput>;
2266
+ protected constructor(inputIterator: AsyncIterator<TInput>, mapping: (value: TInput) => (TOutput | PromiseLike<TOutput>));
2267
+ static create<TInput, TOutput>(inputIterator: AsyncIterator<TInput>, mapping: (value: TInput) => (TOutput | PromiseLike<TOutput>)): MapAsyncIterator<TInput, TOutput>;
2971
2268
  next(): PromiseAsyncResult<boolean>;
2972
2269
  hasStarted(): boolean;
2973
2270
  hasCurrent(): boolean;
@@ -2977,34 +2274,34 @@ declare class MapAsyncIterator<TInput, TOutput> implements AsyncIterator$1<TOutp
2977
2274
  any(): PromiseAsyncResult<boolean>;
2978
2275
  getCount(): PromiseAsyncResult<number>;
2979
2276
  toArray(): PromiseAsyncResult<TOutput[]>;
2980
- map<TOutput2>(mapping: (value: TOutput) => (TOutput2 | PromiseLike<TOutput2>)): AsyncIterator$1<TOutput2>;
2277
+ map<TOutput2>(mapping: (value: TOutput) => (TOutput2 | PromiseLike<TOutput2>)): AsyncIterator<TOutput2>;
2981
2278
  [Symbol.asyncIterator](): JavascriptAsyncIterator<TOutput>;
2982
2279
  first(condition?: (value: TOutput) => boolean): PromiseAsyncResult<TOutput>;
2983
2280
  last(): PromiseAsyncResult<TOutput>;
2984
- where(condition: (value: TOutput) => (boolean | PromiseLike<boolean>)): AsyncIterator$1<TOutput>;
2985
- whereInstanceOf<U extends TOutput>(typeCheck: (value: TOutput) => value is U): AsyncIterator$1<U>;
2986
- whereInstanceOfType<U extends TOutput>(type: Type<U>): AsyncIterator$1<U>;
2987
- take(maximumToTake: number): AsyncIterator$1<TOutput>;
2988
- skip(maximumToSkip: number): AsyncIterator$1<TOutput>;
2281
+ where(condition: (value: TOutput) => (boolean | PromiseLike<boolean>)): AsyncIterator<TOutput>;
2282
+ whereInstanceOf<U extends TOutput>(typeCheck: (value: TOutput) => value is U): AsyncIterator<U>;
2283
+ whereInstanceOfType<U extends TOutput>(type: Type<U>): AsyncIterator<U>;
2284
+ take(maximumToTake: number): AsyncIterator<TOutput>;
2285
+ skip(maximumToSkip: number): AsyncIterator<TOutput>;
2989
2286
  }
2990
2287
 
2991
2288
  /**
2992
2289
  * An {@link Iterable} that converts {@link TInput} values to {@link TOutput} values.
2993
2290
  */
2994
- declare class MapIterable<TInput, TOutput> implements Iterable$1<TOutput> {
2291
+ declare class MapIterable<TInput, TOutput> implements Iterable<TOutput> {
2995
2292
  private readonly innerIterable;
2996
2293
  private readonly mapping;
2997
- protected constructor(innerIterable: Iterable$1<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>));
2998
- static create<TInput, TOutput>(innerIterable: Iterable$1<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): MapIterable<TInput, TOutput>;
2999
- iterate(): Iterator$1<TOutput>;
2294
+ protected constructor(innerIterable: Iterable<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>));
2295
+ static create<TInput, TOutput>(innerIterable: Iterable<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): MapIterable<TInput, TOutput>;
2296
+ iterate(): Iterator<TOutput>;
3000
2297
  toArray(): SyncResult<TOutput[]>;
3001
- equals(right: Iterable$1<TOutput>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
2298
+ equals(right: Iterable<TOutput>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
3002
2299
  toString(): string;
3003
- concatenate(...toConcatenate: JavascriptIterable<TOutput>[]): Iterable$1<TOutput>;
3004
- map<TOutput2>(mapping: (value: TOutput) => (TOutput2 | SyncResult<TOutput2>)): Iterable$1<TOutput2>;
3005
- flatMap<TOutput2>(mapping: (value: TOutput) => JavascriptIterable<TOutput2>): Iterable$1<TOutput2>;
3006
- where(condition: (value: TOutput) => boolean): Iterable$1<TOutput>;
3007
- instanceOf<TOutput2 extends TOutput>(typeOrTypeCheck: Type<TOutput2> | ((value: TOutput) => value is TOutput2)): Iterable$1<TOutput2>;
2300
+ concatenate(...toConcatenate: JavascriptIterable<TOutput>[]): Iterable<TOutput>;
2301
+ map<TOutput2>(mapping: (value: TOutput) => (TOutput2 | SyncResult<TOutput2>)): Iterable<TOutput2>;
2302
+ flatMap<TOutput2>(mapping: (value: TOutput) => JavascriptIterable<TOutput2>): Iterable<TOutput2>;
2303
+ where(condition: (value: TOutput) => boolean): Iterable<TOutput>;
2304
+ instanceOf<TOutput2 extends TOutput>(typeOrTypeCheck: Type<TOutput2> | ((value: TOutput) => value is TOutput2)): Iterable<TOutput2>;
3008
2305
  [Symbol.iterator](): JavascriptIterator<TOutput>;
3009
2306
  any(): SyncResult<boolean>;
3010
2307
  getCount(): SyncResult<number>;
@@ -3016,12 +2313,12 @@ declare class MapIterable<TInput, TOutput> implements Iterable$1<TOutput> {
3016
2313
  /**
3017
2314
  * An {@link Iterator} that maps {@link TInput} values to {@link TOutput} values.
3018
2315
  */
3019
- declare class MapIterator<TInput, TOutput> implements Iterator$1<TOutput> {
2316
+ declare class MapIterator<TInput, TOutput> implements Iterator<TOutput> {
3020
2317
  private readonly inputIterator;
3021
2318
  private readonly mapping;
3022
2319
  private started;
3023
- protected constructor(inputIterator: Iterator$1<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>));
3024
- static create<TInput, TOutput>(inputIterator: Iterator$1<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): MapIterator<TInput, TOutput>;
2320
+ protected constructor(inputIterator: Iterator<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>));
2321
+ static create<TInput, TOutput>(inputIterator: Iterator<TInput>, mapping: (value: TInput) => (TOutput | SyncResult<TOutput>)): MapIterator<TInput, TOutput>;
3025
2322
  next(): SyncResult<boolean>;
3026
2323
  hasStarted(): boolean;
3027
2324
  hasCurrent(): boolean;
@@ -3031,17 +2328,17 @@ declare class MapIterator<TInput, TOutput> implements Iterator$1<TOutput> {
3031
2328
  any(): SyncResult<boolean>;
3032
2329
  getCount(): SyncResult<number>;
3033
2330
  toArray(): SyncResult<TOutput[]>;
3034
- concatenate(toConcatenate: JavascriptIterable<TOutput>): Iterator$1<TOutput>;
3035
- map<TOutput2>(mapping: (value: TOutput) => (TOutput2 | SyncResult<TOutput2>)): Iterator$1<TOutput2>;
3036
- flatMap<TOutput2>(mapping: (value: TOutput) => JavascriptIterable<TOutput2>): Iterator$1<TOutput2>;
2331
+ concatenate(toConcatenate: JavascriptIterable<TOutput>): Iterator<TOutput>;
2332
+ map<TOutput2>(mapping: (value: TOutput) => (TOutput2 | SyncResult<TOutput2>)): Iterator<TOutput2>;
2333
+ flatMap<TOutput2>(mapping: (value: TOutput) => JavascriptIterable<TOutput2>): Iterator<TOutput2>;
3037
2334
  [Symbol.iterator](): JavascriptIterator<TOutput>;
3038
2335
  first(condition?: (value: TOutput) => boolean): SyncResult<TOutput>;
3039
2336
  last(): SyncResult<TOutput>;
3040
- where(condition: (value: TOutput) => boolean): Iterator$1<TOutput>;
3041
- whereInstanceOf<U extends TOutput>(typeCheck: (value: TOutput) => value is U): Iterator$1<U>;
3042
- whereInstanceOfType<U extends TOutput>(type: Type<U>): Iterator$1<U>;
3043
- take(maximumToTake: number): Iterator$1<TOutput>;
3044
- skip(maximumToSkip: number): Iterator$1<TOutput>;
2337
+ where(condition: (value: TOutput) => boolean): Iterator<TOutput>;
2338
+ whereInstanceOf<U extends TOutput>(typeCheck: (value: TOutput) => value is U): Iterator<U>;
2339
+ whereInstanceOfType<U extends TOutput>(type: Type<U>): Iterator<U>;
2340
+ take(maximumToTake: number): Iterator<TOutput>;
2341
+ skip(maximumToSkip: number): Iterator<TOutput>;
3045
2342
  }
3046
2343
 
3047
2344
  declare class Node<T> {
@@ -3050,7 +2347,7 @@ declare class Node<T> {
3050
2347
  private constructor();
3051
2348
  static create<T>(value: T): Node<T>;
3052
2349
  getValue(): T;
3053
- iterateConnectedNodes(): Iterator$1<Node<T>>;
2350
+ iterateConnectedNodes(): Iterator<Node<T>>;
3054
2351
  addConnectedNode(node: Node<T>): void;
3055
2352
  }
3056
2353
 
@@ -3527,7 +2824,7 @@ declare class RecreationDotGovDivisionAvailability {
3527
2824
  readonly json: RecreationDotGovDivisionAvailabilityJson;
3528
2825
  readonly minimumGroupSize?: number;
3529
2826
  readonly maximumGroupSize?: number;
3530
- readonly dayAvailabilities: Iterable$1<RecreationDotGovDivisionDayAvailability>;
2827
+ readonly dayAvailabilities: Iterable<RecreationDotGovDivisionDayAvailability>;
3531
2828
  private constructor();
3532
2829
  static create(json: RecreationDotGovDivisionAvailabilityJson): RecreationDotGovDivisionAvailability;
3533
2830
  }
@@ -3564,12 +2861,12 @@ declare class RecreationDotGovClient implements HttpClient {
3564
2861
  * An {@link AsyncIterator} that skips the first maximum number of values from an inner
3565
2862
  * {@link AsyncIterator} before beginning to return values.
3566
2863
  */
3567
- declare class SkipAsyncIterator<T> implements AsyncIterator$1<T> {
2864
+ declare class SkipAsyncIterator<T> implements AsyncIterator<T> {
3568
2865
  private readonly innerIterator;
3569
2866
  private started;
3570
2867
  private readonly maximumToSkip;
3571
2868
  private constructor();
3572
- static create<T>(innerIterator: AsyncIterator$1<T>, maximumToSkip: number): SkipAsyncIterator<T>;
2869
+ static create<T>(innerIterator: AsyncIterator<T>, maximumToSkip: number): SkipAsyncIterator<T>;
3573
2870
  next(): PromiseAsyncResult<boolean>;
3574
2871
  hasStarted(): boolean;
3575
2872
  hasCurrent(): boolean;
@@ -3579,27 +2876,27 @@ declare class SkipAsyncIterator<T> implements AsyncIterator$1<T> {
3579
2876
  any(): PromiseAsyncResult<boolean>;
3580
2877
  getCount(): PromiseAsyncResult<number>;
3581
2878
  toArray(): PromiseAsyncResult<T[]>;
3582
- where(condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator$1<T>;
3583
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator$1<U>;
3584
- whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator$1<U>;
3585
- map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator$1<TOutput>;
2879
+ where(condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator<T>;
2880
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator<U>;
2881
+ whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator<U>;
2882
+ map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator<TOutput>;
3586
2883
  first(condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
3587
2884
  last(condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
3588
2885
  [Symbol.asyncIterator](): JavascriptAsyncIterator<T>;
3589
- take(maximumToTake: number): AsyncIterator$1<T>;
3590
- skip(maximumToSkip: number): AsyncIterator$1<T>;
2886
+ take(maximumToTake: number): AsyncIterator<T>;
2887
+ skip(maximumToSkip: number): AsyncIterator<T>;
3591
2888
  }
3592
2889
 
3593
2890
  /**
3594
2891
  * An {@link Iterator} that skips the first maximum number of values from an inner {@link Iterator}
3595
2892
  * before beginning to return values.
3596
2893
  */
3597
- declare class SkipIterator<T> implements Iterator$1<T> {
2894
+ declare class SkipIterator<T> implements Iterator<T> {
3598
2895
  private readonly innerIterator;
3599
2896
  private started;
3600
2897
  private readonly maximumToSkip;
3601
2898
  private constructor();
3602
- static create<T>(innerIterator: Iterator$1<T>, maximumToSkip: number): SkipIterator<T>;
2899
+ static create<T>(innerIterator: Iterator<T>, maximumToSkip: number): SkipIterator<T>;
3603
2900
  next(): SyncResult<boolean>;
3604
2901
  hasStarted(): boolean;
3605
2902
  hasCurrent(): boolean;
@@ -3609,17 +2906,17 @@ declare class SkipIterator<T> implements Iterator$1<T> {
3609
2906
  any(): SyncResult<boolean>;
3610
2907
  getCount(): SyncResult<number>;
3611
2908
  toArray(): SyncResult<T[]>;
3612
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator$1<T>;
3613
- where(condition: (value: T) => boolean): Iterator$1<T>;
3614
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator$1<U>;
3615
- whereInstanceOfType<U extends T>(type: Type<U>): Iterator$1<U>;
3616
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator$1<TOutput>;
3617
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
2909
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator<T>;
2910
+ where(condition: (value: T) => boolean): Iterator<T>;
2911
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator<U>;
2912
+ whereInstanceOfType<U extends T>(type: Type<U>): Iterator<U>;
2913
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator<TOutput>;
2914
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator<TOutput>;
3618
2915
  first(condition?: (value: T) => boolean): SyncResult<T>;
3619
2916
  last(condition?: (value: T) => boolean): SyncResult<T>;
3620
2917
  [Symbol.iterator](): JavascriptIterator<T>;
3621
- take(maximumToTake: number): Iterator$1<T>;
3622
- skip(maximumToSkip: number): Iterator$1<T>;
2918
+ take(maximumToTake: number): Iterator<T>;
2919
+ skip(maximumToSkip: number): Iterator<T>;
3623
2920
  }
3624
2921
 
3625
2922
  /**
@@ -3635,7 +2932,7 @@ declare class StringComparer extends Comparer<string> {
3635
2932
  /**
3636
2933
  * An {@link Iterator} that iterates over the characters in a {@link string}.
3637
2934
  */
3638
- declare class StringIterator implements Iterator$1<string> {
2935
+ declare class StringIterator implements Iterator<string> {
3639
2936
  private readonly value;
3640
2937
  private currentIndex;
3641
2938
  private started;
@@ -3651,16 +2948,16 @@ declare class StringIterator implements Iterator$1<string> {
3651
2948
  any(): SyncResult<boolean>;
3652
2949
  getCount(): SyncResult<number>;
3653
2950
  toArray(): SyncResult<string[]>;
3654
- concatenate(...toConcatenate: JavascriptIterable<string>[]): Iterator$1<string>;
3655
- map<TOutput>(mapping: (value: string) => (TOutput | SyncResult<TOutput>)): Iterator$1<TOutput>;
3656
- flatMap<TOutput>(mapping: (value: string) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
2951
+ concatenate(...toConcatenate: JavascriptIterable<string>[]): Iterator<string>;
2952
+ map<TOutput>(mapping: (value: string) => (TOutput | SyncResult<TOutput>)): Iterator<TOutput>;
2953
+ flatMap<TOutput>(mapping: (value: string) => JavascriptIterable<TOutput>): Iterator<TOutput>;
3657
2954
  first(): SyncResult<string>;
3658
2955
  last(): SyncResult<string>;
3659
- where(condition: (value: string) => boolean): Iterator$1<string>;
3660
- whereInstanceOf<U extends string>(typeCheck: (value: string) => value is U): Iterator$1<U>;
3661
- whereInstanceOfType<U extends string>(type: Type<U>): Iterator$1<U>;
3662
- take(maximumToTake: number): Iterator$1<string>;
3663
- skip(maximumToSkip: number): Iterator$1<string>;
2956
+ where(condition: (value: string) => boolean): Iterator<string>;
2957
+ whereInstanceOf<U extends string>(typeCheck: (value: string) => value is U): Iterator<U>;
2958
+ whereInstanceOfType<U extends string>(type: Type<U>): Iterator<U>;
2959
+ take(maximumToTake: number): Iterator<string>;
2960
+ skip(maximumToSkip: number): Iterator<string>;
3664
2961
  [Symbol.iterator](): JavascriptIterator<string>;
3665
2962
  }
3666
2963
 
@@ -3744,13 +3041,13 @@ declare function isLetterOrDigit(value: string): boolean;
3744
3041
  /**
3745
3042
  * An {@link AsyncIterator} that iterates over a maximum number of values.
3746
3043
  */
3747
- declare class TakeAsyncIterator<T> implements AsyncIterator$1<T> {
3044
+ declare class TakeAsyncIterator<T> implements AsyncIterator<T> {
3748
3045
  private readonly innerIterator;
3749
3046
  private started;
3750
3047
  private readonly maximumToTake;
3751
3048
  private taken;
3752
3049
  private constructor();
3753
- static create<T>(innerIterator: AsyncIterator$1<T>, maximumToTake: number): TakeAsyncIterator<T>;
3050
+ static create<T>(innerIterator: AsyncIterator<T>, maximumToTake: number): TakeAsyncIterator<T>;
3754
3051
  hasCurrent(): boolean;
3755
3052
  next(): PromiseAsyncResult<boolean>;
3756
3053
  hasStarted(): boolean;
@@ -3760,27 +3057,27 @@ declare class TakeAsyncIterator<T> implements AsyncIterator$1<T> {
3760
3057
  any(): PromiseAsyncResult<boolean>;
3761
3058
  getCount(): PromiseAsyncResult<number>;
3762
3059
  toArray(): PromiseAsyncResult<T[]>;
3763
- where(condition: (value: T) => boolean): AsyncIterator$1<T>;
3764
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator$1<U>;
3765
- whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator$1<U>;
3766
- map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator$1<TOutput>;
3060
+ where(condition: (value: T) => boolean): AsyncIterator<T>;
3061
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator<U>;
3062
+ whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator<U>;
3063
+ map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator<TOutput>;
3767
3064
  first(condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
3768
3065
  last(condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
3769
3066
  [Symbol.asyncIterator](): JavascriptAsyncIterator<T>;
3770
- take(maximumToTake: number): AsyncIterator$1<T>;
3771
- skip(maximumToSkip: number): AsyncIterator$1<T>;
3067
+ take(maximumToTake: number): AsyncIterator<T>;
3068
+ skip(maximumToSkip: number): AsyncIterator<T>;
3772
3069
  }
3773
3070
 
3774
3071
  /**
3775
3072
  * An {@link Iterator} that iterates over a maximum number of values.
3776
3073
  */
3777
- declare class TakeIterator<T> implements Iterator$1<T> {
3074
+ declare class TakeIterator<T> implements Iterator<T> {
3778
3075
  private readonly innerIterator;
3779
3076
  private started;
3780
3077
  private readonly maximumToTake;
3781
3078
  private taken;
3782
3079
  private constructor();
3783
- static create<T>(innerIterator: Iterator$1<T>, maximumToTake: number): TakeIterator<T>;
3080
+ static create<T>(innerIterator: Iterator<T>, maximumToTake: number): TakeIterator<T>;
3784
3081
  hasCurrent(): boolean;
3785
3082
  next(): SyncResult<boolean>;
3786
3083
  hasStarted(): boolean;
@@ -3790,23 +3087,23 @@ declare class TakeIterator<T> implements Iterator$1<T> {
3790
3087
  any(): SyncResult<boolean>;
3791
3088
  getCount(): SyncResult<number>;
3792
3089
  toArray(): SyncResult<T[]>;
3793
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator$1<T>;
3794
- where(condition: (value: T) => boolean): Iterator$1<T>;
3795
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator$1<U>;
3796
- whereInstanceOfType<U extends T>(type: Type<U>): Iterator$1<U>;
3797
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator$1<TOutput>;
3798
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
3090
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator<T>;
3091
+ where(condition: (value: T) => boolean): Iterator<T>;
3092
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator<U>;
3093
+ whereInstanceOfType<U extends T>(type: Type<U>): Iterator<U>;
3094
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator<TOutput>;
3095
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator<TOutput>;
3799
3096
  first(condition?: (value: T) => boolean): SyncResult<T>;
3800
3097
  last(condition?: (value: T) => boolean): SyncResult<T>;
3801
3098
  [Symbol.iterator](): JavascriptIterator<T>;
3802
- take(maximumToTake: number): Iterator$1<T>;
3803
- skip(maximumToSkip: number): Iterator$1<T>;
3099
+ take(maximumToTake: number): Iterator<T>;
3100
+ skip(maximumToSkip: number): Iterator<T>;
3804
3101
  }
3805
3102
 
3806
3103
  /**
3807
3104
  * An {@link Iterator} that only returns values that match a condition.
3808
3105
  */
3809
- declare class WhereAsyncIterator<T> implements AsyncIterator$1<T> {
3106
+ declare class WhereAsyncIterator<T> implements AsyncIterator<T> {
3810
3107
  private readonly innerIterator;
3811
3108
  private started;
3812
3109
  private readonly condition;
@@ -3814,43 +3111,43 @@ declare class WhereAsyncIterator<T> implements AsyncIterator$1<T> {
3814
3111
  hasStarted(): boolean;
3815
3112
  hasCurrent(): boolean;
3816
3113
  getCurrent(): T;
3817
- static create<T>(innerIterator: AsyncIterator$1<T>, condition: (value: T) => (boolean | PromiseLike<boolean>)): WhereAsyncIterator<T>;
3114
+ static create<T>(innerIterator: AsyncIterator<T>, condition: (value: T) => (boolean | PromiseLike<boolean>)): WhereAsyncIterator<T>;
3818
3115
  next(): PromiseAsyncResult<boolean>;
3819
3116
  start(): PromiseAsyncResult<this>;
3820
3117
  takeCurrent(): PromiseAsyncResult<T>;
3821
3118
  any(): PromiseAsyncResult<boolean>;
3822
3119
  getCount(): PromiseAsyncResult<number>;
3823
3120
  toArray(): PromiseAsyncResult<T[]>;
3824
- where(condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator$1<T>;
3825
- map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator$1<TOutput>;
3826
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator$1<U>;
3827
- whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator$1<U>;
3121
+ where(condition: (value: T) => (boolean | PromiseLike<boolean>)): AsyncIterator<T>;
3122
+ map<TOutput>(mapping: (value: T) => (TOutput | PromiseLike<TOutput>)): AsyncIterator<TOutput>;
3123
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): AsyncIterator<U>;
3124
+ whereInstanceOfType<U extends T>(type: Type<U>): AsyncIterator<U>;
3828
3125
  first(condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
3829
3126
  last(condition?: (value: T) => (boolean | PromiseLike<boolean>)): PromiseAsyncResult<T>;
3830
- take(maximumToTake: number): AsyncIterator$1<T>;
3831
- skip(maximumToSkip: number): AsyncIterator$1<T>;
3127
+ take(maximumToTake: number): AsyncIterator<T>;
3128
+ skip(maximumToSkip: number): AsyncIterator<T>;
3832
3129
  [Symbol.asyncIterator](): JavascriptAsyncIterator<T>;
3833
3130
  }
3834
3131
 
3835
3132
  /**
3836
3133
  * An {@link Iterable} that only returns values that match a condition.
3837
3134
  */
3838
- declare class WhereIterable<T> implements Iterable$1<T> {
3135
+ declare class WhereIterable<T> implements Iterable<T> {
3839
3136
  private readonly innerIterable;
3840
3137
  private readonly condition;
3841
3138
  private constructor();
3842
- static create<T>(innerIterable: Iterable$1<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): WhereIterable<T>;
3843
- iterate(): Iterator$1<T>;
3139
+ static create<T>(innerIterable: Iterable<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): WhereIterable<T>;
3140
+ iterate(): Iterator<T>;
3844
3141
  toArray(): SyncResult<T[]>;
3845
3142
  any(): SyncResult<boolean>;
3846
3143
  getCount(): SyncResult<number>;
3847
3144
  equals(right: JavascriptIterable<T>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
3848
3145
  toString(toStringFunctions?: ToStringFunctions): string;
3849
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable$1<T>;
3850
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable$1<TOutput>;
3851
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable$1<TOutput>;
3852
- where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable$1<T>;
3853
- instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable$1<TOutput>;
3146
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterable<T>;
3147
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
3148
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterable<TOutput>;
3149
+ where(condition: (value: T) => (boolean | SyncResult<boolean>)): Iterable<T>;
3150
+ instanceOf<TOutput extends T>(typeOrTypeCheck: Type<TOutput> | ((value: T) => value is TOutput)): Iterable<TOutput>;
3854
3151
  first(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
3855
3152
  last(condition?: ((value: T) => (boolean | SyncResult<boolean>)) | undefined): SyncResult<T>;
3856
3153
  [Symbol.iterator](): JavascriptIterator<T>;
@@ -3860,12 +3157,12 @@ declare class WhereIterable<T> implements Iterable$1<T> {
3860
3157
  /**
3861
3158
  * An {@link Iterator} that only returns values that match a condition.
3862
3159
  */
3863
- declare class WhereIterator<T> implements Iterator$1<T> {
3160
+ declare class WhereIterator<T> implements Iterator<T> {
3864
3161
  private readonly innerIterator;
3865
3162
  private started;
3866
3163
  private readonly condition;
3867
3164
  private constructor();
3868
- static create<T>(innerIterator: Iterator$1<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): WhereIterator<T>;
3165
+ static create<T>(innerIterator: Iterator<T>, condition: (value: T) => (boolean | SyncResult<boolean>)): WhereIterator<T>;
3869
3166
  hasStarted(): boolean;
3870
3167
  hasCurrent(): boolean;
3871
3168
  getCurrent(): T;
@@ -3875,16 +3172,16 @@ declare class WhereIterator<T> implements Iterator$1<T> {
3875
3172
  any(): SyncResult<boolean>;
3876
3173
  getCount(): SyncResult<number>;
3877
3174
  toArray(): SyncResult<T[]>;
3878
- concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator$1<T>;
3879
- where(condition: (value: T) => boolean): Iterator$1<T>;
3880
- map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator$1<TOutput>;
3881
- flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator$1<TOutput>;
3882
- whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator$1<U>;
3883
- whereInstanceOfType<U extends T>(type: Type<U>): Iterator$1<U>;
3175
+ concatenate(...toConcatenate: JavascriptIterable<T>[]): Iterator<T>;
3176
+ where(condition: (value: T) => boolean): Iterator<T>;
3177
+ map<TOutput>(mapping: (value: T) => (TOutput | SyncResult<TOutput>)): Iterator<TOutput>;
3178
+ flatMap<TOutput>(mapping: (value: T) => JavascriptIterable<TOutput>): Iterator<TOutput>;
3179
+ whereInstanceOf<U extends T>(typeCheck: (value: T) => value is U): Iterator<U>;
3180
+ whereInstanceOfType<U extends T>(type: Type<U>): Iterator<U>;
3884
3181
  first(condition?: (value: T) => boolean): SyncResult<T>;
3885
3182
  last(condition?: (value: T) => boolean): SyncResult<T>;
3886
- take(maximumToTake: number): Iterator$1<T>;
3887
- skip(maximumToSkip: number): Iterator$1<T>;
3183
+ take(maximumToTake: number): Iterator<T>;
3184
+ skip(maximumToSkip: number): Iterator<T>;
3888
3185
  [Symbol.iterator](): JavascriptIterator<T>;
3889
3186
  }
3890
3187
 
@@ -3927,8 +3224,8 @@ declare abstract class WonderlandTrailLocations {
3927
3224
  static readonly carbonRiver: WonderlandTrailLocation;
3928
3225
  static readonly dickCreek: WonderlandTrailLocation;
3929
3226
  static readonly mysticLake: WonderlandTrailLocation;
3930
- static getLocations(): Iterable$1<WonderlandTrailLocation>;
3931
- static getTrailheads(): Iterable$1<WonderlandTrailLocation>;
3227
+ static getLocations(): Iterable<WonderlandTrailLocation>;
3228
+ static getTrailheads(): Iterable<WonderlandTrailLocation>;
3932
3229
  }
3933
3230
  declare enum WonderlandTrailReservationType {
3934
3231
  Reserved = 0,
@@ -3962,10 +3259,10 @@ declare class WonderlandTrailConnection {
3962
3259
  readonly ascentFeet: number;
3963
3260
  readonly descentFeet: number;
3964
3261
  readonly direction: WonderlandTrailDirection;
3965
- readonly intermediateLocations: Iterable$1<WonderlandTrailLocation>;
3262
+ readonly intermediateLocations: Iterable<WonderlandTrailLocation>;
3966
3263
  private constructor();
3967
- static create(startLocation: WonderlandTrailLocation, endLocation: WonderlandTrailLocation, distanceMiles: number, ascentFeet: number, descentFeet: number, direction: WonderlandTrailDirection, intermediateLocations: Iterable$1<WonderlandTrailLocation>): WonderlandTrailConnection;
3968
- getLocations(): Iterable$1<WonderlandTrailLocation>;
3264
+ static create(startLocation: WonderlandTrailLocation, endLocation: WonderlandTrailLocation, distanceMiles: number, ascentFeet: number, descentFeet: number, direction: WonderlandTrailDirection, intermediateLocations: Iterable<WonderlandTrailLocation>): WonderlandTrailConnection;
3265
+ getLocations(): Iterable<WonderlandTrailLocation>;
3969
3266
  private static ensureExists;
3970
3267
  private static ensureAllExist;
3971
3268
  reverseDirection(): WonderlandTrailConnection;
@@ -3979,15 +3276,15 @@ declare class WonderlandTrailConnections {
3979
3276
  private constructor();
3980
3277
  static create(addReverseConnectionDefault?: boolean): WonderlandTrailConnections;
3981
3278
  static createDefault(): WonderlandTrailConnections;
3982
- iterateConnections(startLocation?: WonderlandTrailLocation, endLocation?: WonderlandTrailLocation, direction?: WonderlandTrailDirection): Iterator$1<WonderlandTrailConnection>;
3279
+ iterateConnections(startLocation?: WonderlandTrailLocation, endLocation?: WonderlandTrailLocation, direction?: WonderlandTrailDirection): Iterator<WonderlandTrailConnection>;
3983
3280
  iterateConnections(properties: {
3984
3281
  startLocation?: WonderlandTrailLocation;
3985
3282
  endLocation?: WonderlandTrailLocation;
3986
3283
  direction?: WonderlandTrailDirection;
3987
- }): Iterator$1<WonderlandTrailConnection>;
3284
+ }): Iterator<WonderlandTrailConnection>;
3988
3285
  private addConnectionInner;
3989
3286
  addConnection(connection: WonderlandTrailConnection, addReverseConnection?: boolean): this;
3990
- addConnection(startLocation: WonderlandTrailLocation, endLocation: WonderlandTrailLocation, distanceMiles: number, ascentFeet: number, descentFeet: number, direction?: WonderlandTrailDirection, intermediateLocations?: Iterable$1<WonderlandTrailLocation>, addReverseConnection?: boolean): this;
3287
+ addConnection(startLocation: WonderlandTrailLocation, endLocation: WonderlandTrailLocation, distanceMiles: number, ascentFeet: number, descentFeet: number, direction?: WonderlandTrailDirection, intermediateLocations?: Iterable<WonderlandTrailLocation>, addReverseConnection?: boolean): this;
3991
3288
  addConnection(properties: {
3992
3289
  startLocation: WonderlandTrailLocation;
3993
3290
  endLocation: WonderlandTrailLocation;
@@ -3995,7 +3292,7 @@ declare class WonderlandTrailConnections {
3995
3292
  ascentFeet: number;
3996
3293
  descentFeet: number;
3997
3294
  direction?: WonderlandTrailDirection;
3998
- intermediateLocations?: Iterable$1<WonderlandTrailLocation>;
3295
+ intermediateLocations?: Iterable<WonderlandTrailLocation>;
3999
3296
  addReverseConnection?: boolean;
4000
3297
  }): this;
4001
3298
  containsConnection(connection: WonderlandTrailConnection): boolean;
@@ -4009,14 +3306,14 @@ declare class WonderlandTrailItinerary {
4009
3306
  private constructor();
4010
3307
  static create(startDay: DateTime): WonderlandTrailItinerary;
4011
3308
  clone(): WonderlandTrailItinerary;
4012
- getConnections(): Iterable$1<WonderlandTrailConnection>;
3309
+ getConnections(): Iterable<WonderlandTrailConnection>;
4013
3310
  getEndDay(): DateTime;
4014
3311
  getDayCount(): number;
4015
3312
  getStartLocation(): SyncResult<WonderlandTrailLocation>;
4016
- getIntermediateLocations(): Iterable$1<WonderlandTrailLocation>;
3313
+ getIntermediateLocations(): Iterable<WonderlandTrailLocation>;
4017
3314
  getEndLocation(): SyncResult<WonderlandTrailLocation>;
4018
- getPath(): Iterable$1<WonderlandTrailLocation>;
4019
- getPathStrings(includeAvailabilityTypes?: boolean): Iterable$1<string>;
3315
+ getPath(): Iterable<WonderlandTrailLocation>;
3316
+ getPathStrings(includeAvailabilityTypes?: boolean): Iterable<string>;
4020
3317
  contains(parameters: {
4021
3318
  location: WonderlandTrailLocation;
4022
3319
  checkItineraryStartLocation?: boolean;
@@ -4064,7 +3361,7 @@ declare class WonderlandTrailClient implements HttpClient {
4064
3361
  maximumDayDistanceMiles?: number;
4065
3362
  maximumItineraryDays?: number;
4066
3363
  campsitesToAvoid?: JavascriptIterable<WonderlandTrailLocation>;
4067
- }): Iterable$1<WonderlandTrailItinerary>;
3364
+ }): Iterable<WonderlandTrailItinerary>;
4068
3365
  findItinerariesAsync(parameters: {
4069
3366
  startDay: DateTime;
4070
3367
  startLocation?: WonderlandTrailLocation;
@@ -4076,7 +3373,7 @@ declare class WonderlandTrailClient implements HttpClient {
4076
3373
  allowIndividualSites?: boolean;
4077
3374
  allowGroupSites?: boolean;
4078
3375
  campsitesToAvoid?: JavascriptIterable<WonderlandTrailLocation>;
4079
- }): PromiseAsyncResult<Iterable$1<WonderlandTrailItinerary>>;
3376
+ }): PromiseAsyncResult<Iterable<WonderlandTrailItinerary>>;
4080
3377
  }
4081
3378
 
4082
- export { type AssertMessageParameters, AsyncIterator$1 as AsyncIterator, AsyncIteratorToJavascriptAsyncIteratorAdapter, AsyncResult, ByteList, ByteListStream, ByteReadStream, ByteWriteStream, Bytes, CharacterList, CharacterListStream, CharacterReadStream, CharacterReadStreamAsyncIterator, CharacterWriteStream, CommandLineParameter, CommandLineParameters, Comparable, Comparer, Comparison, ConcatenateIterable, ConcatenateIterator, Condition, CurrentProcess, DateTime, Disposable, EmptyError, EqualFunctions, FetchHttpClient, FetchHttpIncomingResponse, FlatMapIterable, FlatMapIterator, Generator, type GeneratorControl, HttpClient, HttpHeader, HttpHeaders, HttpIncomingRequest, HttpIncomingResponse, HttpMethod, HttpOutgoingRequest, HttpOutgoingResponse, HttpServer, InMemoryCharacterWriteStream, Iterable$1 as Iterable, Iterator$1 as Iterator, IteratorToJavascriptIteratorAdapter, type JavascriptArray, JavascriptArrayList, type JavascriptAsyncIterable, type JavascriptAsyncIterator, JavascriptAsyncIteratorToAsyncIteratorAdapter, type JavascriptIterable, type JavascriptIterator, type JavascriptIteratorResult, JavascriptIteratorToIteratorAdapter, JavascriptMap, JavascriptMapMap, JavascriptSet, JavascriptSetSet, List, ListQueue, ListStack, LuxonDateTime, Map$1 as Map, MapAsyncIterator, type MapEntry, MapIterable, MapIterator, MutableCondition, MutableHttpHeaders, MutableMap, Network, Node, NodeJSCharacterWriteStream, NodeJSHttpIncomingRequest, NodeJSHttpServer, NotFoundError, PostCondition, PostConditionError, PreCondition, PreConditionError, PromiseAsyncResult, Property, Queue, RealNetwork, RecreationDotGovClient, RecreationDotGovDivisionAvailability, type RecreationDotGovDivisionAvailabilityJson, type RecreationDotGovDivisionDayAvailability, type RecreationDotGovDivisionJson, RecreationDotGovError, type RecreationDotGovErrorResponse, type RecreationDotGovPermitItineraryJson, SearchControl, Set$1 as Set, SkipAsyncIterator, SkipIterator, Stack, StringComparer, StringIterator, SyncDisposable, SyncResult, TakeAsyncIterator, TakeIterator, ToStringFunctions, type Type, WhereAsyncIterator, WhereIterable, WhereIterator, WonderlandTrailAvailability, type WonderlandTrailAvailabilityType, WonderlandTrailClient, WonderlandTrailConnection, WonderlandTrailConnections, WonderlandTrailDirection, WonderlandTrailItinerary, type WonderlandTrailLocation, WonderlandTrailLocations, WonderlandTrailReservationType, andList, as, asArray, asBoolean, asFunction, asFunctionWithParameterCount, asNull, asNumber, asObject, asObjectOrArrayOrNull, asString, depthFirstSearch, escape, escapeAndQuote, getLength, getName, getParameterCount, getPropertyNames, hasFunction, hasProperty, httpMethodToString, instanceOf, instanceOfType, isArray, isAsyncIterable, isBoolean, isDigit, isFunction, isFunctionWithParameterCount, isIterable, isJavascriptAsyncIterable, isJavascriptAsyncIterator, isJavascriptIterable, isJavascriptIterator, isLetter, isLetterOrDigit, isLowercasedLetter, isMap, isMutableMap, isNull, isNumber, isObject, isObjectOrArrayOrNull, isPromise, isPromiseLike, isSet, isString, isUndefined, isUndefinedOrNull, isUppercasedLetter, isWhitespace, isWonderlandTrailLocation, join, orList, parseHttpMethod, quote, toString };
3379
+ export { ANSIStyles, type AssertMessageParameters, AsyncIterator, AsyncIteratorToJavascriptAsyncIteratorAdapter, AsyncResult, ByteList, ByteListStream, ByteReadStream, ByteWriteStream, Bytes, CharacterList, CharacterListStream, CharacterReadStream, CharacterReadStreamAsyncIterator, CharacterTable, CharacterWriteStream, CommandLineParameter, CommandLineParameters, Comparable, Comparer, Comparison, ConcatenateIterable, ConcatenateIterator, Condition, CurrentProcess, DateTime, Disposable, EmptyError, EqualFunctions, FetchHttpClient, FetchHttpIncomingResponse, FlatMapIterable, FlatMapIterator, Generator, type GeneratorControl, HttpClient, HttpHeader, HttpHeaders, HttpIncomingRequest, HttpIncomingResponse, HttpMethod, HttpOutgoingRequest, HttpOutgoingResponse, HttpServer, InMemoryCharacterWriteStream, IndentedCharacterWriteStream, Indexable, Iterable, Iterator, IteratorToJavascriptIteratorAdapter, JavascriptArrayList, JavascriptAsyncIterable, JavascriptAsyncIterator, JavascriptAsyncIteratorToAsyncIteratorAdapter, JavascriptIterable, JavascriptIterator, JavascriptIteratorResult, JavascriptIteratorToIteratorAdapter, JavascriptMapMap, JavascriptSetSet, List, ListQueue, ListStack, LuxonDateTime, Map, MapAsyncIterator, type MapEntry, MapIterable, MapIterator, MutableCondition, MutableHttpHeaders, MutableMap, Network, Node, NodeJSCharacterWriteStream, NodeJSHttpIncomingRequest, NodeJSHttpServer, NotFoundError, PostCondition, PostConditionError, PreCondition, PreConditionError, PromiseAsyncResult, Property, Queue, RealNetwork, RecreationDotGovClient, RecreationDotGovDivisionAvailability, type RecreationDotGovDivisionAvailabilityJson, type RecreationDotGovDivisionDayAvailability, type RecreationDotGovDivisionJson, RecreationDotGovError, type RecreationDotGovErrorResponse, type RecreationDotGovPermitItineraryJson, SearchControl, Set, SkipAsyncIterator, SkipIterator, Stack, StringComparer, StringIterator, SyncDisposable, SyncResult, TakeAsyncIterator, TakeIterator, ToStringFunctions, Type, WhereAsyncIterator, WhereIterable, WhereIterator, WonderlandTrailAvailability, type WonderlandTrailAvailabilityType, WonderlandTrailClient, WonderlandTrailConnection, WonderlandTrailConnections, WonderlandTrailDirection, WonderlandTrailItinerary, type WonderlandTrailLocation, WonderlandTrailLocations, WonderlandTrailReservationType, andList, depthFirstSearch, escape, escapeAndQuote, getLength, httpMethodToString, isDigit, isLetter, isLetterOrDigit, isLowercasedLetter, isMap, isMutableMap, isSet, isUppercasedLetter, isWhitespace, isWonderlandTrailLocation, join, orList, parseHttpMethod, quote, toString };