@cognipilot/rumoca 0.9.4 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # npm Packaging
2
2
 
3
3
  This directory is the canonical npm entrypoint for Rumoca WASM packaging.
4
- The build copies this README into each generated `pkg/<profile>-<variant>`
4
+ The build copies this README into each generated `packages/rumoca/dist/<profile>-<variant>`
5
5
  package so the published npm package links back to the packaging workflow.
6
6
 
7
7
  ## Common commands
@@ -16,7 +16,7 @@ npm run build:dev:full-web:rayon
16
16
 
17
17
  ## Notes
18
18
 
19
- - Shared build logic is implemented in `packaging/npm/build.mjs`.
20
- - Non-pack builds land in `pkg/<profile>-<variant>[-rayon]` at repo root.
21
- - Packed tarballs are moved to `pkg/` at repo root.
22
- - Publishing uses the generated `pkg/*` package metadata and artifacts.
19
+ - Shared build logic is implemented in `packages/rumoca/build.mjs`.
20
+ - Non-pack builds land in `packages/rumoca/dist/<profile>-<variant>[-rayon]`.
21
+ - Packed tarballs are moved to `packages/rumoca/dist/`.
22
+ - Publishing uses the generated `packages/rumoca/dist/*` package metadata and artifacts.
@@ -0,0 +1,88 @@
1
+ // Shared Modelica language definition for Monaco editors.
2
+ //
3
+ // Used by the full WASM playground (`monaco_setup.js`) and by the mini
4
+ // editors embedded in the mdBook guides (`docs/user-guide/live/rumoca-live.js`).
5
+ // Keep this the single source of truth for Modelica tokenization in Monaco.
6
+
7
+ export function registerModelicaLanguage(monaco) {
8
+ if (monaco.languages.getLanguages().some((lang) => lang.id === 'modelica')) {
9
+ return;
10
+ }
11
+ monaco.languages.register({ id: 'modelica' });
12
+ monaco.languages.setLanguageConfiguration('modelica', {
13
+ comments: {
14
+ lineComment: '//',
15
+ blockComment: ['/*', '*/']
16
+ },
17
+ brackets: [
18
+ ['{', '}'],
19
+ ['[', ']'],
20
+ ['(', ')']
21
+ ],
22
+ autoClosingPairs: [
23
+ { open: '{', close: '}' },
24
+ { open: '[', close: ']' },
25
+ { open: '(', close: ')' },
26
+ { open: '"', close: '"', notIn: ['string', 'comment'] }
27
+ ]
28
+ });
29
+ monaco.languages.setMonarchTokensProvider('modelica', {
30
+ keywords: [
31
+ 'algorithm', 'and', 'annotation', 'assert', 'block', 'break',
32
+ 'class', 'connect', 'connector', 'constant', 'constrainedby',
33
+ 'der', 'discrete', 'each', 'else', 'elseif', 'elsewhen',
34
+ 'encapsulated', 'end', 'enumeration', 'equation', 'expandable',
35
+ 'extends', 'external', 'false', 'final', 'flow', 'for',
36
+ 'function', 'if', 'import', 'impure', 'in', 'initial',
37
+ 'inner', 'input', 'loop', 'model', 'not', 'operator',
38
+ 'or', 'outer', 'output', 'package', 'parameter', 'partial',
39
+ 'protected', 'public', 'pure', 'record', 'redeclare',
40
+ 'replaceable', 'return', 'stream', 'then', 'true', 'type',
41
+ 'when', 'while', 'within'
42
+ ],
43
+ types: ['Real', 'Integer', 'Boolean', 'String'],
44
+ builtins: [
45
+ // Event/state functions
46
+ 'der', 'pre', 'edge', 'change', 'initial', 'terminal', 'sample',
47
+ 'smooth', 'delay', 'cardinality', 'homotopy', 'semiLinear',
48
+ 'inStream', 'actualStream', 'getInstanceName', 'spatialDistribution',
49
+ 'reinit', 'assert', 'terminate',
50
+ // Math functions
51
+ 'abs', 'sign', 'sqrt', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
52
+ 'sinh', 'cosh', 'tanh', 'exp', 'log', 'log10',
53
+ 'floor', 'ceil', 'mod', 'rem', 'div', 'integer',
54
+ // Array functions
55
+ 'size', 'ndims', 'scalar', 'vector', 'matrix', 'transpose',
56
+ 'outerProduct', 'symmetric', 'cross', 'skew', 'identity', 'diagonal',
57
+ 'zeros', 'ones', 'fill', 'linspace', 'min', 'max', 'sum', 'product', 'cat',
58
+ // Builtin variables/special names frequently used in expressions
59
+ 'time', 'noEvent', 'Connections'
60
+ ],
61
+ tokenizer: {
62
+ root: [
63
+ [/[a-zA-Z_]\w*/, {
64
+ cases: {
65
+ '@keywords': 'keyword',
66
+ '@types': 'type',
67
+ '@builtins': 'predefined',
68
+ '@default': 'identifier'
69
+ }
70
+ }],
71
+ [/[{}()\[\]]/, 'delimiter.bracket'],
72
+ [/[;,.]/, 'delimiter'],
73
+ // Comments must be matched before '/' operator tokens.
74
+ [/\/\/.*$/, 'comment'],
75
+ [/\/\*/, 'comment', '@comment'],
76
+ [/[<>=!]+/, 'operator'],
77
+ [/[+\-*\/^:]/, 'operator'],
78
+ [/\d+\.?\d*([eE][-+]?\d+)?/, 'number'],
79
+ [/"([^"\\]|\\.)*"/, 'string'],
80
+ ],
81
+ comment: [
82
+ [/[^/*]+/, 'comment'],
83
+ [/\*\//, 'comment', '@pop'],
84
+ [/[/*]/, 'comment']
85
+ ],
86
+ }
87
+ });
88
+ }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@cognipilot/rumoca",
3
3
  "type": "module",
4
4
  "description": "WebAssembly bindings for Rumoca compile and optional simulation surfaces",
5
- "version": "0.9.4",
5
+ "version": "0.9.6",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",
@@ -13,12 +13,15 @@
13
13
  "rumoca_bind_wasm.js",
14
14
  "rumoca_bind_wasm.d.ts",
15
15
  "rumoca_gpu.js",
16
+ "rumoca_interactive.js",
16
17
  "rumoca_diffsol.js",
17
18
  "rumoca_bind_wasm_diffsol.js",
18
19
  "rumoca_bind_wasm_diffsol_bg.wasm",
19
20
  "rumoca_bind_wasm_diffsol.d.ts",
20
21
  "rumoca_worker.js",
21
22
  "parse_worker.js",
23
+ "rumoca_runtime.js",
24
+ "modelica_language.js",
22
25
  "rumoca_package_meta.json",
23
26
  "README.md"
24
27
  ],
@@ -39,6 +42,9 @@
39
42
  "./gpu": {
40
43
  "import": "./rumoca_gpu.js"
41
44
  },
45
+ "./interactive": {
46
+ "import": "./rumoca_interactive.js"
47
+ },
42
48
  "./diffsol": {
43
49
  "import": "./rumoca_diffsol.js"
44
50
  }
package/parse_worker.js CHANGED
@@ -39,8 +39,7 @@ self.onmessage = async (e) => {
39
39
  const ast = parse_source_root_file(source, filename);
40
40
  results.push([filename, ast]);
41
41
  } catch (e) {
42
- // Skip files that fail to parse
43
- console.warn(`[ParseWorker] Failed to parse ${filename}:`, e.message);
42
+ // Skip files that fail to parse; live diagnostics surface user-facing errors.
44
43
  }
45
44
 
46
45
  // Report progress every 10 files
@@ -1,6 +1,57 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
 
4
+ /**
5
+ * Opaque handle to a real-time simulation stepper running in WASM.
6
+ *
7
+ * Compiles a Modelica model and creates an interactive stepper that can be
8
+ * driven from JavaScript via `requestAnimationFrame`.
9
+ */
10
+ export class WasmStepper {
11
+ free(): void;
12
+ [Symbol.dispose](): void;
13
+ /**
14
+ * Read a single variable value by name.
15
+ */
16
+ get(name: string): number | undefined;
17
+ /**
18
+ * Get available input names as a JSON array string.
19
+ */
20
+ input_names(): string;
21
+ /**
22
+ * Compile a Modelica model and create a stepper ready for interactive stepping.
23
+ *
24
+ * `source` is the full Modelica source text and `model_name` is the class
25
+ * to simulate. The stepper backend is chosen by the compiled package and
26
+ * model experiment metadata, not by the batch simulation solver selector.
27
+ */
28
+ constructor(source: string, model_name: string);
29
+ /**
30
+ * Reset the simulation to initial conditions.
31
+ */
32
+ reset(): void;
33
+ /**
34
+ * Set an input value by name. Takes effect on the next `step()` call.
35
+ */
36
+ set_input(name: string, value: number): void;
37
+ /**
38
+ * Get all current variable values as a JSON string `{"time": t, "values": {...}}`.
39
+ */
40
+ state_json(): string;
41
+ /**
42
+ * Step the simulation forward by `dt` seconds.
43
+ */
44
+ step(dt: number): void;
45
+ /**
46
+ * Get the current simulation time.
47
+ */
48
+ time(): number;
49
+ /**
50
+ * Get all solver variable names as a JSON array string.
51
+ */
52
+ variable_names(): string;
53
+ }
54
+
4
55
  /**
5
56
  * Check Modelica source code and return all diagnostics.
6
57
  */
@@ -28,8 +79,6 @@ export function compile_check_with_source_roots_with_options(source: string, mod
28
79
  */
29
80
  export function compile_to_json(source: string, model_name: string): string;
30
81
 
31
- export function compile_with_project_sources(source: string, model_name: string, project_sources_json: string): string;
32
-
33
82
  export function compile_with_source_roots(source: string, model_name: string, source_roots_json: string): string;
34
83
 
35
84
  /**
@@ -42,6 +91,8 @@ export function compile_with_source_roots(source: string, model_name: string, so
42
91
  */
43
92
  export function compile_with_source_roots_with_options(source: string, model_name: string, source_roots_json: string, compile_options_json: string): string;
44
93
 
94
+ export function compile_with_workspace_sources(source: string, model_name: string, workspace_sources_json: string): string;
95
+
45
96
  export function export_parsed_source_roots_binary(uris_json: string): Uint8Array;
46
97
 
47
98
  /**
@@ -104,7 +155,7 @@ export function load_source_roots(source_roots_json: string): string;
104
155
  * diffsol addon (`@cognipilot/rumoca/diffsol`) to simulate. Lets the stiff
105
156
  * solver run without putting relaxed-SIMD in this (universal) module.
106
157
  */
107
- export function lower_model_to_solve_json(source: string, model_name: string, t_end: number, dt: number): string;
158
+ export function lower_model_to_solve_json(source: string, model_name: string, t_end: number, dt: number, parameter_overrides_json: string): string;
108
159
 
109
160
  /**
110
161
  * Get code actions (quick fixes) for diagnostics in a selected range.
@@ -155,6 +206,21 @@ export function merge_parsed_source_roots(definitions_json: string): number;
155
206
 
156
207
  export function merge_parsed_source_roots_binary(bytes: Uint8Array): number;
157
208
 
209
+ /**
210
+ * Compile a model and return tunable scalar parameter metadata as JSON.
211
+ */
212
+ export function model_parameter_metadata(source: string, model_name: string): string;
213
+
214
+ /**
215
+ * Compile with additional source-root libraries and return parameter metadata.
216
+ */
217
+ export function model_parameter_metadata_with_source_roots(source: string, model_name: string, source_roots_json: string): string;
218
+
219
+ /**
220
+ * Compile with additional workspace-local sources and return parameter metadata.
221
+ */
222
+ export function model_parameter_metadata_with_workspace_sources(source: string, model_name: string, workspace_sources_json: string): string;
223
+
158
224
  /**
159
225
  * Parse Modelica source code and return whether it's valid.
160
226
  */
@@ -186,19 +252,98 @@ export function parse_source_root_file(source: string, filename: string): string
186
252
  */
187
253
  export function prepare_gpu_simulation(source: string, model_name: string): string;
188
254
 
255
+ export function prime_source_root_completion_cache(): number;
256
+
189
257
  export function render_target(dae_json: string, model_name: string, target: string, manifest_source: string, templates_json: string): any;
190
258
 
259
+ /**
260
+ * Default colocated `rumoca-scenario.<model>.toml` (`{ ok, path, content }`)
261
+ * for a create-config action on a Modelica model.
262
+ */
263
+ export function scenario_default_scenario_config(workspace_sources_json: string, model: string, task: string): string;
264
+
265
+ /**
266
+ * Configured `[codegen]` target settings for a model (`{ target, outputDir }`).
267
+ */
268
+ export function scenario_get_codegen_config(workspace_sources_json: string, model: string): string;
269
+
270
+ /**
271
+ * Parse a single `rumoca-scenario.toml` scenario file (by workspace path) into the editor's
272
+ * scenario descriptor (`task`, `model`, `viewerMode`, interactive ports, ...).
273
+ */
274
+ export function scenario_get_scenario_config(workspace_sources_json: string, path: string): string;
275
+
276
+ /**
277
+ * Full `rumoca-scenario.toml` scenario as a JSON tree for the config GUI:
278
+ * `{ ok, config: <toml-as-json>, descriptor }`. The `config` tree round-trips
279
+ * every section (including nested interactive-IO) losslessly.
280
+ */
281
+ export function scenario_get_scenario_config_full(workspace_sources_json: string, path: string): string;
282
+
283
+ /**
284
+ * Effective + preset + default simulation settings for a model, given the
285
+ * workspace's `rumoca-scenario.toml` files and an optional editor `fallback` settings JSON.
286
+ */
287
+ export function scenario_get_simulation_config(workspace_sources_json: string, model: string, fallback_json: string): string;
288
+
289
+ /**
290
+ * Scenario-local source roots configured for a model (`{ sourceRootPaths }`).
291
+ */
292
+ export function scenario_get_source_roots(workspace_sources_json: string, model: string, task: string): string;
293
+
294
+ /**
295
+ * Configured plot/visualization views for a model (`{ views: [...] }`).
296
+ */
297
+ export function scenario_get_visualization_config(workspace_sources_json: string, model: string): string;
298
+
299
+ /**
300
+ * Clear a model's simulation preset. Returns `{ writes, result }`.
301
+ */
302
+ export function scenario_reset_simulation_preset(workspace_sources_json: string, model: string): string;
303
+
304
+ /**
305
+ * Write a model's `[codegen]` target settings. Returns `{ writes, result }`.
306
+ */
307
+ export function scenario_set_codegen_config(workspace_sources_json: string, model: string, codegen_json: string): string;
308
+
309
+ /**
310
+ * Render a `rumoca-scenario.toml` from the config GUI's JSON tree. Returns
311
+ * `{ writes: [{path, content}], result }` for the editor to apply.
312
+ */
313
+ export function scenario_set_scenario_config(path: string, config_json: string): string;
314
+
315
+ /**
316
+ * Write a model's simulation preset into its colocated `rum.<model>.toml`.
317
+ * Returns `{ writes, result }` for the editor to apply to its workspace store.
318
+ */
319
+ export function scenario_set_simulation_preset(workspace_sources_json: string, model: string, preset_json: string): string;
320
+
321
+ /**
322
+ * Write a model's scenario-local source roots. Returns `{ writes, result }`.
323
+ */
324
+ export function scenario_set_source_roots(workspace_sources_json: string, model: string, source_roots_json: string): string;
325
+
326
+ /**
327
+ * Write a model's plot/visualization views. Returns `{ writes, result }`.
328
+ */
329
+ export function scenario_set_visualization_config(workspace_sources_json: string, model: string, views_json: string): string;
330
+
191
331
  /**
192
332
  * Compile and simulate a Modelica model.
193
333
  */
194
- export function simulate_model(source: string, model_name: string, t_end: number, dt: number, solver: string): string;
334
+ export function simulate_model(source: string, model_name: string, t_end: number, dt: number, solver: string, parameter_overrides_json: string): string;
195
335
 
196
336
  /**
197
- * Compile with additional project-local sources and simulate a Modelica model.
337
+ * Compile with additional source-root libraries and simulate a Modelica model.
198
338
  */
199
- export function simulate_model_with_project_sources(source: string, model_name: string, project_sources_json: string, t_end: number, dt: number, solver: string): string;
339
+ export function simulate_model_with_source_roots(source: string, model_name: string, source_roots_json: string, t_end: number, dt: number, solver: string, parameter_overrides_json: string): string;
200
340
 
201
- export function sync_project_sources(project_sources_json: string): string;
341
+ /**
342
+ * Compile with additional workspace-local sources and simulate a Modelica model.
343
+ */
344
+ export function simulate_model_with_workspace_sources(source: string, model_name: string, workspace_sources_json: string, t_end: number, dt: number, solver: string, parameter_overrides_json: string): string;
345
+
346
+ export function sync_workspace_sources(workspace_sources_json: string): string;
202
347
 
203
348
  /**
204
349
  * Re-settle the prepared vectors of the last `prepare_gpu_simulation` for
@@ -213,18 +358,21 @@ export function update_gpu_parameters(source: string, model_name: string, overri
213
358
  */
214
359
  export function wasm_init(_num_threads: number): boolean;
215
360
 
361
+ export function workspace_effective_source_roots(workspace_sources_json: string, focus_path: string): string;
362
+
216
363
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
217
364
 
218
365
  export interface InitOutput {
219
366
  readonly memory: WebAssembly.Memory;
367
+ readonly __wbg_wasmstepper_free: (a: number, b: number) => void;
220
368
  readonly check: (a: number, b: number) => any;
221
369
  readonly compile: (a: number, b: number, c: number, d: number) => [number, number, number, number];
222
370
  readonly compile_check_with_source_roots: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
223
371
  readonly compile_check_with_source_roots_with_options: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
224
372
  readonly compile_to_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
225
- readonly compile_with_project_sources: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
226
373
  readonly compile_with_source_roots: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
227
374
  readonly compile_with_source_roots_with_options: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
375
+ readonly compile_with_workspace_sources: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
228
376
  readonly export_parsed_source_roots_binary: (a: number, b: number) => [number, number, number, number];
229
377
  readonly get_build_time_utc: () => [number, number];
230
378
  readonly get_builtin_targets: () => any;
@@ -239,7 +387,7 @@ export interface InitOutput {
239
387
  readonly list_classes: () => [number, number, number, number];
240
388
  readonly load_bundled_source_root_cache: (a: number, b: number) => [number, number, number];
241
389
  readonly load_source_roots: (a: number, b: number) => [number, number, number, number];
242
- readonly lower_model_to_solve_json: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
390
+ readonly lower_model_to_solve_json: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
243
391
  readonly lsp_code_actions: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
244
392
  readonly lsp_completion: (a: number, b: number, c: number, d: number) => [number, number, number, number];
245
393
  readonly lsp_completion_with_timing: (a: number, b: number, c: number, d: number) => [number, number, number, number];
@@ -251,15 +399,43 @@ export interface InitOutput {
251
399
  readonly lsp_semantic_tokens: (a: number, b: number) => [number, number, number, number];
252
400
  readonly merge_parsed_source_roots: (a: number, b: number) => [number, number, number];
253
401
  readonly merge_parsed_source_roots_binary: (a: number, b: number) => [number, number, number];
402
+ readonly model_parameter_metadata: (a: number, b: number, c: number, d: number) => [number, number, number, number];
403
+ readonly model_parameter_metadata_with_source_roots: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
404
+ readonly model_parameter_metadata_with_workspace_sources: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
254
405
  readonly parse: (a: number, b: number) => any;
255
406
  readonly parse_source_root_file: (a: number, b: number, c: number, d: number) => [number, number, number, number];
256
407
  readonly prepare_gpu_simulation: (a: number, b: number, c: number, d: number) => [number, number, number, number];
408
+ readonly prime_source_root_completion_cache: () => [number, number, number];
257
409
  readonly render_target: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number, number];
258
- readonly simulate_model: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
259
- readonly simulate_model_with_project_sources: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number, number, number];
260
- readonly sync_project_sources: (a: number, b: number) => [number, number, number, number];
410
+ readonly scenario_default_scenario_config: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
411
+ readonly scenario_get_codegen_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
412
+ readonly scenario_get_scenario_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
413
+ readonly scenario_get_scenario_config_full: (a: number, b: number, c: number, d: number) => [number, number, number, number];
414
+ readonly scenario_get_simulation_config: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
415
+ readonly scenario_get_source_roots: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
416
+ readonly scenario_get_visualization_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
417
+ readonly scenario_reset_simulation_preset: (a: number, b: number, c: number, d: number) => [number, number, number, number];
418
+ readonly scenario_set_codegen_config: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
419
+ readonly scenario_set_scenario_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
420
+ readonly scenario_set_simulation_preset: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
421
+ readonly scenario_set_source_roots: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
422
+ readonly scenario_set_visualization_config: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
423
+ readonly simulate_model: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number, number, number];
424
+ readonly simulate_model_with_source_roots: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => [number, number, number, number];
425
+ readonly simulate_model_with_workspace_sources: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => [number, number, number, number];
426
+ readonly sync_workspace_sources: (a: number, b: number) => [number, number, number, number];
261
427
  readonly update_gpu_parameters: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
262
428
  readonly wasm_init: (a: number) => number;
429
+ readonly wasmstepper_get: (a: number, b: number, c: number) => [number, number];
430
+ readonly wasmstepper_input_names: (a: number) => [number, number];
431
+ readonly wasmstepper_new: (a: number, b: number, c: number, d: number) => [number, number, number];
432
+ readonly wasmstepper_reset: (a: number) => [number, number];
433
+ readonly wasmstepper_set_input: (a: number, b: number, c: number, d: number) => [number, number];
434
+ readonly wasmstepper_state_json: (a: number) => [number, number];
435
+ readonly wasmstepper_step: (a: number, b: number) => [number, number];
436
+ readonly wasmstepper_time: (a: number) => number;
437
+ readonly wasmstepper_variable_names: (a: number) => [number, number];
438
+ readonly workspace_effective_source_roots: (a: number, b: number, c: number, d: number) => [number, number, number, number];
263
439
  readonly init: () => void;
264
440
  readonly clear_source_root_cache: () => void;
265
441
  readonly __wbindgen_malloc: (a: number, b: number) => number;