@soundscript/cli-linux-x64 0.1.2 → 0.1.3

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.
@@ -171,7 +171,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
171
171
  copyWithin(target: number, start: number, end?: number): this;
172
172
 
173
173
  /** Yields index, value pairs for every entry in the array. */
174
- entries(): ArrayIterator<[number, __soundscript_numerics.i64]>;
174
+ entries(): ArrayIterator<[number, bigint]>;
175
175
 
176
176
  /**
177
177
  * Determines whether all the members of an array satisfy the specified test.
@@ -181,7 +181,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
181
181
  * @param thisArg An object to which the this keyword can refer in the predicate function.
182
182
  * If thisArg is omitted, undefined is used as the this value.
183
183
  */
184
- every(predicate: (value: __soundscript_numerics.i64, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: unknown): boolean;
184
+ every(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: unknown): boolean;
185
185
 
186
186
  /**
187
187
  * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
@@ -191,7 +191,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
191
191
  * @param end index to stop filling the array at. If end is negative, it is treated as
192
192
  * length+end.
193
193
  */
194
- fill(value: __soundscript_numerics.i64, start?: number, end?: number): this;
194
+ fill(value: bigint, start?: number, end?: number): this;
195
195
 
196
196
  /**
197
197
  * Returns the elements of an array that meet the condition specified in a callback function.
@@ -200,7 +200,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
200
200
  * @param thisArg An object to which the this keyword can refer in the predicate function.
201
201
  * If thisArg is omitted, undefined is used as the this value.
202
202
  */
203
- filter(predicate: (value: __soundscript_numerics.i64, index: number, array: BigInt64Array<TArrayBuffer>) => unknown, thisArg?: unknown): BigInt64Array<ArrayBuffer>;
203
+ filter(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => unknown, thisArg?: unknown): BigInt64Array<ArrayBuffer>;
204
204
 
205
205
  /**
206
206
  * Returns the value of the first element in the array where predicate is true, and undefined
@@ -211,7 +211,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
211
211
  * @param thisArg If provided, it will be used as the this value for each invocation of
212
212
  * predicate. If it is not provided, undefined is used instead.
213
213
  */
214
- find(predicate: (value: __soundscript_numerics.i64, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: unknown): __soundscript_numerics.i64 | undefined;
214
+ find(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: unknown): bigint | undefined;
215
215
 
216
216
  /**
217
217
  * Returns the index of the first element in the array where predicate is true, and -1
@@ -222,7 +222,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
222
222
  * @param thisArg If provided, it will be used as the this value for each invocation of
223
223
  * predicate. If it is not provided, undefined is used instead.
224
224
  */
225
- findIndex(predicate: (value: __soundscript_numerics.i64, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: unknown): number;
225
+ findIndex(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: unknown): number;
226
226
 
227
227
  /**
228
228
  * Performs the specified action for each element in an array.
@@ -231,14 +231,14 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
231
231
  * @param thisArg An object to which the this keyword can refer in the callbackfn function.
232
232
  * If thisArg is omitted, undefined is used as the this value.
233
233
  */
234
- forEach(callbackfn: (value: __soundscript_numerics.i64, index: number, array: BigInt64Array<TArrayBuffer>) => void, thisArg?: unknown): void;
234
+ forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => void, thisArg?: unknown): void;
235
235
 
236
236
  /**
237
237
  * Determines whether an array includes a certain element, returning true or false as appropriate.
238
238
  * @param searchElement The element to search for.
239
239
  * @param fromIndex The position in this array at which to begin searching for searchElement.
240
240
  */
241
- includes(searchElement: __soundscript_numerics.i64, fromIndex?: number): boolean;
241
+ includes(searchElement: bigint, fromIndex?: number): boolean;
242
242
 
243
243
  /**
244
244
  * Returns the index of the first occurrence of a value in an array.
@@ -246,7 +246,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
246
246
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
247
247
  * search starts at index 0.
248
248
  */
249
- indexOf(searchElement: __soundscript_numerics.i64, fromIndex?: number): number;
249
+ indexOf(searchElement: bigint, fromIndex?: number): number;
250
250
 
251
251
  /**
252
252
  * Adds all the elements of an array separated by the specified separator string.
@@ -264,7 +264,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
264
264
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
265
265
  * search starts at index 0.
266
266
  */
267
- lastIndexOf(searchElement: __soundscript_numerics.i64, fromIndex?: number): number;
267
+ lastIndexOf(searchElement: bigint, fromIndex?: number): number;
268
268
 
269
269
  /** The length of the array. */
270
270
  readonly length: number;
@@ -277,7 +277,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
277
277
  * @param thisArg An object to which the this keyword can refer in the callbackfn function.
278
278
  * If thisArg is omitted, undefined is used as the this value.
279
279
  */
280
- map(callbackfn: (value: __soundscript_numerics.i64, index: number, array: BigInt64Array<TArrayBuffer>) => __soundscript_numerics.i64, thisArg?: unknown): BigInt64Array<ArrayBuffer>;
280
+ map(callbackfn: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => bigint, thisArg?: unknown): BigInt64Array<ArrayBuffer>;
281
281
 
282
282
  /**
283
283
  * Calls the specified callback function for all the elements in an array. The return value of
@@ -289,7 +289,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
289
289
  * the accumulation. The first call to the callbackfn function provides this value as an argument
290
290
  * instead of an array value.
291
291
  */
292
- reduce(callbackfn: (previousValue: __soundscript_numerics.i64, currentValue: __soundscript_numerics.i64, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => __soundscript_numerics.i64): __soundscript_numerics.i64;
292
+ reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => bigint): bigint;
293
293
 
294
294
  /**
295
295
  * Calls the specified callback function for all the elements in an array. The return value of
@@ -301,7 +301,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
301
301
  * the accumulation. The first call to the callbackfn function provides this value as an argument
302
302
  * instead of an array value.
303
303
  */
304
- reduce<U>(callbackfn: (previousValue: U, currentValue: __soundscript_numerics.i64, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U;
304
+ reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U;
305
305
 
306
306
  /**
307
307
  * Calls the specified callback function for all the elements in an array, in descending order.
@@ -313,7 +313,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
313
313
  * the accumulation. The first call to the callbackfn function provides this value as an
314
314
  * argument instead of an array value.
315
315
  */
316
- reduceRight(callbackfn: (previousValue: __soundscript_numerics.i64, currentValue: __soundscript_numerics.i64, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => __soundscript_numerics.i64): __soundscript_numerics.i64;
316
+ reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => bigint): bigint;
317
317
 
318
318
  /**
319
319
  * Calls the specified callback function for all the elements in an array, in descending order.
@@ -325,7 +325,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
325
325
  * the accumulation. The first call to the callbackfn function provides this value as an argument
326
326
  * instead of an array value.
327
327
  */
328
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: __soundscript_numerics.i64, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U;
328
+ reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U;
329
329
 
330
330
  /** Reverses the elements in the array. */
331
331
  reverse(): this;
@@ -335,7 +335,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
335
335
  * @param array A typed or untyped array of values to set.
336
336
  * @param offset The index in the current array at which the values are to be written.
337
337
  */
338
- set(array: ArrayLike<__soundscript_numerics.i64>, offset?: number): void;
338
+ set(array: ArrayLike<bigint>, offset?: number): void;
339
339
 
340
340
  /**
341
341
  * Returns a section of an array.
@@ -352,13 +352,13 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
352
352
  * @param thisArg An object to which the this keyword can refer in the predicate function.
353
353
  * If thisArg is omitted, undefined is used as the this value.
354
354
  */
355
- some(predicate: (value: __soundscript_numerics.i64, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: unknown): boolean;
355
+ some(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: unknown): boolean;
356
356
 
357
357
  /**
358
358
  * Sorts the array.
359
359
  * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.
360
360
  */
361
- sort(compareFn?: (a: __soundscript_numerics.i64, b: __soundscript_numerics.i64) => number | bigint): this;
361
+ sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;
362
362
 
363
363
  /**
364
364
  * Gets a new BigInt64Array view of the ArrayBuffer store for this array, referencing the elements
@@ -378,21 +378,21 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
378
378
  valueOf(): BigInt64Array<TArrayBuffer>;
379
379
 
380
380
  /** Yields each value in the array. */
381
- values(): ArrayIterator<__soundscript_numerics.i64>;
381
+ values(): ArrayIterator<bigint>;
382
382
 
383
- [Symbol.iterator](): ArrayIterator<__soundscript_numerics.i64>;
383
+ [Symbol.iterator](): ArrayIterator<bigint>;
384
384
 
385
385
  readonly [Symbol.toStringTag]: "BigInt64Array";
386
386
 
387
- [index: number]: __soundscript_numerics.i64;
387
+ [index: number]: bigint;
388
388
  }
389
389
  interface BigInt64ArrayConstructor {
390
390
  readonly prototype: BigInt64Array<ArrayBufferLike>;
391
391
  new (length?: number): BigInt64Array<ArrayBuffer>;
392
- new (array: ArrayLike<__soundscript_numerics.i64> | Iterable<__soundscript_numerics.i64>): BigInt64Array<ArrayBuffer>;
392
+ new (array: ArrayLike<bigint> | Iterable<bigint>): BigInt64Array<ArrayBuffer>;
393
393
  new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<TArrayBuffer>;
394
394
  new (buffer: ArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<ArrayBuffer>;
395
- new (array: ArrayLike<__soundscript_numerics.i64> | ArrayBuffer): BigInt64Array<ArrayBuffer>;
395
+ new (array: ArrayLike<bigint> | ArrayBuffer): BigInt64Array<ArrayBuffer>;
396
396
 
397
397
  /** The size in bytes of each element in the array. */
398
398
  readonly BYTES_PER_ELEMENT: number;
@@ -401,13 +401,13 @@ interface BigInt64ArrayConstructor {
401
401
  * Returns a new array from a set of elements.
402
402
  * @param items A set of elements to include in the new array object.
403
403
  */
404
- of(...items: __soundscript_numerics.i64[]): BigInt64Array<ArrayBuffer>;
404
+ of(...items: bigint[]): BigInt64Array<ArrayBuffer>;
405
405
 
406
406
  /**
407
407
  * Creates an array from an array-like or iterable object.
408
408
  * @param arrayLike An array-like object to convert to an array.
409
409
  */
410
- from(arrayLike: ArrayLike<__soundscript_numerics.i64>): BigInt64Array<ArrayBuffer>;
410
+ from(arrayLike: ArrayLike<bigint>): BigInt64Array<ArrayBuffer>;
411
411
 
412
412
  /**
413
413
  * Creates an array from an array-like or iterable object.
@@ -415,13 +415,13 @@ interface BigInt64ArrayConstructor {
415
415
  * @param mapfn A mapping function to call on every element of the array.
416
416
  * @param thisArg Value of 'this' used to invoke the mapfn.
417
417
  */
418
- from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => __soundscript_numerics.i64, thisArg?: unknown): BigInt64Array<ArrayBuffer>;
418
+ from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: unknown): BigInt64Array<ArrayBuffer>;
419
419
 
420
420
  /**
421
421
  * Creates an array from an array-like or iterable object.
422
422
  * @param elements An iterable object to convert to an array.
423
423
  */
424
- from(elements: Iterable<__soundscript_numerics.i64>): BigInt64Array<ArrayBuffer>;
424
+ from(elements: Iterable<bigint>): BigInt64Array<ArrayBuffer>;
425
425
 
426
426
  /**
427
427
  * Creates an array from an array-like or iterable object.
@@ -429,7 +429,7 @@ interface BigInt64ArrayConstructor {
429
429
  * @param mapfn A mapping function to call on every element of the array.
430
430
  * @param thisArg Value of 'this' used to invoke the mapfn.
431
431
  */
432
- from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => __soundscript_numerics.i64, thisArg?: unknown): BigInt64Array<ArrayBuffer>;
432
+ from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: unknown): BigInt64Array<ArrayBuffer>;
433
433
  }
434
434
  declare var BigInt64Array: BigInt64ArrayConstructor;
435
435
 
@@ -462,7 +462,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
462
462
  copyWithin(target: number, start: number, end?: number): this;
463
463
 
464
464
  /** Yields index, value pairs for every entry in the array. */
465
- entries(): ArrayIterator<[number, __soundscript_numerics.u64]>;
465
+ entries(): ArrayIterator<[number, bigint]>;
466
466
 
467
467
  /**
468
468
  * Determines whether all the members of an array satisfy the specified test.
@@ -472,7 +472,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
472
472
  * @param thisArg An object to which the this keyword can refer in the predicate function.
473
473
  * If thisArg is omitted, undefined is used as the this value.
474
474
  */
475
- every(predicate: (value: __soundscript_numerics.u64, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: unknown): boolean;
475
+ every(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: unknown): boolean;
476
476
 
477
477
  /**
478
478
  * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
@@ -482,7 +482,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
482
482
  * @param end index to stop filling the array at. If end is negative, it is treated as
483
483
  * length+end.
484
484
  */
485
- fill(value: __soundscript_numerics.u64, start?: number, end?: number): this;
485
+ fill(value: bigint, start?: number, end?: number): this;
486
486
 
487
487
  /**
488
488
  * Returns the elements of an array that meet the condition specified in a callback function.
@@ -491,7 +491,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
491
491
  * @param thisArg An object to which the this keyword can refer in the predicate function.
492
492
  * If thisArg is omitted, undefined is used as the this value.
493
493
  */
494
- filter(predicate: (value: __soundscript_numerics.u64, index: number, array: BigUint64Array<TArrayBuffer>) => unknown, thisArg?: unknown): BigUint64Array<ArrayBuffer>;
494
+ filter(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => unknown, thisArg?: unknown): BigUint64Array<ArrayBuffer>;
495
495
 
496
496
  /**
497
497
  * Returns the value of the first element in the array where predicate is true, and undefined
@@ -502,7 +502,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
502
502
  * @param thisArg If provided, it will be used as the this value for each invocation of
503
503
  * predicate. If it is not provided, undefined is used instead.
504
504
  */
505
- find(predicate: (value: __soundscript_numerics.u64, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: unknown): __soundscript_numerics.u64 | undefined;
505
+ find(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: unknown): bigint | undefined;
506
506
 
507
507
  /**
508
508
  * Returns the index of the first element in the array where predicate is true, and -1
@@ -513,7 +513,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
513
513
  * @param thisArg If provided, it will be used as the this value for each invocation of
514
514
  * predicate. If it is not provided, undefined is used instead.
515
515
  */
516
- findIndex(predicate: (value: __soundscript_numerics.u64, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: unknown): number;
516
+ findIndex(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: unknown): number;
517
517
 
518
518
  /**
519
519
  * Performs the specified action for each element in an array.
@@ -522,14 +522,14 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
522
522
  * @param thisArg An object to which the this keyword can refer in the callbackfn function.
523
523
  * If thisArg is omitted, undefined is used as the this value.
524
524
  */
525
- forEach(callbackfn: (value: __soundscript_numerics.u64, index: number, array: BigUint64Array<TArrayBuffer>) => void, thisArg?: unknown): void;
525
+ forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => void, thisArg?: unknown): void;
526
526
 
527
527
  /**
528
528
  * Determines whether an array includes a certain element, returning true or false as appropriate.
529
529
  * @param searchElement The element to search for.
530
530
  * @param fromIndex The position in this array at which to begin searching for searchElement.
531
531
  */
532
- includes(searchElement: __soundscript_numerics.u64, fromIndex?: number): boolean;
532
+ includes(searchElement: bigint, fromIndex?: number): boolean;
533
533
 
534
534
  /**
535
535
  * Returns the index of the first occurrence of a value in an array.
@@ -537,7 +537,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
537
537
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
538
538
  * search starts at index 0.
539
539
  */
540
- indexOf(searchElement: __soundscript_numerics.u64, fromIndex?: number): number;
540
+ indexOf(searchElement: bigint, fromIndex?: number): number;
541
541
 
542
542
  /**
543
543
  * Adds all the elements of an array separated by the specified separator string.
@@ -555,7 +555,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
555
555
  * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
556
556
  * search starts at index 0.
557
557
  */
558
- lastIndexOf(searchElement: __soundscript_numerics.u64, fromIndex?: number): number;
558
+ lastIndexOf(searchElement: bigint, fromIndex?: number): number;
559
559
 
560
560
  /** The length of the array. */
561
561
  readonly length: number;
@@ -568,7 +568,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
568
568
  * @param thisArg An object to which the this keyword can refer in the callbackfn function.
569
569
  * If thisArg is omitted, undefined is used as the this value.
570
570
  */
571
- map(callbackfn: (value: __soundscript_numerics.u64, index: number, array: BigUint64Array<TArrayBuffer>) => __soundscript_numerics.u64, thisArg?: unknown): BigUint64Array<ArrayBuffer>;
571
+ map(callbackfn: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => bigint, thisArg?: unknown): BigUint64Array<ArrayBuffer>;
572
572
 
573
573
  /**
574
574
  * Calls the specified callback function for all the elements in an array. The return value of
@@ -580,7 +580,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
580
580
  * the accumulation. The first call to the callbackfn function provides this value as an argument
581
581
  * instead of an array value.
582
582
  */
583
- reduce(callbackfn: (previousValue: __soundscript_numerics.u64, currentValue: __soundscript_numerics.u64, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => __soundscript_numerics.u64): __soundscript_numerics.u64;
583
+ reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => bigint): bigint;
584
584
 
585
585
  /**
586
586
  * Calls the specified callback function for all the elements in an array. The return value of
@@ -592,7 +592,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
592
592
  * the accumulation. The first call to the callbackfn function provides this value as an argument
593
593
  * instead of an array value.
594
594
  */
595
- reduce<U>(callbackfn: (previousValue: U, currentValue: __soundscript_numerics.u64, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U;
595
+ reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U;
596
596
 
597
597
  /**
598
598
  * Calls the specified callback function for all the elements in an array, in descending order.
@@ -604,7 +604,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
604
604
  * the accumulation. The first call to the callbackfn function provides this value as an
605
605
  * argument instead of an array value.
606
606
  */
607
- reduceRight(callbackfn: (previousValue: __soundscript_numerics.u64, currentValue: __soundscript_numerics.u64, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => __soundscript_numerics.u64): __soundscript_numerics.u64;
607
+ reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => bigint): bigint;
608
608
 
609
609
  /**
610
610
  * Calls the specified callback function for all the elements in an array, in descending order.
@@ -616,7 +616,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
616
616
  * the accumulation. The first call to the callbackfn function provides this value as an argument
617
617
  * instead of an array value.
618
618
  */
619
- reduceRight<U>(callbackfn: (previousValue: U, currentValue: __soundscript_numerics.u64, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U;
619
+ reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U;
620
620
 
621
621
  /** Reverses the elements in the array. */
622
622
  reverse(): this;
@@ -626,7 +626,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
626
626
  * @param array A typed or untyped array of values to set.
627
627
  * @param offset The index in the current array at which the values are to be written.
628
628
  */
629
- set(array: ArrayLike<__soundscript_numerics.u64>, offset?: number): void;
629
+ set(array: ArrayLike<bigint>, offset?: number): void;
630
630
 
631
631
  /**
632
632
  * Returns a section of an array.
@@ -643,13 +643,13 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
643
643
  * @param thisArg An object to which the this keyword can refer in the predicate function.
644
644
  * If thisArg is omitted, undefined is used as the this value.
645
645
  */
646
- some(predicate: (value: __soundscript_numerics.u64, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: unknown): boolean;
646
+ some(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: unknown): boolean;
647
647
 
648
648
  /**
649
649
  * Sorts the array.
650
650
  * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.
651
651
  */
652
- sort(compareFn?: (a: __soundscript_numerics.u64, b: __soundscript_numerics.u64) => number | bigint): this;
652
+ sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;
653
653
 
654
654
  /**
655
655
  * Gets a new BigUint64Array view of the ArrayBuffer store for this array, referencing the elements
@@ -669,21 +669,21 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
669
669
  valueOf(): BigUint64Array<TArrayBuffer>;
670
670
 
671
671
  /** Yields each value in the array. */
672
- values(): ArrayIterator<__soundscript_numerics.u64>;
672
+ values(): ArrayIterator<bigint>;
673
673
 
674
- [Symbol.iterator](): ArrayIterator<__soundscript_numerics.u64>;
674
+ [Symbol.iterator](): ArrayIterator<bigint>;
675
675
 
676
676
  readonly [Symbol.toStringTag]: "BigUint64Array";
677
677
 
678
- [index: number]: __soundscript_numerics.u64;
678
+ [index: number]: bigint;
679
679
  }
680
680
  interface BigUint64ArrayConstructor {
681
681
  readonly prototype: BigUint64Array<ArrayBufferLike>;
682
682
  new (length?: number): BigUint64Array<ArrayBuffer>;
683
- new (array: ArrayLike<__soundscript_numerics.u64> | Iterable<__soundscript_numerics.u64>): BigUint64Array<ArrayBuffer>;
683
+ new (array: ArrayLike<bigint> | Iterable<bigint>): BigUint64Array<ArrayBuffer>;
684
684
  new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<TArrayBuffer>;
685
685
  new (buffer: ArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<ArrayBuffer>;
686
- new (array: ArrayLike<__soundscript_numerics.u64> | ArrayBuffer): BigUint64Array<ArrayBuffer>;
686
+ new (array: ArrayLike<bigint> | ArrayBuffer): BigUint64Array<ArrayBuffer>;
687
687
 
688
688
  /** The size in bytes of each element in the array. */
689
689
  readonly BYTES_PER_ELEMENT: number;
@@ -692,13 +692,13 @@ interface BigUint64ArrayConstructor {
692
692
  * Returns a new array from a set of elements.
693
693
  * @param items A set of elements to include in the new array object.
694
694
  */
695
- of(...items: __soundscript_numerics.u64[]): BigUint64Array<ArrayBuffer>;
695
+ of(...items: bigint[]): BigUint64Array<ArrayBuffer>;
696
696
 
697
697
  /**
698
698
  * Creates an array from an array-like or iterable object.
699
699
  * @param arrayLike An array-like object to convert to an array.
700
700
  */
701
- from(arrayLike: ArrayLike<__soundscript_numerics.u64>): BigUint64Array<ArrayBuffer>;
701
+ from(arrayLike: ArrayLike<bigint>): BigUint64Array<ArrayBuffer>;
702
702
 
703
703
  /**
704
704
  * Creates an array from an array-like or iterable object.
@@ -706,13 +706,13 @@ interface BigUint64ArrayConstructor {
706
706
  * @param mapfn A mapping function to call on every element of the array.
707
707
  * @param thisArg Value of 'this' used to invoke the mapfn.
708
708
  */
709
- from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => __soundscript_numerics.u64, thisArg?: unknown): BigUint64Array<ArrayBuffer>;
709
+ from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: unknown): BigUint64Array<ArrayBuffer>;
710
710
 
711
711
  /**
712
712
  * Creates an array from an array-like or iterable object.
713
713
  * @param elements An iterable object to convert to an array.
714
714
  */
715
- from(elements: Iterable<__soundscript_numerics.u64>): BigUint64Array<ArrayBuffer>;
715
+ from(elements: Iterable<bigint>): BigUint64Array<ArrayBuffer>;
716
716
 
717
717
  /**
718
718
  * Creates an array from an array-like or iterable object.
@@ -720,7 +720,7 @@ interface BigUint64ArrayConstructor {
720
720
  * @param mapfn A mapping function to call on every element of the array.
721
721
  * @param thisArg Value of 'this' used to invoke the mapfn.
722
722
  */
723
- from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => __soundscript_numerics.u64, thisArg?: unknown): BigUint64Array<ArrayBuffer>;
723
+ from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: unknown): BigUint64Array<ArrayBuffer>;
724
724
  }
725
725
  declare var BigUint64Array: BigUint64ArrayConstructor;
726
726
 
@@ -731,7 +731,7 @@ interface DataView<TArrayBuffer extends ArrayBufferLike> {
731
731
  * @param byteOffset The place in the buffer at which the value should be retrieved.
732
732
  * @param littleEndian If false or undefined, a big-endian value should be read.
733
733
  */
734
- getBigInt64(byteOffset: number, littleEndian?: boolean): __soundscript_numerics.i64;
734
+ getBigInt64(byteOffset: number, littleEndian?: boolean): bigint;
735
735
 
736
736
  /**
737
737
  * Gets the BigUint64 value at the specified byte offset from the start of the view. There is
@@ -739,7 +739,7 @@ interface DataView<TArrayBuffer extends ArrayBufferLike> {
739
739
  * @param byteOffset The place in the buffer at which the value should be retrieved.
740
740
  * @param littleEndian If false or undefined, a big-endian value should be read.
741
741
  */
742
- getBigUint64(byteOffset: number, littleEndian?: boolean): __soundscript_numerics.u64;
742
+ getBigUint64(byteOffset: number, littleEndian?: boolean): bigint;
743
743
 
744
744
  /**
745
745
  * Stores a BigInt64 value at the specified byte offset from the start of the view.
@@ -747,7 +747,7 @@ interface DataView<TArrayBuffer extends ArrayBufferLike> {
747
747
  * @param value The value to set.
748
748
  * @param littleEndian If false or undefined, a big-endian value should be written.
749
749
  */
750
- setBigInt64(byteOffset: number, value: __soundscript_numerics.i64, littleEndian?: boolean): void;
750
+ setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
751
751
 
752
752
  /**
753
753
  * Stores a BigUint64 value at the specified byte offset from the start of the view.
@@ -755,7 +755,7 @@ interface DataView<TArrayBuffer extends ArrayBufferLike> {
755
755
  * @param value The value to set.
756
756
  * @param littleEndian If false or undefined, a big-endian value should be written.
757
757
  */
758
- setBigUint64(byteOffset: number, value: __soundscript_numerics.u64, littleEndian?: boolean): void;
758
+ setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
759
759
  }
760
760
 
761
761
  declare namespace Intl {
@@ -37,7 +37,7 @@ interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
37
37
  * Returns the item located at the specified index.
38
38
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
39
39
  */
40
- at(index: number): __soundscript_numerics.i8 | undefined;
40
+ at(index: number): number | undefined;
41
41
  }
42
42
 
43
43
  interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
@@ -45,7 +45,7 @@ interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
45
45
  * Returns the item located at the specified index.
46
46
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
47
47
  */
48
- at(index: number): __soundscript_numerics.u8 | undefined;
48
+ at(index: number): number | undefined;
49
49
  }
50
50
 
51
51
  interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
@@ -53,7 +53,7 @@ interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
53
53
  * Returns the item located at the specified index.
54
54
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
55
55
  */
56
- at(index: number): __soundscript_numerics.u8 | undefined;
56
+ at(index: number): number | undefined;
57
57
  }
58
58
 
59
59
  interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
@@ -61,7 +61,7 @@ interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
61
61
  * Returns the item located at the specified index.
62
62
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
63
63
  */
64
- at(index: number): __soundscript_numerics.i16 | undefined;
64
+ at(index: number): number | undefined;
65
65
  }
66
66
 
67
67
  interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
@@ -69,7 +69,7 @@ interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
69
69
  * Returns the item located at the specified index.
70
70
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
71
71
  */
72
- at(index: number): __soundscript_numerics.u16 | undefined;
72
+ at(index: number): number | undefined;
73
73
  }
74
74
 
75
75
  interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
@@ -77,7 +77,7 @@ interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
77
77
  * Returns the item located at the specified index.
78
78
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
79
79
  */
80
- at(index: number): __soundscript_numerics.i32 | undefined;
80
+ at(index: number): number | undefined;
81
81
  }
82
82
 
83
83
  interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
@@ -85,7 +85,7 @@ interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
85
85
  * Returns the item located at the specified index.
86
86
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
87
87
  */
88
- at(index: number): __soundscript_numerics.u32 | undefined;
88
+ at(index: number): number | undefined;
89
89
  }
90
90
 
91
91
  interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
@@ -93,7 +93,7 @@ interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
93
93
  * Returns the item located at the specified index.
94
94
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
95
95
  */
96
- at(index: number): __soundscript_numerics.f32 | undefined;
96
+ at(index: number): number | undefined;
97
97
  }
98
98
 
99
99
  interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
@@ -109,7 +109,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike> {
109
109
  * Returns the item located at the specified index.
110
110
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
111
111
  */
112
- at(index: number): __soundscript_numerics.i64 | undefined;
112
+ at(index: number): bigint | undefined;
113
113
  }
114
114
 
115
115
  interface BigUint64Array<TArrayBuffer extends ArrayBufferLike> {
@@ -117,5 +117,5 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike> {
117
117
  * Returns the item located at the specified index.
118
118
  * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
119
119
  */
120
- at(index: number): __soundscript_numerics.u64 | undefined;
120
+ at(index: number): bigint | undefined;
121
121
  }