UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

11 lines • 488 B
/** * A wasm module's bytes, found under `home`: a directory on disk, where * Node reads it, or a URL, which a page (or Node) fetches. A page reads * a relative URL against its own. Python's `loader` imports wasmtime, * which reads the module from disk itself. * * @param home - the directory or URL the module is in. * @param name - the module's file name. */ export declare function loadWasm(home: string, name: string): Promise<Uint8Array>; //# sourceMappingURL=loader.d.ts.map