/** * These bindings enable easier interaction with Wasm modules generated with our AssemblyScript compilation. * For example : instantiation, passing data back and forth, etc ... * * **Warning** : These bindings are compiled with rollup as a standalone JS module for inclusion in other libraries. * In consequence, they are meant to be kept lightweight, and should avoid importing dependencies. * * @module */ import { Engine } from '../../run/types'; import { RawEngine, EngineContext } from './types'; import { Bindings } from '../../run/types'; export declare const createEngine: (wasmBuffer: ArrayBuffer, additionalBindings?: Bindings) => Promise; export declare const createEngineBindings: (engineContext: EngineContext) => Bindings;