Files
ruvnet--RuView/vendor/sublinear-time-solver/dist/core/wasm-loader.d.ts
T
ruv 4b1005524e feat: complete vendor repos, add edge intelligence and WASM modules
- Add 154 missing vendor files (gitignore was filtering them)
  - vendor/midstream: 564 files (was 561)
  - vendor/sublinear-time-solver: 1190 files (was 1039)
- Add ESP32 edge processing (ADR-039): presence, vitals, fall detection
- Add WASM programmable sensing (ADR-040/041) with wasm3 runtime
- Add firmware CI workflow (.github/workflows/firmware-ci.yml)
- Add wifi-densepose-wasm-edge crate for edge WASM modules
- Update sensing server, provision.py, UI components

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 23:53:25 -05:00

52 lines
1.2 KiB
TypeScript

/**
* WASM Module Loader
* Loads and initializes WebAssembly modules for high-performance computing
*/
export interface WasmModule {
instance: any;
exports: any;
memory?: any;
}
export declare class WasmLoader {
private static modules;
private static initialized;
/**
* Initialize all WASM modules
*/
static initialize(): Promise<void>;
/**
* Load a specific WASM module
*/
static loadModule(name: string, filename: string): Promise<WasmModule>;
/**
* Get a loaded WASM module
*/
static getModule(name: string): WasmModule | undefined;
/**
* Check if a module is available
*/
static hasModule(name: string): boolean;
/**
* Get all loaded module names
*/
static getLoadedModules(): string[];
/**
* Get memory usage statistics
*/
static getMemoryStats(): {
[key: string]: number;
};
/**
* Check if WASM is available and return feature flags
*/
static getFeatureFlags(): {
hasWasm: boolean;
hasGraphReasoner: boolean;
hasPlanner: boolean;
hasExtractors: boolean;
hasTemporalNeural: boolean;
hasStrangeLoop: boolean;
hasNanoConsciousness: boolean;
};
}