UNPKG

@montferret/ferret-wasm

Version:

Ferret compiler and runtime ported to WASM

75 lines (74 loc) 2.46 kB
/// <reference types="node" /> export declare class Platform { Array: typeof Array; ArrayBuffer: typeof ArrayBuffer; Boolean: typeof Boolean; Buffer: typeof Buffer; DataView: typeof DataView; Date: typeof Date; Error: typeof Error; EvalError: typeof EvalError; Float32Array: typeof Float32Array; Float64Array: typeof Float64Array; Function: typeof Function; GLOBAL: any; Infinity: typeof Infinity; Int16Array: typeof Int16Array; Int32Array: typeof Int32Array; Int8Array: typeof Int8Array; Intl: typeof Intl; JSON: typeof JSON; Map: MapConstructor; Math: typeof Math; NaN: typeof NaN; Number: typeof Number; Object: typeof Object; Promise: Function; RangeError: typeof RangeError; ReferenceError: typeof ReferenceError; RegExp: typeof RegExp; Set: SetConstructor; String: typeof String; Symbol: Function; SyntaxError: typeof SyntaxError; TypeError: typeof TypeError; URIError: typeof URIError; Uint16Array: typeof Uint16Array; Uint32Array: typeof Uint32Array; Uint8Array: typeof Uint8Array; Uint8ClampedArray: Function; WeakMap: WeakMapConstructor; WeakSet: WeakSetConstructor; clearImmediate: (immediateId: NodeJS.Immediate) => void; clearInterval: (intervalId: NodeJS.Timeout) => void; clearTimeout: (timeoutId: NodeJS.Timeout) => void; console: typeof console; decodeURI: typeof decodeURI; decodeURIComponent: typeof decodeURIComponent; encodeURI: typeof encodeURI; encodeURIComponent: typeof encodeURIComponent; escape: (str: string) => string; eval: typeof eval; gc: () => void; global: any; isFinite: typeof isFinite; isNaN: typeof isNaN; parseFloat: typeof parseFloat; parseInt: typeof parseInt; process: NodeJS.Process; queueMicrotask: typeof queueMicrotask; root: any; setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => NodeJS.Immediate; setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timeout; setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timeout; undefined: typeof undefined; unescape: (str: string) => string; v8debug: any; fs: any; crypto: any; performance: any; encoder: TextEncoder; decoder: TextDecoder; [key: string]: any; constructor(encoding?: string); }