UNPKG

@types/es-abstract

Version:
916 lines (864 loc) 75 kB
/** * Returns the ECMAScript intrinsic for the name. * * @param name The ECMAScript intrinsic name * @param allowMissing Whether the intrinsic can be missing in this environment * * @throws {SyntaxError} If the ECMAScript intrinsic doesn't exist * @throws {TypeError} If the ECMAScript intrinsic exists, but not in this environment and `allowMissing` is `false`. */ declare function GetIntrinsic<K extends keyof GetIntrinsic.Intrinsics>( name: K, allowMissing?: false, ): GetIntrinsic.Intrinsics[K]; declare function GetIntrinsic<K extends keyof GetIntrinsic.Intrinsics>( name: K, allowMissing: true, ): GetIntrinsic.Intrinsics[K] | undefined; declare function GetIntrinsic<K extends keyof GetIntrinsic.Intrinsics>( name: K, allowMissing?: boolean, ): GetIntrinsic.Intrinsics[K] | undefined; declare function GetIntrinsic(name: string, allowMissing?: boolean): unknown; export = GetIntrinsic; type numeric = number | bigint; interface TypedArray<T extends numeric = numeric> extends Readonly<ArrayBufferView> { /** The length of the array. */ readonly length: number; [index: number]: T; } interface TypedArrayConstructor { readonly prototype: TypedArrayPrototype; new(...args: unknown[]): TypedArrayPrototype; /** * Returns a new typed array from a set of elements. * @param items A set of elements to include in the new typed array object. */ of(this: new(length: number) => Int8Array, ...items: number[]): Int8Array; of(this: new(length: number) => Uint8Array, ...items: number[]): Uint8Array; of(this: new(length: number) => Uint8ClampedArray, ...items: number[]): Uint8ClampedArray; of(this: new(length: number) => Int16Array, ...items: number[]): Int16Array; of(this: new(length: number) => Uint16Array, ...items: number[]): Uint16Array; of(this: new(length: number) => Int32Array, ...items: number[]): Int32Array; of(this: new(length: number) => Uint32Array, ...items: number[]): Uint32Array; of(this: new(length: number) => BigInt64Array, ...items: bigint[]): BigInt64Array; of(this: new(length: number) => BigUint64Array, ...items: bigint[]): BigUint64Array; of(this: new(length: number) => Float32Array, ...items: number[]): Float32Array; of(this: new(length: number) => Float64Array, ...items: number[]): Float64Array; /** * Creates a new typed array from an array-like or iterable object. * @param source An array-like or iterable object to convert to a typed array. * @param mapfn A mapping function to call on every element of the source object. * @param thisArg Value of 'this' used to invoke the mapfn. */ from(this: new(length: number) => Int8Array, source: Iterable<number> | ArrayLike<number>): Int8Array; from<U>( this: new(length: number) => Int8Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Int8Array; from(this: new(length: number) => Uint8Array, source: Iterable<number> | ArrayLike<number>): Uint8Array; from<U>( this: new(length: number) => Uint8Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Uint8Array; from( this: new(length: number) => Uint8ClampedArray, source: Iterable<number> | ArrayLike<number>, ): Uint8ClampedArray; from<U>( this: new(length: number) => Uint8ClampedArray, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Uint8ClampedArray; from(this: new(length: number) => Int16Array, source: Iterable<number> | ArrayLike<number>): Int16Array; from<U>( this: new(length: number) => Int16Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Int16Array; from(this: new(length: number) => Uint16Array, source: Iterable<number> | ArrayLike<number>): Uint16Array; from<U>( this: new(length: number) => Uint16Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Uint16Array; from(this: new(length: number) => Int32Array, source: Iterable<number> | ArrayLike<number>): Int32Array; from<U>( this: new(length: number) => Int32Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Int32Array; from(this: new(length: number) => Uint32Array, source: Iterable<number> | ArrayLike<number>): Uint32Array; from<U>( this: new(length: number) => Uint32Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Uint32Array; from(this: new(length: number) => BigInt64Array, source: Iterable<bigint> | ArrayLike<bigint>): BigInt64Array; from<U>( this: new(length: number) => BigInt64Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: unknown, ): BigInt64Array; from(this: new(length: number) => BigUint64Array, source: Iterable<bigint> | ArrayLike<bigint>): BigUint64Array; from<U>( this: new(length: number) => BigUint64Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: unknown, ): BigUint64Array; from(this: new(length: number) => Float32Array, source: Iterable<number> | ArrayLike<number>): Float32Array; from<U>( this: new(length: number) => Float32Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Float32Array; from(this: new(length: number) => Float64Array, source: Iterable<number> | ArrayLike<number>): Float64Array; from<U>( this: new(length: number) => Float64Array, source: Iterable<U> | ArrayLike<U>, mapfn: (v: U, k: number) => number, thisArg?: unknown, ): Float64Array; } interface TypedArrayPrototype { /** The ArrayBuffer instance referenced by the array. */ readonly buffer: ArrayBufferLike; /** The length in bytes of the array. */ readonly byteLength: number; /** The offset in bytes of the array. */ readonly byteOffset: number; /** * Returns the this object after copying a section of the array identified by start and end * to the same array starting at position target * @param target If target is negative, it is treated as length+target where length is the * length of the array. * @param start If start is negative, it is treated as length+start. If end is negative, it * is treated as length+end. * @param end If not specified, length of the this object is used as its default value. */ copyWithin<THIS extends TypedArray>(this: THIS, target: number, start: number, end?: number): THIS; /** Yields index, value pairs for every entry in the array. */ entries<T extends numeric>(this: TypedArray<T>): IterableIterator<[number, T]>; /** * Determines whether all the members of an array satisfy the specified test. * @param callbackfn A function that accepts up to three arguments. The every method calls * the callbackfn function for each element in the array until the callbackfn returns false, * or until the end of the array. * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ every<T extends numeric, THIS extends TypedArray<T>>( this: THIS, predicate: (value: T, index: number, array: THIS) => unknown, thisArg?: unknown, ): boolean; /** * Returns the this object after filling the section identified by start and end with value * @param value value to fill array section with * @param start index to start filling the array at. If start is negative, it is treated as * length+start where length is the length of the array. * @param end index to stop filling the array at. If end is negative, it is treated as * length+end. */ fill<T extends numeric, THIS extends TypedArray<T>>(this: THIS, value: T, start?: number, end?: number): THIS; /** * Returns the elements of an array that meet the condition specified in a callback function. * @param callbackfn A function that accepts up to three arguments. The filter method calls * the callbackfn function one time for each element in the array. * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ filter<T extends numeric, THIS extends TypedArray<T>>( this: THIS, predicate: (value: T, index: number, array: THIS) => unknown, thisArg?: unknown, ): THIS; /** * Returns the value of the first element in the array where predicate is true, and undefined * otherwise. * @param predicate find calls predicate once for each element of the array, in ascending * order, until it finds one where predicate returns true. If such an element is found, find * immediately returns that element value. Otherwise, find returns undefined. * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ find<T extends numeric, THIS extends TypedArray<T>>( this: THIS, predicate: (value: T, index: number, array: THIS) => unknown, thisArg?: unknown, ): T | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 * otherwise. * @param predicate find calls predicate once for each element of the array, in ascending * order, until it finds one where predicate returns true. If such an element is found, * findIndex immediately returns that element index. Otherwise, findIndex returns -1. * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ findIndex<T extends numeric, THIS extends TypedArray<T>>( this: THIS, predicate: (value: T, index: number, array: THIS) => unknown, thisArg?: unknown, ): number; /** * Performs the specified action for each element in an array. * @param callbackfn A function that accepts up to three arguments. forEach calls the * callbackfn function one time for each element in the array. * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ forEach<T extends numeric, THIS extends TypedArray<T>>( this: THIS, callbackfn: (value: T, index: number, array: THIS) => void, thisArg?: unknown, ): void; /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes<T extends numeric>(this: TypedArray<T>, searchElement: T, fromIndex?: number): boolean; /** * Returns the index of the first occurrence of a value in an array. * @param searchElement The value to locate in the array. * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the * search starts at index 0. */ indexOf<T extends numeric>(this: TypedArray<T>, searchElement: T, fromIndex?: number): boolean; /** * Adds all the elements of an array separated by the specified separator string. * @param separator A string used to separate one element of an array from the next in the * resulting String. If omitted, the array elements are separated with a comma. */ join(this: TypedArray, separator?: string): string; /** Yields each index in the array. */ keys(this: TypedArray): IterableIterator<number>; /** * Returns the index of the last occurrence of a value in an array. * @param searchElement The value to locate in the array. * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the * search starts at index 0. */ lastIndexOf<T extends numeric>(this: TypedArray<T>, searchElement: T, fromIndex?: number): boolean; /** The length of the array. */ readonly length: number; /** * Calls a defined callback function on each element of an array, and returns an array that * contains the results. * @param callbackfn A function that accepts up to three arguments. The map method calls the * callbackfn function one time for each element in the array. * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ map<T extends numeric, THIS extends TypedArray>( this: THIS, mapper: (value: T, index: number, array: THIS) => T, thisArg?: unknown, ): THIS; /** * Calls the specified callback function for all the elements in an array. The return value of * the callback function is the accumulated result, and is provided as an argument in the next * call to the callback function. * @param callbackfn A function that accepts up to four arguments. The reduce method calls the * callbackfn function one time for each element in the array. * @param initialValue If initialValue is specified, it is used as the initial value to start * the accumulation. The first call to the callbackfn function provides this value as an argument * instead of an array value. */ reduce<T extends numeric, THIS extends TypedArray<T>>( this: THIS, reducer: (previousValue: T, currentValue: T, currentIndex: number, array: THIS) => T, ): T; reduce<T extends numeric, U, THIS extends TypedArray<T>>( this: THIS, reducer: (previousValue: U, currentValue: T, currentIndex: number, array: THIS) => U, initialValue: U, ): U; /** * Calls the specified callback function for all the elements in an array, in descending order. * The return value of the callback function is the accumulated result, and is provided as an * argument in the next call to the callback function. * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls * the callbackfn function one time for each element in the array. * @param initialValue If initialValue is specified, it is used as the initial value to start * the accumulation. The first call to the callbackfn function provides this value as an * argument instead of an array value. */ reduceRight<T extends numeric, THIS extends TypedArray<T>>( this: THIS, reducer: (previousValue: T, currentValue: T, currentIndex: number, array: THIS) => T, ): T; reduceRight<T extends numeric, U, THIS extends TypedArray<T>>( this: THIS, reducer: (previousValue: U, currentValue: T, currentIndex: number, array: THIS) => U, initialValue: U, ): U; /** Reverses the elements in the array. */ reverse<THIS extends TypedArray>(this: THIS): THIS; /** * Sets a value or an array of values. * @param array A typed or untyped array of values to set. * @param offset The index in the current array at which the values are to be written. */ set<T extends numeric>(this: TypedArray<T>, array: ArrayLike<T>, offset?: number): void; /** * Returns a section of an array. * @param start The beginning of the specified portion of the array. * @param end The end of the specified portion of the array. */ slice<THIS extends TypedArray>(this: THIS, start?: number, end?: number): THIS; /** * Determines whether the specified callback function returns true for any element of an array. * @param callbackfn A function that accepts up to three arguments. The some method calls the * callbackfn function for each element in the array until the callbackfn returns true, or until * the end of the array. * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ some<T extends numeric, THIS extends TypedArray<T>>( this: THIS, predicate: (value: T, index: number, array: THIS) => unknown, thisArg?: unknown, ): boolean; /** * Sorts the array. * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order. */ sort<T extends numeric, THIS extends TypedArray<T>>(this: THIS, comparator?: (a: T, b: T) => number): THIS; /** * Gets a new subview of the ArrayBuffer store for this array, referencing the elements * at begin, inclusive, up to end, exclusive. * @param begin The index of the beginning of the array. * @param end The index of the end of the array. */ subarray<THIS extends TypedArray>(this: THIS, begin?: number, end?: number): THIS; /** Converts the array to a string by using the current locale. */ toLocaleString(this: TypedArray, locales?: string | string[], options?: Intl.NumberFormatOptions): string; /** Returns a string representation of the array. */ toString(): string; /** Yields each value in the array. */ values<T extends numeric>(this: TypedArray<T>): IterableIterator<T>; /** Yields each value in the array. */ [Symbol.iterator]<T extends numeric>(this: TypedArray<T>): IterableIterator<T>; readonly [Symbol.toStringTag]: string | undefined; } // ------------------------ >8 ------------------------ // autogenerated by scripts/collect-intrinsics.ts // do not edit! 2020-07-08T00:53:03.057Z /* eslint-disable @typescript-eslint/no-wrapper-object-types */ declare namespace GetIntrinsic { interface Intrinsics { "%Array%": ArrayConstructor; "%ArrayBuffer%": ArrayBufferConstructor; "%ArrayBufferPrototype%": ArrayBuffer; "%ArrayIteratorPrototype%": IterableIterator<any>; "%ArrayPrototype%": typeof Array.prototype; "%ArrayProto_entries%": typeof Array.prototype.entries; "%ArrayProto_forEach%": typeof Array.prototype.forEach; "%ArrayProto_keys%": typeof Array.prototype.keys; "%ArrayProto_values%": typeof Array.prototype.values; "%AsyncFromSyncIteratorPrototype%": AsyncGenerator<any>; "%AsyncFunction%": FunctionConstructor; "%AsyncFunctionPrototype%": typeof Function.prototype; "%AsyncGenerator%": AsyncGeneratorFunction; "%AsyncGeneratorFunction%": AsyncGeneratorFunctionConstructor; "%AsyncGeneratorPrototype%": AsyncGenerator<any>; "%AsyncIteratorPrototype%": AsyncIterable<any>; "%Atomics%": Atomics; "%Boolean%": BooleanConstructor; "%BooleanPrototype%": typeof Boolean.prototype; "%DataView%": DataViewConstructor; "%DataViewPrototype%": DataView; "%Date%": DateConstructor; "%DatePrototype%": Date; "%decodeURI%": typeof decodeURI; "%decodeURIComponent%": typeof decodeURIComponent; "%encodeURI%": typeof encodeURI; "%encodeURIComponent%": typeof encodeURIComponent; "%Error%": ErrorConstructor; "%ErrorPrototype%": Error; "%eval%": typeof eval; "%EvalError%": EvalErrorConstructor; "%EvalErrorPrototype%": EvalError; "%Float32Array%": Float32ArrayConstructor; "%Float32ArrayPrototype%": Float32Array; "%Float64Array%": Float64ArrayConstructor; "%Float64ArrayPrototype%": Float64Array; "%Function%": FunctionConstructor; "%FunctionPrototype%": typeof Function.prototype; "%Generator%": GeneratorFunction; "%GeneratorFunction%": GeneratorFunctionConstructor; "%GeneratorPrototype%": Generator<any>; "%Int8Array%": Int8ArrayConstructor; "%Int8ArrayPrototype%": Int8Array; "%Int16Array%": Int16ArrayConstructor; "%Int16ArrayPrototype%": Int16Array; "%Int32Array%": Int32ArrayConstructor; "%Int32ArrayPrototype%": Int32Array; "%isFinite%": typeof isFinite; "%isNaN%": typeof isNaN; "%IteratorPrototype%": Iterable<any>; "%JSON%": JSON; "%JSONParse%": typeof JSON.parse; "%Map%": MapConstructor; "%MapIteratorPrototype%": IterableIterator<any>; "%MapPrototype%": typeof Map.prototype; "%Math%": Math; "%Number%": NumberConstructor; "%NumberPrototype%": typeof Number.prototype; "%Object%": ObjectConstructor; "%ObjectPrototype%": typeof Object.prototype; "%ObjProto_toString%": typeof Object.prototype.toString; "%ObjProto_valueOf%": typeof Object.prototype.valueOf; "%parseFloat%": typeof parseFloat; "%parseInt%": typeof parseInt; "%Promise%": PromiseConstructor; "%PromisePrototype%": typeof Promise.prototype; "%PromiseProto_then%": typeof Promise.prototype.then; "%Promise_all%": typeof Promise.all; "%Promise_reject%": typeof Promise.reject; "%Promise_resolve%": typeof Promise.resolve; "%Proxy%": ProxyConstructor; "%RangeError%": RangeErrorConstructor; "%RangeErrorPrototype%": RangeError; "%ReferenceError%": ReferenceErrorConstructor; "%ReferenceErrorPrototype%": ReferenceError; "%Reflect%": typeof Reflect; "%RegExp%": RegExpConstructor; "%RegExpPrototype%": RegExp; "%Set%": SetConstructor; "%SetIteratorPrototype%": IterableIterator<any>; "%SetPrototype%": typeof Set.prototype; "%SharedArrayBuffer%": SharedArrayBufferConstructor; "%SharedArrayBufferPrototype%": SharedArrayBuffer; "%String%": StringConstructor; "%StringIteratorPrototype%": IterableIterator<string>; "%StringPrototype%": typeof String.prototype; "%Symbol%": SymbolConstructor; "%SymbolPrototype%": typeof Symbol.prototype; "%SyntaxError%": SyntaxErrorConstructor; "%SyntaxErrorPrototype%": SyntaxError; "%ThrowTypeError%": () => never; "%TypedArray%": TypedArrayConstructor; "%TypedArrayPrototype%": TypedArrayPrototype; "%TypeError%": TypeErrorConstructor; "%TypeErrorPrototype%": TypeError; "%Uint8Array%": Uint8ArrayConstructor; "%Uint8ArrayPrototype%": Uint8Array; "%Uint8ClampedArray%": Uint8ClampedArrayConstructor; "%Uint8ClampedArrayPrototype%": Uint8ClampedArray; "%Uint16Array%": Uint16ArrayConstructor; "%Uint16ArrayPrototype%": Uint16Array; "%Uint32Array%": Uint32ArrayConstructor; "%Uint32ArrayPrototype%": Uint32Array; "%URIError%": URIErrorConstructor; "%URIErrorPrototype%": URIError; "%WeakMap%": WeakMapConstructor; "%WeakMapPrototype%": typeof WeakMap.prototype; "%WeakSet%": WeakSetConstructor; "%WeakSetPrototype%": typeof WeakSet.prototype; } interface Intrinsics { "%Array.prototype%": typeof Array.prototype; "%Array.prototype.length%": typeof Array.prototype.length; "%Array.prototype.concat%": typeof Array.prototype.concat; "%Array.prototype.copyWithin%": typeof Array.prototype.copyWithin; "%Array.prototype.fill%": typeof Array.prototype.fill; "%Array.prototype.find%": typeof Array.prototype.find; "%Array.prototype.findIndex%": typeof Array.prototype.findIndex; "%Array.prototype.lastIndexOf%": typeof Array.prototype.lastIndexOf; "%Array.prototype.pop%": typeof Array.prototype.pop; "%Array.prototype.push%": typeof Array.prototype.push; "%Array.prototype.reverse%": typeof Array.prototype.reverse; "%Array.prototype.shift%": typeof Array.prototype.shift; "%Array.prototype.unshift%": typeof Array.prototype.unshift; "%Array.prototype.slice%": typeof Array.prototype.slice; "%Array.prototype.sort%": typeof Array.prototype.sort; "%Array.prototype.splice%": typeof Array.prototype.splice; "%Array.prototype.includes%": typeof Array.prototype.includes; "%Array.prototype.indexOf%": typeof Array.prototype.indexOf; "%Array.prototype.join%": typeof Array.prototype.join; "%Array.prototype.keys%": typeof Array.prototype.keys; "%Array.prototype.entries%": typeof Array.prototype.entries; "%Array.prototype.values%": typeof Array.prototype.values; "%Array.prototype.forEach%": typeof Array.prototype.forEach; "%Array.prototype.filter%": typeof Array.prototype.filter; "%Array.prototype.flat%": typeof Array.prototype.flat; "%Array.prototype.flatMap%": typeof Array.prototype.flatMap; "%Array.prototype.map%": typeof Array.prototype.map; "%Array.prototype.every%": typeof Array.prototype.every; "%Array.prototype.some%": typeof Array.prototype.some; "%Array.prototype.reduce%": typeof Array.prototype.reduce; "%Array.prototype.reduceRight%": typeof Array.prototype.reduceRight; "%Array.prototype.toLocaleString%": typeof Array.prototype.toLocaleString; "%Array.prototype.toString%": typeof Array.prototype.toString; "%Array.isArray%": typeof Array.isArray; "%Array.from%": typeof Array.from; "%Array.of%": typeof Array.of; "%ArrayBuffer.prototype%": ArrayBuffer; "%ArrayBuffer.prototype.byteLength%": (this: ArrayBuffer) => typeof ArrayBuffer.prototype.byteLength; "%ArrayBuffer.prototype.slice%": typeof ArrayBuffer.prototype.slice; "%ArrayBuffer.isView%": typeof ArrayBuffer.isView; "%ArrayBufferPrototype.byteLength%": (this: ArrayBuffer) => typeof ArrayBuffer.prototype.byteLength; "%ArrayBufferPrototype.slice%": typeof ArrayBuffer.prototype.slice; "%ArrayIteratorPrototype.next%": IterableIterator<any>["next"]; "%ArrayPrototype.length%": typeof Array.prototype.length; "%ArrayPrototype.concat%": typeof Array.prototype.concat; "%ArrayPrototype.copyWithin%": typeof Array.prototype.copyWithin; "%ArrayPrototype.fill%": typeof Array.prototype.fill; "%ArrayPrototype.find%": typeof Array.prototype.find; "%ArrayPrototype.findIndex%": typeof Array.prototype.findIndex; "%ArrayPrototype.lastIndexOf%": typeof Array.prototype.lastIndexOf; "%ArrayPrototype.pop%": typeof Array.prototype.pop; "%ArrayPrototype.push%": typeof Array.prototype.push; "%ArrayPrototype.reverse%": typeof Array.prototype.reverse; "%ArrayPrototype.shift%": typeof Array.prototype.shift; "%ArrayPrototype.unshift%": typeof Array.prototype.unshift; "%ArrayPrototype.slice%": typeof Array.prototype.slice; "%ArrayPrototype.sort%": typeof Array.prototype.sort; "%ArrayPrototype.splice%": typeof Array.prototype.splice; "%ArrayPrototype.includes%": typeof Array.prototype.includes; "%ArrayPrototype.indexOf%": typeof Array.prototype.indexOf; "%ArrayPrototype.join%": typeof Array.prototype.join; "%ArrayPrototype.keys%": typeof Array.prototype.keys; "%ArrayPrototype.entries%": typeof Array.prototype.entries; "%ArrayPrototype.values%": typeof Array.prototype.values; "%ArrayPrototype.forEach%": typeof Array.prototype.forEach; "%ArrayPrototype.filter%": typeof Array.prototype.filter; "%ArrayPrototype.flat%": typeof Array.prototype.flat; "%ArrayPrototype.flatMap%": typeof Array.prototype.flatMap; "%ArrayPrototype.map%": typeof Array.prototype.map; "%ArrayPrototype.every%": typeof Array.prototype.every; "%ArrayPrototype.some%": typeof Array.prototype.some; "%ArrayPrototype.reduce%": typeof Array.prototype.reduce; "%ArrayPrototype.reduceRight%": typeof Array.prototype.reduceRight; "%ArrayPrototype.toLocaleString%": typeof Array.prototype.toLocaleString; "%ArrayPrototype.toString%": typeof Array.prototype.toString; "%AsyncFromSyncIteratorPrototype.next%": AsyncGenerator<any>["next"]; "%AsyncFromSyncIteratorPrototype.return%": AsyncGenerator<any>["return"]; "%AsyncFromSyncIteratorPrototype.throw%": AsyncGenerator<any>["throw"]; "%AsyncFunction.prototype%": typeof Function.prototype; "%AsyncGenerator.prototype%": AsyncGenerator<any>; "%AsyncGenerator.prototype.next%": AsyncGenerator<any>["next"]; "%AsyncGenerator.prototype.return%": AsyncGenerator<any>["return"]; "%AsyncGenerator.prototype.throw%": AsyncGenerator<any>["throw"]; "%AsyncGeneratorFunction.prototype%": AsyncGeneratorFunction; "%AsyncGeneratorFunction.prototype.prototype%": AsyncGenerator<any>; "%AsyncGeneratorFunction.prototype.prototype.next%": AsyncGenerator<any>["next"]; "%AsyncGeneratorFunction.prototype.prototype.return%": AsyncGenerator<any>["return"]; "%AsyncGeneratorFunction.prototype.prototype.throw%": AsyncGenerator<any>["throw"]; "%AsyncGeneratorPrototype.next%": AsyncGenerator<any>["next"]; "%AsyncGeneratorPrototype.return%": AsyncGenerator<any>["return"]; "%AsyncGeneratorPrototype.throw%": AsyncGenerator<any>["throw"]; "%Atomics.load%": typeof Atomics.load; "%Atomics.store%": typeof Atomics.store; "%Atomics.add%": typeof Atomics.add; "%Atomics.sub%": typeof Atomics.sub; "%Atomics.and%": typeof Atomics.and; "%Atomics.or%": typeof Atomics.or; "%Atomics.xor%": typeof Atomics.xor; "%Atomics.exchange%": typeof Atomics.exchange; "%Atomics.compareExchange%": typeof Atomics.compareExchange; "%Atomics.isLockFree%": typeof Atomics.isLockFree; "%Atomics.wait%": typeof Atomics.wait; "%Atomics.notify%": typeof Atomics.notify; "%Boolean.prototype%": typeof Boolean.prototype; "%Boolean.prototype.toString%": typeof Boolean.prototype.toString; "%Boolean.prototype.valueOf%": typeof Boolean.prototype.valueOf; "%BooleanPrototype.toString%": typeof Boolean.prototype.toString; "%BooleanPrototype.valueOf%": typeof Boolean.prototype.valueOf; "%DataView.prototype%": DataView; "%DataView.prototype.buffer%": (this: DataView) => typeof DataView.prototype.buffer; "%DataView.prototype.byteLength%": (this: DataView) => typeof DataView.prototype.byteLength; "%DataView.prototype.byteOffset%": (this: DataView) => typeof DataView.prototype.byteOffset; "%DataView.prototype.getInt8%": typeof DataView.prototype.getInt8; "%DataView.prototype.setInt8%": typeof DataView.prototype.setInt8; "%DataView.prototype.getUint8%": typeof DataView.prototype.getUint8; "%DataView.prototype.setUint8%": typeof DataView.prototype.setUint8; "%DataView.prototype.getInt16%": typeof DataView.prototype.getInt16; "%DataView.prototype.setInt16%": typeof DataView.prototype.setInt16; "%DataView.prototype.getUint16%": typeof DataView.prototype.getUint16; "%DataView.prototype.setUint16%": typeof DataView.prototype.setUint16; "%DataView.prototype.getInt32%": typeof DataView.prototype.getInt32; "%DataView.prototype.setInt32%": typeof DataView.prototype.setInt32; "%DataView.prototype.getUint32%": typeof DataView.prototype.getUint32; "%DataView.prototype.setUint32%": typeof DataView.prototype.setUint32; "%DataView.prototype.getFloat32%": typeof DataView.prototype.getFloat32; "%DataView.prototype.setFloat32%": typeof DataView.prototype.setFloat32; "%DataView.prototype.getFloat64%": typeof DataView.prototype.getFloat64; "%DataView.prototype.setFloat64%": typeof DataView.prototype.setFloat64; "%DataView.prototype.getBigInt64%": typeof DataView.prototype.getBigInt64; "%DataView.prototype.setBigInt64%": typeof DataView.prototype.setBigInt64; "%DataView.prototype.getBigUint64%": typeof DataView.prototype.getBigUint64; "%DataView.prototype.setBigUint64%": typeof DataView.prototype.setBigUint64; "%DataViewPrototype.buffer%": (this: DataView) => typeof DataView.prototype.buffer; "%DataViewPrototype.byteLength%": (this: DataView) => typeof DataView.prototype.byteLength; "%DataViewPrototype.byteOffset%": (this: DataView) => typeof DataView.prototype.byteOffset; "%DataViewPrototype.getInt8%": typeof DataView.prototype.getInt8; "%DataViewPrototype.setInt8%": typeof DataView.prototype.setInt8; "%DataViewPrototype.getUint8%": typeof DataView.prototype.getUint8; "%DataViewPrototype.setUint8%": typeof DataView.prototype.setUint8; "%DataViewPrototype.getInt16%": typeof DataView.prototype.getInt16; "%DataViewPrototype.setInt16%": typeof DataView.prototype.setInt16; "%DataViewPrototype.getUint16%": typeof DataView.prototype.getUint16; "%DataViewPrototype.setUint16%": typeof DataView.prototype.setUint16; "%DataViewPrototype.getInt32%": typeof DataView.prototype.getInt32; "%DataViewPrototype.setInt32%": typeof DataView.prototype.setInt32; "%DataViewPrototype.getUint32%": typeof DataView.prototype.getUint32; "%DataViewPrototype.setUint32%": typeof DataView.prototype.setUint32; "%DataViewPrototype.getFloat32%": typeof DataView.prototype.getFloat32; "%DataViewPrototype.setFloat32%": typeof DataView.prototype.setFloat32; "%DataViewPrototype.getFloat64%": typeof DataView.prototype.getFloat64; "%DataViewPrototype.setFloat64%": typeof DataView.prototype.setFloat64; "%DataViewPrototype.getBigInt64%": typeof DataView.prototype.getBigInt64; "%DataViewPrototype.setBigInt64%": typeof DataView.prototype.setBigInt64; "%DataViewPrototype.getBigUint64%": typeof DataView.prototype.getBigUint64; "%DataViewPrototype.setBigUint64%": typeof DataView.prototype.setBigUint64; "%Date.prototype%": Date; "%Date.prototype.toString%": typeof Date.prototype.toString; "%Date.prototype.toDateString%": typeof Date.prototype.toDateString; "%Date.prototype.toTimeString%": typeof Date.prototype.toTimeString; "%Date.prototype.toISOString%": typeof Date.prototype.toISOString; "%Date.prototype.toUTCString%": typeof Date.prototype.toUTCString; "%Date.prototype.getDate%": typeof Date.prototype.getDate; "%Date.prototype.setDate%": typeof Date.prototype.setDate; "%Date.prototype.getDay%": typeof Date.prototype.getDay; "%Date.prototype.getFullYear%": typeof Date.prototype.getFullYear; "%Date.prototype.setFullYear%": typeof Date.prototype.setFullYear; "%Date.prototype.getHours%": typeof Date.prototype.getHours; "%Date.prototype.setHours%": typeof Date.prototype.setHours; "%Date.prototype.getMilliseconds%": typeof Date.prototype.getMilliseconds; "%Date.prototype.setMilliseconds%": typeof Date.prototype.setMilliseconds; "%Date.prototype.getMinutes%": typeof Date.prototype.getMinutes; "%Date.prototype.setMinutes%": typeof Date.prototype.setMinutes; "%Date.prototype.getMonth%": typeof Date.prototype.getMonth; "%Date.prototype.setMonth%": typeof Date.prototype.setMonth; "%Date.prototype.getSeconds%": typeof Date.prototype.getSeconds; "%Date.prototype.setSeconds%": typeof Date.prototype.setSeconds; "%Date.prototype.getTime%": typeof Date.prototype.getTime; "%Date.prototype.setTime%": typeof Date.prototype.setTime; "%Date.prototype.getTimezoneOffset%": typeof Date.prototype.getTimezoneOffset; "%Date.prototype.getUTCDate%": typeof Date.prototype.getUTCDate; "%Date.prototype.setUTCDate%": typeof Date.prototype.setUTCDate; "%Date.prototype.getUTCDay%": typeof Date.prototype.getUTCDay; "%Date.prototype.getUTCFullYear%": typeof Date.prototype.getUTCFullYear; "%Date.prototype.setUTCFullYear%": typeof Date.prototype.setUTCFullYear; "%Date.prototype.getUTCHours%": typeof Date.prototype.getUTCHours; "%Date.prototype.setUTCHours%": typeof Date.prototype.setUTCHours; "%Date.prototype.getUTCMilliseconds%": typeof Date.prototype.getUTCMilliseconds; "%Date.prototype.setUTCMilliseconds%": typeof Date.prototype.setUTCMilliseconds; "%Date.prototype.getUTCMinutes%": typeof Date.prototype.getUTCMinutes; "%Date.prototype.setUTCMinutes%": typeof Date.prototype.setUTCMinutes; "%Date.prototype.getUTCMonth%": typeof Date.prototype.getUTCMonth; "%Date.prototype.setUTCMonth%": typeof Date.prototype.setUTCMonth; "%Date.prototype.getUTCSeconds%": typeof Date.prototype.getUTCSeconds; "%Date.prototype.setUTCSeconds%": typeof Date.prototype.setUTCSeconds; "%Date.prototype.valueOf%": typeof Date.prototype.valueOf; "%Date.prototype.toJSON%": typeof Date.prototype.toJSON; "%Date.prototype.toLocaleString%": typeof Date.prototype.toLocaleString; "%Date.prototype.toLocaleDateString%": typeof Date.prototype.toLocaleDateString; "%Date.prototype.toLocaleTimeString%": typeof Date.prototype.toLocaleTimeString; "%Date.now%": typeof Date.now; "%Date.parse%": typeof Date.parse; "%Date.UTC%": typeof Date.UTC; "%DatePrototype.toString%": typeof Date.prototype.toString; "%DatePrototype.toDateString%": typeof Date.prototype.toDateString; "%DatePrototype.toTimeString%": typeof Date.prototype.toTimeString; "%DatePrototype.toISOString%": typeof Date.prototype.toISOString; "%DatePrototype.toUTCString%": typeof Date.prototype.toUTCString; "%DatePrototype.getDate%": typeof Date.prototype.getDate; "%DatePrototype.setDate%": typeof Date.prototype.setDate; "%DatePrototype.getDay%": typeof Date.prototype.getDay; "%DatePrototype.getFullYear%": typeof Date.prototype.getFullYear; "%DatePrototype.setFullYear%": typeof Date.prototype.setFullYear; "%DatePrototype.getHours%": typeof Date.prototype.getHours; "%DatePrototype.setHours%": typeof Date.prototype.setHours; "%DatePrototype.getMilliseconds%": typeof Date.prototype.getMilliseconds; "%DatePrototype.setMilliseconds%": typeof Date.prototype.setMilliseconds; "%DatePrototype.getMinutes%": typeof Date.prototype.getMinutes; "%DatePrototype.setMinutes%": typeof Date.prototype.setMinutes; "%DatePrototype.getMonth%": typeof Date.prototype.getMonth; "%DatePrototype.setMonth%": typeof Date.prototype.setMonth; "%DatePrototype.getSeconds%": typeof Date.prototype.getSeconds; "%DatePrototype.setSeconds%": typeof Date.prototype.setSeconds; "%DatePrototype.getTime%": typeof Date.prototype.getTime; "%DatePrototype.setTime%": typeof Date.prototype.setTime; "%DatePrototype.getTimezoneOffset%": typeof Date.prototype.getTimezoneOffset; "%DatePrototype.getUTCDate%": typeof Date.prototype.getUTCDate; "%DatePrototype.setUTCDate%": typeof Date.prototype.setUTCDate; "%DatePrototype.getUTCDay%": typeof Date.prototype.getUTCDay; "%DatePrototype.getUTCFullYear%": typeof Date.prototype.getUTCFullYear; "%DatePrototype.setUTCFullYear%": typeof Date.prototype.setUTCFullYear; "%DatePrototype.getUTCHours%": typeof Date.prototype.getUTCHours; "%DatePrototype.setUTCHours%": typeof Date.prototype.setUTCHours; "%DatePrototype.getUTCMilliseconds%": typeof Date.prototype.getUTCMilliseconds; "%DatePrototype.setUTCMilliseconds%": typeof Date.prototype.setUTCMilliseconds; "%DatePrototype.getUTCMinutes%": typeof Date.prototype.getUTCMinutes; "%DatePrototype.setUTCMinutes%": typeof Date.prototype.setUTCMinutes; "%DatePrototype.getUTCMonth%": typeof Date.prototype.getUTCMonth; "%DatePrototype.setUTCMonth%": typeof Date.prototype.setUTCMonth; "%DatePrototype.getUTCSeconds%": typeof Date.prototype.getUTCSeconds; "%DatePrototype.setUTCSeconds%": typeof Date.prototype.setUTCSeconds; "%DatePrototype.valueOf%": typeof Date.prototype.valueOf; "%DatePrototype.toJSON%": typeof Date.prototype.toJSON; "%DatePrototype.toLocaleString%": typeof Date.prototype.toLocaleString; "%DatePrototype.toLocaleDateString%": typeof Date.prototype.toLocaleDateString; "%DatePrototype.toLocaleTimeString%": typeof Date.prototype.toLocaleTimeString; "%Error.prototype%": Error; "%Error.prototype.name%": typeof Error.prototype.name; "%Error.prototype.message%": typeof Error.prototype.message; "%Error.prototype.toString%": typeof Error.prototype.toString; "%ErrorPrototype.name%": typeof Error.prototype.name; "%ErrorPrototype.message%": typeof Error.prototype.message; "%ErrorPrototype.toString%": typeof Error.prototype.toString; "%EvalError.prototype%": EvalError; "%EvalError.prototype.name%": typeof EvalError.prototype.name; "%EvalError.prototype.message%": typeof EvalError.prototype.message; "%EvalErrorPrototype.name%": typeof EvalError.prototype.name; "%EvalErrorPrototype.message%": typeof EvalError.prototype.message; "%Float32Array.prototype%": Float32Array; "%Float32Array.prototype.BYTES_PER_ELEMENT%": typeof Float32Array.prototype.BYTES_PER_ELEMENT; "%Float32Array.BYTES_PER_ELEMENT%": typeof Float32Array.BYTES_PER_ELEMENT; "%Float32ArrayPrototype.BYTES_PER_ELEMENT%": typeof Float32Array.prototype.BYTES_PER_ELEMENT; "%Float64Array.prototype%": Float64Array; "%Float64Array.prototype.BYTES_PER_ELEMENT%": typeof Float64Array.prototype.BYTES_PER_ELEMENT; "%Float64Array.BYTES_PER_ELEMENT%": typeof Float64Array.BYTES_PER_ELEMENT; "%Float64ArrayPrototype.BYTES_PER_ELEMENT%": typeof Float64Array.prototype.BYTES_PER_ELEMENT; "%Function.prototype%": typeof Function.prototype; "%Function.prototype.apply%": typeof Function.prototype.apply; "%Function.prototype.bind%": typeof Function.prototype.bind; "%Function.prototype.call%": typeof Function.prototype.call; "%Function.prototype.toString%": typeof Function.prototype.toString; "%FunctionPrototype.apply%": typeof Function.prototype.apply; "%FunctionPrototype.bind%": typeof Function.prototype.bind; "%FunctionPrototype.call%": typeof Function.prototype.call; "%FunctionPrototype.toString%": typeof Function.prototype.toString; "%Generator.prototype%": Generator<any>; "%Generator.prototype.next%": Generator<any>["next"]; "%Generator.prototype.return%": Generator<any>["return"]; "%Generator.prototype.throw%": Generator<any>["throw"]; "%GeneratorFunction.prototype%": GeneratorFunction; "%GeneratorFunction.prototype.prototype%": Generator<any>; "%GeneratorFunction.prototype.prototype.next%": Generator<any>["next"]; "%GeneratorFunction.prototype.prototype.return%": Generator<any>["return"]; "%GeneratorFunction.prototype.prototype.throw%": Generator<any>["throw"]; "%GeneratorPrototype.next%": Generator<any>["next"]; "%GeneratorPrototype.return%": Generator<any>["return"]; "%GeneratorPrototype.throw%": Generator<any>["throw"]; "%Int8Array.prototype%": Int8Array; "%Int8Array.prototype.BYTES_PER_ELEMENT%": typeof Int8Array.prototype.BYTES_PER_ELEMENT; "%Int8Array.BYTES_PER_ELEMENT%": typeof Int8Array.BYTES_PER_ELEMENT; "%Int8ArrayPrototype.BYTES_PER_ELEMENT%": typeof Int8Array.prototype.BYTES_PER_ELEMENT; "%Int16Array.prototype%": Int16Array; "%Int16Array.prototype.BYTES_PER_ELEMENT%": typeof Int16Array.prototype.BYTES_PER_ELEMENT; "%Int16Array.BYTES_PER_ELEMENT%": typeof Int16Array.BYTES_PER_ELEMENT; "%Int16ArrayPrototype.BYTES_PER_ELEMENT%": typeof Int16Array.prototype.BYTES_PER_ELEMENT; "%Int32Array.prototype%": Int32Array; "%Int32Array.prototype.BYTES_PER_ELEMENT%": typeof Int32Array.prototype.BYTES_PER_ELEMENT; "%Int32Array.BYTES_PER_ELEMENT%": typeof Int32Array.BYTES_PER_ELEMENT; "%Int32ArrayPrototype.BYTES_PER_ELEMENT%": typeof Int32Array.prototype.BYTES_PER_ELEMENT; "%JSON.parse%": typeof JSON.parse; "%JSON.stringify%": typeof JSON.stringify; "%Map.prototype%": typeof Map.prototype; "%Map.prototype.get%": typeof Map.prototype.get; "%Map.prototype.set%": typeof Map.prototype.set; "%Map.prototype.has%": typeof Map.prototype.has; "%Map.prototype.delete%": typeof Map.prototype.delete; "%Map.prototype.clear%": typeof Map.prototype.clear; "%Map.prototype.entries%": typeof Map.prototype.entries; "%Map.prototype.forEach%": typeof Map.prototype.forEach; "%Map.prototype.keys%": typeof Map.prototype.keys; "%Map.prototype.size%": (this: Map<any, any>) => typeof Map.prototype.size; "%Map.prototype.values%": typeof Map.prototype.values; "%MapIteratorPrototype.next%": IterableIterator<any>["next"]; "%MapPrototype.get%": typeof Map.prototype.get; "%MapPrototype.set%": typeof Map.prototype.set; "%MapPrototype.has%": typeof Map.prototype.has; "%MapPrototype.delete%": typeof Map.prototype.delete; "%MapPrototype.clear%": typeof Map.prototype.clear; "%MapPrototype.entries%": typeof Map.prototype.entries; "%MapPrototype.forEach%": typeof Map.prototype.forEach; "%MapPrototype.keys%": typeof Map.prototype.keys; "%MapPrototype.size%": (this: Map<any, any>) => typeof Map.prototype.size; "%MapPrototype.values%": typeof Map.prototype.values; "%Math.abs%": typeof Math.abs; "%Math.acos%": typeof Math.acos; "%Math.acosh%": typeof Math.acosh; "%Math.asin%": typeof Math.asin; "%Math.asinh%": typeof Math.asinh; "%Math.atan%": typeof Math.atan; "%Math.atanh%": typeof Math.atanh; "%Math.atan2%": typeof Math.atan2; "%Math.ceil%": typeof Math.ceil; "%Math.cbrt%": typeof Math.cbrt; "%Math.expm1%": typeof Math.expm1; "%Math.clz32%": typeof Math.clz32; "%Math.cos%": typeof Math.cos; "%Math.cosh%": typeof Math.cosh; "%Math.exp%": typeof Math.exp; "%Math.floor%": typeof Math.floor; "%Math.fround%": typeof Math.fround; "%Math.hypot%": typeof Math.hypot; "%Math.imul%": typeof Math.imul; "%Math.log%": typeof Math.log; "%Math.log1p%": typeof Math.log1p; "%Math.log2%": typeof Math.log2; "%Math.log10%": typeof Math.log10; "%Math.max%": typeof Math.max; "%Math.min%": typeof Math.min; "%Math.pow%": typeof Math.pow; "%Math.random%": typeof Math.random; "%Math.round%": typeof Math.round; "%Math.sign%": typeof Math.sign; "%Math.sin%": typeof Math.sin; "%Math.sinh%": typeof Math.sinh; "%Math.sqrt%": typeof Math.sqrt; "%Math.tan%": typeof Math.tan; "%Math.tanh%": typeof Math.tanh; "%Math.trunc%": typeof Math.trunc; "%Math.E%": typeof Math.E; "%Math.LN10%": typeof Math.LN10; "%Math.LN2%": typeof Math.LN2; "%Math.LOG10E%": typeof Math.LOG10E; "%Math.LOG2E%": typeof Math.LOG2E; "%Math.PI%": typeof Math.PI; "%Math.SQRT1_2%": typeof Math.SQRT1_2; "%Math.SQRT2%": typeof Math.SQRT2; "%Number.prototype%": typeof Number.prototype; "%Number.prototype.toExponential%": typeof Number.prototype.toExponential; "%Number.prototype.toFixed%": typeof Number.prototype.toFixed; "%Number.prototype.toPrecision%": typeof Number.prototype.toPrecision; "%Number.prototype.toString%": typeof Number.prototype.toString; "%Number.prototype.valueOf%": typeof Number.prototype.valueOf; "%Number.prototype.toLocaleString%": typeof Number.prototype.toLocaleString; "%Number.isFinite%": typeof Number.isFinite; "%Number.isInteger%": typeof Number.isInteger; "%Number.isNaN%": typeof Number.isNaN; "%Number.isSafeInteger%": typeof Number.isSafeInteger; "%Number.parseFloat%": typeof Number.parseFloat; "%Number.parseInt%": typeof Number.parseInt; "%Number.MAX_VALUE%": typeof Number.MAX_VALUE; "%Number.MIN_VALUE%": typeof Number.MIN_VALUE; "%Number.NaN%": typeof Number.NaN; "%Number.NEGATIVE_INFINITY%": typeof Number.NEGATIVE_INFINITY; "%Number.POSITIVE_INFINITY%": typeof Number.POSITIVE_INFINITY; "%Number.MAX_SAFE_INTEGER%": typeof Number.MAX_SAFE_INTEGER; "%Number.MIN_SAFE_INTEGER%": typeof Number.MIN_SAFE_INTEGER; "%Number.EPSILON%": typeof Number.EPSILON; "%NumberPrototype.toExponential%": typeof Number.prototype.toExponential; "%NumberPrototype.toFixed%": typeof Number.prototype.toFixed; "%NumberPrototype.toPrecision%": typeof Number.prototype.toPrecision; "%NumberPrototype.toString%": typeof Number