sci-form-wasm 0.15.2 → 2.0.0

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.
@@ -70,6 +70,11 @@ export class LiveSimulation {
70
70
  temperature(): number;
71
71
  }
72
72
 
73
+ /**
74
+ * List all 230 space groups as `[number, symbol]` pairs.
75
+ */
76
+ export function all_space_groups(): string;
77
+
73
78
  /**
74
79
  * Compute the Boys function F_n(x).
75
80
  *
@@ -196,11 +201,93 @@ export function alpha_gsm_interpolate(reactant_json: string, product_json: strin
196
201
  /**
197
202
  * Return alpha module metadata.
198
203
  *
199
- * Returns JSON: `{ "alpha_modules": ["dft", "reaxff", "mlff", "obara-saika",
200
- * "cga", "gsm", "sdr", "dynamics-live"] }`
204
+ * The module list is derived from the features the binary was compiled
205
+ * with, so it always describes what the package actually contains.
206
+ *
207
+ * Returns JSON: `{ "alpha_modules": ["dft", "reaxff", …],
208
+ * "stability": "alpha — experimental, …",
209
+ * "version": "2.0.0" }`
201
210
  */
202
211
  export function alpha_modules_info(): string;
203
212
 
213
+ /**
214
+ * EHT band structure along a k-path (`eht::band_structure::compute_band_structure`).
215
+ */
216
+ export function alpha_periodic_band_structure_eht(elements_json: string, coords_flat_json: string, lattice_json: string, config_json: string, n_electrons: number): string;
217
+
218
+ /**
219
+ * Bloch phase for a fractional k-point and a lattice translation.
220
+ *
221
+ * @param k_fractional_json JSON `[kx, ky, kz]`
222
+ * @param translation_json JSON `[tx, ty, tz]`
223
+ * @returns JSON Bloch phase
224
+ */
225
+ export function alpha_periodic_bloch_phase(k_fractional_json: string, translation_json: string): string;
226
+
227
+ /**
228
+ * Brillouin-zone weighted integral of a scalar field.
229
+ *
230
+ * @param values_json JSON array of scalars
231
+ * @param weights_json JSON array of k-point weights
232
+ * @returns the weighted integral
233
+ */
234
+ export function alpha_periodic_bz_integrate_scalar(values_json: string, weights_json: string): number;
235
+
236
+ /**
237
+ * Brillouin-zone weighted integral of a vector field.
238
+ *
239
+ * @param vectors_json JSON array of `[x, y, z]`
240
+ * @param weights_json JSON array of k-point weights
241
+ * @returns JSON `[x, y, z]` integral
242
+ */
243
+ export function alpha_periodic_bz_integrate_vector(vectors_json: string, weights_json: string): string;
244
+
245
+ /**
246
+ * Trace the Fermi-surface contour of real-space operator blocks in `kz = 0`.
247
+ *
248
+ * @param blocks_json JSON array of `{ "matrix": [[…]], "translation": [i, j, k] }`
249
+ * @param fermi_energy_ev Fermi energy in eV (`null`/`undefined` = median estimate)
250
+ * @param n_kx Number of kx samples (≥ 2)
251
+ * @param n_ky Number of ky samples (≥ 2)
252
+ * @returns JSON `FermiSurfaceContour`
253
+ */
254
+ export function alpha_periodic_fermi_surface_from_bands(blocks_json: string, fermi_energy_ev: number | null | undefined, n_kx: number, n_ky: number): string;
255
+
256
+ /**
257
+ * Interpolate the default high-symmetry k-path (`Γ → X → M → Γ`).
258
+ *
259
+ * @param n_points_per_segment Intervals per high-symmetry segment (≥ 1)
260
+ * @returns JSON `KPathStandard`
261
+ */
262
+ export function alpha_periodic_kpath_standard(n_points_per_segment: number): string;
263
+
264
+ /**
265
+ * Build a Monkhorst-Pack (or gamma-centred) k-mesh.
266
+ *
267
+ * @param config_json JSON `KMeshConfig` or `"{}"`
268
+ * @returns JSON k-mesh
269
+ */
270
+ export function alpha_periodic_monkhorst_pack(config_json: string): string;
271
+
272
+ /**
273
+ * Validate the electron count implied by a periodic DOS result.
274
+ *
275
+ * @param dos_json JSON `PeriodicKpmDosResult`
276
+ * @param fermi_energy_ev Fermi energy in eV
277
+ * @param expected_electrons Expected number of electrons
278
+ * @returns the number of electrons found
279
+ */
280
+ export function alpha_periodic_validate_electron_count(dos_json: string, fermi_energy_ev: number, expected_electrons: number): number;
281
+
282
+ /**
283
+ * Validate that the k-mesh weights sum to one.
284
+ *
285
+ * @param kmesh_json JSON `KMesh`
286
+ * @param tol Tolerance
287
+ * @returns `true` when the weights are normalised within `tol`
288
+ */
289
+ export function alpha_periodic_validate_kmesh_weights(kmesh_json: string, tol: number): boolean;
290
+
204
291
  /**
205
292
  * Refine a single dihedral torsion to a target angle using CGA.
206
293
  *
@@ -212,6 +299,80 @@ export function alpha_modules_info(): string;
212
299
  */
213
300
  export function alpha_refine_torsion_cga(elements_json: string, coords_flat_json: string, smiles: string, torsion_indices_json: string, target_angle_rad: number): string;
214
301
 
302
+ /**
303
+ * Build an Arrhenius chart from a JSON array of `ElementaryRateResult`.
304
+ *
305
+ * @param results_json JSON array of `ElementaryRateResult`
306
+ * @returns JSON chart payload
307
+ */
308
+ export function alpha_render_arrhenius_chart(results_json: string): string;
309
+
310
+ /**
311
+ * Build a band-structure chart from a `BandStructureAdapterResult` JSON payload.
312
+ *
313
+ * @param bs_json JSON `BandStructureAdapterResult`
314
+ * @returns JSON chart payload
315
+ */
316
+ export function alpha_render_band_structure_chart(bs_json: string): string;
317
+
318
+ /**
319
+ * Build a capacitance-scan chart from a `CpmEdlScanResult` JSON payload.
320
+ *
321
+ * @param scan_json JSON `CpmEdlScanResult`
322
+ * @returns JSON chart payload
323
+ */
324
+ export function alpha_render_capacitance_scan_chart(scan_json: string): string;
325
+
326
+ /**
327
+ * Build an EDL profile chart from an `EdlProfileResult` JSON payload.
328
+ *
329
+ * @param profile_json JSON `EdlProfileResult`
330
+ * @returns JSON chart payload
331
+ */
332
+ export function alpha_render_edl_profile_chart(profile_json: string): string;
333
+
334
+ /**
335
+ * Build GSM path trajectory frames from coords + energies JSON payloads.
336
+ *
337
+ * @param coords_json JSON array of flat coordinate frames
338
+ * @param energies_json JSON array of frame energies
339
+ * @returns JSON array of trajectory frames
340
+ */
341
+ export function alpha_render_gsm_path_trajectory(coords_json: string, energies_json: string): string;
342
+
343
+ /**
344
+ * Build a microkinetic population chart from a `MicrokineticTrace` JSON payload.
345
+ *
346
+ * @param trace_json JSON `MicrokineticTrace`
347
+ * @returns JSON chart payload
348
+ */
349
+ export function alpha_render_microkinetic_population_chart(trace_json: string): string;
350
+
351
+ /**
352
+ * Pack a chart payload into the columnar transport format.
353
+ *
354
+ * @param chart_json JSON `ChartPayload`
355
+ * @returns JSON packed batch
356
+ */
357
+ export function alpha_render_pack_chart_payload(chart_json: string): string;
358
+
359
+ /**
360
+ * Build a periodic-DOS chart from a `PeriodicKpmDosResult` JSON payload.
361
+ *
362
+ * @param dos_json JSON `PeriodicKpmDosResult`
363
+ * @returns JSON chart payload
364
+ */
365
+ export function alpha_render_periodic_dos_chart(dos_json: string): string;
366
+
367
+ /**
368
+ * Verify a chart payload survives a pack/unpack round trip.
369
+ *
370
+ * @param chart_json JSON `ChartPayload`
371
+ * @param tol Comparison tolerance
372
+ * @returns `true` when the round trip is lossless within `tol`
373
+ */
374
+ export function alpha_render_verify_chart_round_trip(chart_json: string, tol: number): boolean;
375
+
215
376
  /**
216
377
  * Apply a CGA dihedral rotation to a sub-tree of atoms.
217
378
  *
@@ -250,6 +411,19 @@ export function alpha_sdr_embed(distance_pairs_json: string, n_atoms: number, co
250
411
  */
251
412
  export function analyze_graph_features(smiles: string): string;
252
413
 
414
+ /**
415
+ * Alias of [`analyze_gsm_mbh_htst_step`], the name of the Rust root function.
416
+ *
417
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
418
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
419
+ */
420
+ export function analyze_gsm_mbh_htst_step(smiles: string, reactant_coords_json: string, product_coords_json: string, method: string, temperature_k: number, pressure_bar: number): string;
421
+
422
+ /**
423
+ * Analyze one GSM + MBH + HTST coupled elementary step.
424
+ */
425
+ export function analyze_gsm_mbh_htst_step_wasm(smiles: string, reactant_coords_json: string, product_coords_json: string, method: string, temperature_k: number, pressure_bar: number): string;
426
+
253
427
  /**
254
428
  * Analyze stereochemistry: detect R/S stereocenters and E/Z double bonds.
255
429
  *
@@ -285,7 +459,28 @@ export function apply_smirks(smirks: string, smiles: string): string;
285
459
  */
286
460
  export function assemble_framework(topology: string, metal: number, geometry: string, lattice_a: number, supercell: number): string;
287
461
 
288
- export function benchmark_function_wasm(): string;
462
+ /**
463
+ * Alias of [`assemble_periodic_operators`], the name of the Rust root function.
464
+ *
465
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
466
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
467
+ */
468
+ export function assemble_periodic_operators(hamiltonian_blocks_json: string, overlap_blocks_json: string, grid_json: string, centering: string): string;
469
+
470
+ /**
471
+ * Assemble periodic Hamiltonians and overlaps for every k-point of a mesh.
472
+ */
473
+ export function assemble_periodic_operators_wasm(hamiltonian_blocks_json: string, overlap_blocks_json: string, grid_json: string, centering: string): string;
474
+
475
+ /**
476
+ * Assign IR peaks to functional groups using standard group-frequency tables.
477
+ *
478
+ * `frequencies_json` / `intensities_json`: JSON arrays of numbers.
479
+ * `elements_json`: JSON array of atomic numbers.
480
+ * `mode_displacements_json`: JSON array of modes, each an array of `[x,y,z]`
481
+ * triples; pass `""` to skip the normal-mode refinement.
482
+ */
483
+ export function assign_peaks(frequencies_json: string, intensities_json: string, elements_json: string, mode_displacements_json: string): string;
289
484
 
290
485
  /**
291
486
  * Compute constant-potential charges using the CPM model.
@@ -379,6 +574,40 @@ export function beta_psd_projection(matrix_json: string, dim: number): string;
379
574
  */
380
575
  export function beta_solve_eht_randnla(elements_json: string, coords_flat_json: string, config_json: string): string;
381
576
 
577
+ /**
578
+ * Alias of [`bloch_phase`], the name of the Rust root function.
579
+ *
580
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
581
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
582
+ */
583
+ export function bloch_phase(k_x: number, k_y: number, k_z: number, t_x: number, t_y: number, t_z: number): string;
584
+
585
+ /**
586
+ * Compute the Bloch phase factor for a lattice translation.
587
+ */
588
+ export function bloch_phase_wasm(k_x: number, k_y: number, k_z: number, t_x: number, t_y: number, t_z: number): string;
589
+
590
+ /**
591
+ * Alias of [`build_bloch_hamiltonian`], the name of the Rust root function.
592
+ *
593
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
594
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
595
+ */
596
+ export function build_bloch_hamiltonian(blocks_json: string, k_x: number, k_y: number, k_z: number): string;
597
+
598
+ /**
599
+ * Build the Bloch Hamiltonian `H(k)` from real-space operator blocks.
600
+ */
601
+ export function build_bloch_hamiltonian_wasm(blocks_json: string, k_x: number, k_y: number, k_z: number): string;
602
+
603
+ /**
604
+ * Build a periodic molecular graph from fractional coordinates and a unit cell.
605
+ *
606
+ * `cell_json`: JSON array `[a, b, c, alpha, beta, gamma]` (Å, degrees).
607
+ * `bond_tolerance`: extra bonding tolerance in Å (0 = default 0.3).
608
+ */
609
+ export function build_periodic_molecule(elements_json: string, frac_coords_json: string, cell_json: string, bond_tolerance: number): string;
610
+
382
611
  /**
383
612
  * Butina clustering on conformers (flat coordinate arrays in JSON).
384
613
  *
@@ -387,32 +616,129 @@ export function beta_solve_eht_randnla(elements_json: string, coords_flat_json:
387
616
  */
388
617
  export function butina_cluster(conformers_json: string, rmsd_cutoff: number): string;
389
618
 
390
- export function cache_results_wasm(): string;
619
+ /**
620
+ * Alias of [`bz_integrate_scalar`], the name of the Rust root function.
621
+ *
622
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
623
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
624
+ */
625
+ export function bz_integrate_scalar(values_json: string, weights_json: string): string;
626
+
627
+ /**
628
+ * Integrate a scalar observable over the Brillouin zone.
629
+ */
630
+ export function bz_integrate_scalar_wasm(values_json: string, weights_json: string): string;
631
+
632
+ /**
633
+ * Alias of [`bz_integrate_vector`], the name of the Rust root function.
634
+ *
635
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
636
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
637
+ */
638
+ export function bz_integrate_vector(vectors_json: string, weights_json: string): string;
639
+
640
+ /**
641
+ * Integrate a vector observable over the Brillouin zone.
642
+ */
643
+ export function bz_integrate_vector_wasm(vectors_json: string, weights_json: string): string;
644
+
645
+ /**
646
+ * Alias of [`chart_from_json`], the name of the Rust root function.
647
+ *
648
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
649
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
650
+ */
651
+ export function chart_from_json(json_str: string): string;
391
652
 
653
+ /**
654
+ * Deserialize a chart payload (wrapper or bare chart) to chart JSON.
655
+ */
392
656
  export function chart_from_json_wasm(json_str: string): string;
393
657
 
394
- export function chart_to_json_wasm(): string;
658
+ /**
659
+ * Alias of [`chart_to_json`], the name of the Rust root function.
660
+ *
661
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
662
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
663
+ */
664
+ export function chart_to_json(chart_json: string): string;
665
+
666
+ /**
667
+ * Serialize a chart payload to the canonical wrapper JSON.
668
+ */
669
+ export function chart_to_json_wasm(chart_json: string): string;
395
670
 
396
671
  /**
397
672
  * Compare available methods on the same system/geometry.
398
673
  */
399
674
  export function compare_methods(smiles: string, elements: string, coords_flat: string, allow_experimental_eht: boolean): string;
400
675
 
676
+ /**
677
+ * Compute ANI-TM atomic environment vectors (24-element extended set).
678
+ *
679
+ * Uses the built-in transition-metal AEV parameter set.
680
+ */
681
+ export function compute_aevs_tm(elements_json: string, coords_flat_json: string): string;
682
+
401
683
  /**
402
684
  * Compute ANI neural-network potential energy.
403
685
  */
404
686
  export function compute_ani(elements_json: string, coords_flat_json: string): string;
405
687
 
688
+ /**
689
+ * Build an Arrhenius chart from temperature-rate pairs.
690
+ *
691
+ * The chart is the core Arrhenius projection `ln(k)` vs `1000/T`; the
692
+ * supplied forward rates are used verbatim.
693
+ */
694
+ export function compute_arrhenius_chart(temperatures_json: string, rates_json: string): string;
695
+
696
+ /**
697
+ * Build a band-structure chart from a periodic EHT calculation.
698
+ *
699
+ * `elements_json` are atomic numbers, `coords_json` the flat Cartesian
700
+ * coordinates of the unit cell and `lattice_json` the nine lattice-vector
701
+ * components.
702
+ */
703
+ export function compute_band_structure_chart(elements_json: string, coords_json: string, lattice_json: string, n_kpoints_per_segment: number): string;
704
+
406
705
  /**
407
706
  * Compute Wiberg-like and Mayer-like bond orders.
408
707
  */
409
708
  export function compute_bond_orders(elements: string, coords_flat: string): string;
410
709
 
710
+ /**
711
+ * Build a capacitance scan chart (visualization payload).
712
+ *
713
+ * The interfacial charge is obtained by integrating the computed charge
714
+ * density of every EDL profile in the scan.
715
+ *
716
+ * Returns JSON ChartPayload with potential vs capacitance series.
717
+ */
718
+ export function compute_capacitance_chart(v_min: number, v_max: number, n_points: number, ionic_strength_m: number, model: string): string;
719
+
411
720
  /**
412
721
  * Compute Gasteiger-Marsili partial charges from SMILES.
413
722
  */
414
723
  export function compute_charges(smiles: string): string;
415
724
 
725
+ /**
726
+ * Compute Gasteiger-Marsili partial charges with configurable parameters.
727
+ *
728
+ * `max_iter`: number of electronegativity-equalization sweeps.
729
+ * `initial_damping`: first damping factor (halved every iteration).
730
+ * `convergence_threshold`: max charge-transfer convergence criterion.
731
+ */
732
+ export function compute_charges_configured(smiles: string, max_iter: number, initial_damping: number, convergence_threshold: number): string;
733
+
734
+ /**
735
+ * Compute CISD excited states from an internal STO-3G RHF calculation.
736
+ *
737
+ * Runs the shared SCF engine and the validated two-electron integral engine
738
+ * internally, then feeds the canonical orbitals and ERIs to the CISD driver.
739
+ */
740
+ export function compute_cisd(elements_json: string, coords_flat_json: string, n_states: number): string;
741
+
416
742
  /**
417
743
  * **ALPHA** — Run Kohn-Sham DFT calculation.
418
744
  *
@@ -431,6 +757,18 @@ export function compute_dipole(elements: string, coords_flat: string): string;
431
757
  */
432
758
  export function compute_dos(elements: string, coords_flat: string, sigma: number, e_min: number, e_max: number, n_points: number): string;
433
759
 
760
+ /**
761
+ * Compute DOS (density of states) chart.
762
+ */
763
+ export function compute_dos_chart(energies_json: string, dos_json: string): string;
764
+
765
+ /**
766
+ * Compute DOS from the orbital energies of a chosen electronic-structure method.
767
+ *
768
+ * `method`: `eht`, `pm3`, `xtb` (GFN2), `gfn1`, `gfn2` or `hf3c`.
769
+ */
770
+ export function compute_dos_multimethod(elements: string, coords_flat: string, method: string, sigma: number, e_min: number, e_max: number, n_points: number): string;
771
+
434
772
  /**
435
773
  * Compute ECFP fingerprint for a SMILES string.
436
774
  *
@@ -438,16 +776,92 @@ export function compute_dos(elements: string, coords_flat: string, sigma: number
438
776
  */
439
777
  export function compute_ecfp(smiles: string, radius: number, n_bits: number): string;
440
778
 
779
+ /**
780
+ * Compute ECFP fingerprints for a batch of SMILES strings.
781
+ *
782
+ * `smiles_list_json`: JSON array of SMILES strings.
783
+ * Returns a JSON array of `ECFPFingerprint` objects, in input order.
784
+ */
785
+ export function compute_ecfp_batch(smiles_list_json: string, radius: number, n_bits: number): string;
786
+
787
+ /**
788
+ * Scan EDL capacitance over a potential range.
789
+ *
790
+ * Returns JSON array of `[potential_v, capacitance_f_per_m2]` pairs.
791
+ */
792
+ export function compute_edl_capacitance_scan(v_min: number, v_max: number, n_points: number, ionic_strength_m: number, model: string): string;
793
+
794
+ /**
795
+ * Build an EDL profile chart (visualization payload).
796
+ *
797
+ * Returns JSON ChartPayload with series data for rendering.
798
+ */
799
+ export function compute_edl_chart(surface_potential_v: number, ionic_strength_m: number): string;
800
+
801
+ /**
802
+ * Compute an EDL profile.
803
+ *
804
+ * Returns JSON `{distance_axis_angstrom, electrostatic_potential_v, charge_density_c_per_m3,
805
+ * compact_layer_drop_v, diffuse_layer_drop_v, total_interfacial_drop_v,
806
+ * capacitance_total_f_per_m2, model_name, converged}`.
807
+ */
808
+ export function compute_edl_profile(surface_potential_v: number, model: string, ionic_strength_m: number, temperature_k: number, n_points: number, extent_angstrom: number): string;
809
+
810
+ /**
811
+ * Compute EEQ geometry-dependent charges.
812
+ *
813
+ * Returns JSON `{charges, coordination_numbers, total_charge}`.
814
+ */
815
+ export function compute_eeq_charges(elements: string, coords_flat: string, total_charge: number): string;
816
+
817
+ export function compute_eeq_charges_accelerated(elements: string, coords_flat: string, total_charge: number, execution_mode: string): Promise<string>;
818
+
819
+ /**
820
+ * Compute EEQ electrostatic energy.
821
+ *
822
+ * Returns JSON `{electrostatic_energy, charges, coordination_numbers}`.
823
+ */
824
+ export function compute_eeq_energy(elements: string, coords_flat: string, total_charge: number): string;
825
+
826
+ /**
827
+ * Compute EHT energy-surface gradients (eV/Å) by central finite differences.
828
+ */
829
+ export function compute_eht_gradient(elements: string, coords_flat: string): string;
830
+
831
+ /**
832
+ * Run EHT or route to UFF fallback based on support/confidence.
833
+ *
834
+ * Canonical name matching the Rust root (`sci_form::compute_eht_or_uff_fallback`).
835
+ */
836
+ export function compute_eht_or_uff_fallback(smiles: string, elements: string, coords_flat: string, allow_experimental_eht: boolean): string;
837
+
441
838
  /**
442
839
  * Estimate acidic/basic pKa sites from graph and charge heuristics.
443
840
  */
444
841
  export function compute_empirical_pka(smiles: string): string;
445
842
 
843
+ /**
844
+ * Predict J-couplings averaged over a conformer ensemble (Boltzmann weighting).
845
+ *
846
+ * `conformer_coords_json`: JSON array of conformers, each a flat xyz array.
847
+ * `energies_kcal_json`: JSON array of conformer energies in kcal/mol.
848
+ */
849
+ export function compute_ensemble_j_couplings(smiles: string, conformer_coords_json: string, energies_kcal_json: string, temperature_k: number): string;
850
+
446
851
  /**
447
852
  * Compute the full electrostatic potential grid as JSON.
448
853
  */
449
854
  export function compute_esp(elements: string, coords_flat: string, spacing: number, padding: number): string;
450
855
 
856
+ /**
857
+ * Compute the ESP grid and return the full result (values, origin,
858
+ * spacing and dimensions).
859
+ *
860
+ * This is the canonical name of the Rust root function; `compute_esp` is
861
+ * the historical alias.
862
+ */
863
+ export function compute_esp_grid(elements: string, coords_flat: string, spacing: number, padding: number): string;
864
+
451
865
  export function compute_esp_grid_accelerated(elements: string, coords_flat: string, spacing: number, padding: number, execution_mode: string): Promise<string>;
452
866
 
453
867
  export function compute_esp_grid_accelerated_typed(elements: string, coords_flat: string, spacing: number, padding: number, execution_mode: string): Promise<Float64Array>;
@@ -462,6 +876,21 @@ export function compute_esp_grid_info(elements: string, coords_flat: string, spa
462
876
  */
463
877
  export function compute_esp_grid_typed(elements: string, coords_flat: string, spacing: number, padding: number): Float64Array;
464
878
 
879
+ /**
880
+ * Build a Fermi-surface slice chart from real-space operator blocks.
881
+ *
882
+ * The band energies are evaluated on a regular `n_kx` × `n_ky` mesh in the
883
+ * `kz = 0` plane; the contour where the selected band crosses the Fermi
884
+ * energy is extracted by bisection.
885
+ */
886
+ export function compute_fermi_surface_chart(blocks_json: string, fermi_energy_ev: number | null | undefined, n_kx: number, n_ky: number): string;
887
+
888
+ /**
889
+ * Fluorescence from the same sTDA singlets as absorption.
890
+ * `stokes_ev` is an extra red-shift; 0 keeps the vertical emission energy.
891
+ */
892
+ export function compute_fluorescence(elements_json: string, coords_flat_json: string, sigma: number, e_min: number, e_max: number, n_points: number, stokes_ev: number, refractive_index: number, dark_threshold: number, broadening: string): string;
893
+
465
894
  /**
466
895
  * Compute atom-resolved HOMO/LUMO frontier descriptors.
467
896
  */
@@ -480,6 +909,21 @@ export function compute_fukui_descriptors(elements: string, coords_flat: string)
480
909
  */
481
910
  export function compute_gb_solvation(elements: string, coords_flat: string, charges: string, solvent_dielectric: number, solute_dielectric: number, probe_radius: number): string;
482
911
 
912
+ /**
913
+ * Compute Gouy-Chapman-Stern profile (compact + diffuse).
914
+ *
915
+ * Returns JSON EDL profile result.
916
+ */
917
+ export function compute_gcs_profile(surface_potential_v: number, ionic_strength_m: number, stern_thickness_a: number): string;
918
+
919
+ /**
920
+ * Compute GETAWAY 3D molecular descriptors.
921
+ *
922
+ * `bonds_json`: JSON array of `[i, j]` atom-index pairs; pass `""` to
923
+ * perceive the bonds from the geometry.
924
+ */
925
+ export function compute_getaway(elements_json: string, coords_flat_json: string, bonds_json: string, max_lag: number): string;
926
+
483
927
  /**
484
928
  * Run a GFN1-xTB tight-binding calculation.
485
929
  */
@@ -495,6 +939,20 @@ export function compute_gfn2(elements_json: string, coords_flat_json: string): s
495
939
  */
496
940
  export function compute_giao_nmr(elements_json: string, coords_flat_json: string, nucleus: string, charge: number, multiplicity: number, max_scf_iter: number, allow_basis_fallback: boolean, use_parallel_eri: boolean): string;
497
941
 
942
+ /**
943
+ * Compute Gouy-Chapman profile (diffuse layer only).
944
+ *
945
+ * Returns JSON EDL profile result.
946
+ */
947
+ export function compute_gouy_chapman_profile(surface_potential_v: number, ionic_strength_m: number): string;
948
+
949
+ /**
950
+ * Compute Helmholtz-only profile.
951
+ *
952
+ * Returns JSON EDL profile result.
953
+ */
954
+ export function compute_helmholtz_profile(surface_potential_v: number, ionic_strength_m: number): string;
955
+
498
956
  /**
499
957
  * Run a HF-3c calculation with default configuration.
500
958
  */
@@ -510,11 +968,47 @@ export function compute_hf3c_custom(elements_json: string, coords_flat_json: str
510
968
  */
511
969
  export function compute_hose_codes(smiles: string, max_radius: number): string;
512
970
 
971
+ /**
972
+ * Evaluate an HTST transition rate.
973
+ *
974
+ * Returns JSON `{step_id, forward_rate_s_inv, reverse_rate_s_inv, equilibrium_constant}`.
975
+ */
976
+ export function compute_htst_rate(activation_free_energy_ev: number, reaction_free_energy_ev: number, temperature_k: number): string;
977
+
978
+ /**
979
+ * Evaluate HTST rates over a temperature sweep.
980
+ *
981
+ * `temperatures_json`: JSON array of temperatures in K.
982
+ * Returns JSON array of rate results.
983
+ */
984
+ export function compute_htst_sweep(activation_free_energy_ev: number, reaction_free_energy_ev: number, temperatures_json: string): string;
985
+
513
986
  /**
514
987
  * Generate a Lorentzian-broadened IR spectrum from vibrational analysis JSON.
515
988
  */
516
989
  export function compute_ir_spectrum(analysis_json: string, gamma: number, wn_min: number, wn_max: number, n_points: number): string;
517
990
 
991
+ /**
992
+ * Generate a broadened IR spectrum from an internally computed vibrational analysis.
993
+ *
994
+ * `method`: semi-empirical Hessian method (`eht`, `pm3`, `xtb`, …) or `uff`.
995
+ * `broadening`: `gaussian` or `lorentzian`.
996
+ * `smiles`: required when `method` is `uff`, otherwise ignored.
997
+ */
998
+ export function compute_ir_spectrum_broadened(elements_json: string, coords_flat_json: string, method: string, gamma: number, wn_min: number, wn_max: number, n_points: number, broadening: string, step_size: number, smiles: string): string;
999
+
1000
+ /**
1001
+ * Generate a k-mesh.
1002
+ *
1003
+ * Returns JSON `{n_points, grid, fractional_coords, weights}`.
1004
+ */
1005
+ export function compute_kmesh(grid_json: string, centering: string): string;
1006
+
1007
+ /**
1008
+ * Build a k-point path chart from the core high-symmetry path.
1009
+ */
1010
+ export function compute_kpoint_path_chart(n_points_per_segment: number): string;
1011
+
518
1012
  /**
519
1013
  * Run short NVE molecular dynamics with UFF force field.
520
1014
  *
@@ -522,7 +1016,8 @@ export function compute_ir_spectrum(analysis_json: string, gamma: number, wn_min
522
1016
  * `coords_json`: JSON array of flat xyz coords.
523
1017
  * `n_steps`: number of MD steps.
524
1018
  * `dt_fs`: time step in femtoseconds.
525
- * `seed`: random seed for initial velocities.
1019
+ * `seed`: random seed for initial velocities (32-bit; use
1020
+ * [`compute_md_trajectory_seed64`] for the full 64-bit range).
526
1021
  *
527
1022
  * Returns JSON MdTrajectory with frames, energies, temperatures.
528
1023
  */
@@ -533,21 +1028,57 @@ export function compute_md_trajectory(smiles: string, coords_json: string, n_ste
533
1028
  *
534
1029
  * `target_temp_k`: target temperature in Kelvin.
535
1030
  * `thermostat_tau_fs`: thermostat coupling time in fs.
1031
+ * `seed`: 32-bit random seed (use [`compute_md_trajectory_nvt_seed64`] for the
1032
+ * full 64-bit range).
536
1033
  */
537
1034
  export function compute_md_trajectory_nvt(smiles: string, coords_json: string, n_steps: number, dt_fs: number, seed: number, target_temp_k: number, thermostat_tau_fs: number): string;
538
1035
 
539
1036
  /**
540
- * Run velocity-Verlet MD with a configurable energy backend.
541
- *
542
- * `backend`: `"uff"`, `"pm3"`, `"xtb"`.
543
- * `target_temp_k`: if > 0, enables Berendsen thermostat with 100 fs coupling.
1037
+ * Run short NVT molecular dynamics with Berendsen thermostat, 64-bit seed.
544
1038
  *
545
- * Returns JSON `MdTrajectory`.
1039
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`).
546
1040
  */
547
- export function compute_md_trajectory_with_method(smiles: string, coords_json: string, elements_json: string, n_steps: number, dt_fs: number, seed: number, target_temp_k: number, backend: string): string;
1041
+ export function compute_md_trajectory_nvt_seed64(smiles: string, coords_json: string, n_steps: number, dt_fs: number, seed: bigint, target_temp_k: number, thermostat_tau_fs: number): string;
1042
+
1043
+ /**
1044
+ * Run short NVE molecular dynamics with UFF force field, 64-bit seed.
1045
+ *
1046
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`).
1047
+ */
1048
+ export function compute_md_trajectory_seed64(smiles: string, coords_json: string, n_steps: number, dt_fs: number, seed: bigint): string;
1049
+
1050
+ /**
1051
+ * Run velocity-Verlet MD with a configurable energy backend.
1052
+ *
1053
+ * `backend`: `"uff"`, `"pm3"`, `"xtb"`.
1054
+ * `target_temp_k`: if > 0, enables Berendsen thermostat with 100 fs coupling.
1055
+ * `seed`: 32-bit random seed (use [`compute_md_trajectory_with_method_seed64`]
1056
+ * for the full 64-bit range).
1057
+ *
1058
+ * Returns JSON `MdTrajectory`.
1059
+ */
1060
+ export function compute_md_trajectory_with_method(smiles: string, coords_json: string, elements_json: string, n_steps: number, dt_fs: number, seed: number, target_temp_k: number, backend: string): string;
1061
+
1062
+ /**
1063
+ * Run velocity-Verlet MD with a configurable energy backend, 64-bit seed.
1064
+ *
1065
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`).
1066
+ */
1067
+ export function compute_md_trajectory_with_method_seed64(smiles: string, coords_json: string, elements_json: string, n_steps: number, dt_fs: number, seed: bigint, target_temp_k: number, backend: string): string;
1068
+
1069
+ /**
1070
+ * Compute molecular descriptors from SMILES.
1071
+ *
1072
+ * Canonical name matching the Rust root (`sci_form::compute_ml_descriptors`).
1073
+ */
1074
+ export function compute_ml_descriptors(smiles: string): string;
548
1075
 
549
1076
  /**
550
1077
  * Predict molecular properties using ML proxy models.
1078
+ *
1079
+ * **Deprecated alias** of [`predict_ml_properties`]; kept so existing JS
1080
+ * callers keep working. Use `predict_ml_properties`, the name of the Rust
1081
+ * root function.
551
1082
  */
552
1083
  export function compute_ml_properties(smiles: string): string;
553
1084
 
@@ -556,8 +1087,19 @@ export function compute_ml_properties(smiles: string): string;
556
1087
  */
557
1088
  export function compute_mmff94_energy(smiles: string, coords: string): string;
558
1089
 
1090
+ /**
1091
+ * Per-term-type MMFF94 energy breakdown (kcal/mol).
1092
+ *
1093
+ * The values sum to `compute_mmff94_energy`.
1094
+ */
1095
+ export function compute_mmff94_energy_breakdown(smiles: string, coords: string): string;
1096
+
559
1097
  /**
560
1098
  * Compute molecular descriptors from SMILES.
1099
+ *
1100
+ * **Deprecated alias** of [`compute_ml_descriptors`]; kept so existing JS
1101
+ * callers keep working. Use `compute_ml_descriptors`, the name of the Rust
1102
+ * root function.
561
1103
  */
562
1104
  export function compute_molecular_descriptors(smiles: string): string;
563
1105
 
@@ -603,16 +1145,61 @@ export function compute_orbital_mesh(elements_json: string, coords_flat_json: st
603
1145
 
604
1146
  export function compute_orbital_mesh_accelerated(elements_json: string, coords_flat_json: string, method: string, mo_index: number, spacing: number, padding: number, isovalue: number, execution_mode: string): Promise<string>;
605
1147
 
1148
+ /**
1149
+ * Alias of [`compute_periodic_dos`], the name of the Rust root function.
1150
+ *
1151
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1152
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1153
+ */
1154
+ export function compute_periodic_dos(blocks_json: string, grid_json: string, centering: string, order: number, e_min: number, e_max: number, n_points: number, fermi_energy_ev?: number | null): string;
1155
+
1156
+ /**
1157
+ * Compute the k-averaged density of states with the core KPM solver.
1158
+ *
1159
+ * `blocks_json` is a JSON array of real-space operator blocks; the Bloch
1160
+ * Hamiltonians are assembled for every k-point of the requested mesh.
1161
+ */
1162
+ export function compute_periodic_dos_wasm(blocks_json: string, grid_json: string, centering: string, order: number, e_min: number, e_max: number, n_points: number, fermi_energy_ev?: number | null): string;
1163
+
1164
+ /**
1165
+ * Build a phase portrait chart from a solved microkinetic network.
1166
+ *
1167
+ * The two axes are the populations of the first two species over the
1168
+ * simulated trajectory.
1169
+ */
1170
+ export function compute_phase_portrait_chart(network_json: string, n_steps: number): string;
1171
+
606
1172
  /**
607
1173
  * Run a PM3 semi-empirical calculation.
608
1174
  */
609
1175
  export function compute_pm3(elements_json: string, coords_flat_json: string): string;
610
1176
 
1177
+ /**
1178
+ * Compute the PM3 energy gradient (eV/Å per atom).
1179
+ */
1180
+ export function compute_pm3_gradient(elements_json: string, coords_flat_json: string): string;
1181
+
611
1182
  /**
612
1183
  * Compute Mulliken & Löwdin population analysis.
613
1184
  */
614
1185
  export function compute_population(elements: string, coords_flat: string): string;
615
1186
 
1187
+ /**
1188
+ * Compute radial distribution function (RDF) descriptors.
1189
+ *
1190
+ * `charges_json`: JSON array of partial charges; pass `""` to derive the
1191
+ * charges with the Gasteiger solver from geometry-perceived bonds.
1192
+ */
1193
+ export function compute_rdf(elements_json: string, coords_flat_json: string, charges_json: string, beta: number, r_max: number, n_points: number): string;
1194
+
1195
+ /**
1196
+ * Build a reaction-coordinate chart from a GSM reaction path.
1197
+ *
1198
+ * The reaction coordinate is the accumulated path length in Å; the chart
1199
+ * shows the potential energy along that coordinate.
1200
+ */
1201
+ export function compute_reaction_coordinate_chart(smiles: string, reactant_coords_json: string, product_coords_json: string, method: string): string;
1202
+
616
1203
  /**
617
1204
  * Compute a full reaction dynamics path: embed reactant + product fragments,
618
1205
  * build oriented complexes, run NEB for the reactive zone, and generate
@@ -621,9 +1208,9 @@ export function compute_population(elements: string, coords_flat: string): strin
621
1208
  * `reactant_smiles_json`: JSON array of reactant SMILES, e.g. `["CC(=O)O", "N"]`.
622
1209
  * `product_smiles_json`: JSON array of product SMILES, e.g. `["CC(=O)N", "O"]`.
623
1210
  * `method`: energy backend — `"uff"`, `"mmff94"`, `"pm3"`, `"xtb"`, `"gfn1"`, `"gfn2"`, `"hf3c"`.
624
- * `config_json`: optional JSON [`ReactionDynamicsConfig`]; pass `""` or `"{}"` for defaults.
1211
+ * `config_json`: optional JSON `ReactionDynamicsConfig`; pass `""` or `"{}"` for defaults.
625
1212
  *
626
- * Returns JSON [`ReactionDynamicsResult`] with frames, energies, TS info.
1213
+ * Returns JSON `ReactionDynamicsResult` with frames, energies, TS info.
627
1214
  */
628
1215
  export function compute_reaction_dynamics(reactant_smiles_json: string, product_smiles_json: string, method: string, config_json: string): string;
629
1216
 
@@ -634,6 +1221,11 @@ export function compute_reactivity_ranking(elements: string, coords_flat: string
634
1221
 
635
1222
  /**
636
1223
  * Compute RMSD between two coordinate sets after Kabsch alignment.
1224
+ *
1225
+ * Returns JSON `{"rmsd": 0.123456}` on success, or the canonical
1226
+ * `{"error": "..."}` payload when the two coordinate sets cannot be
1227
+ * compared (different lengths, or a length that is not a multiple of 3).
1228
+ * A `NaN` RMSD is never emitted — it is not valid JSON (blocker C-C4).
637
1229
  */
638
1230
  export function compute_rmsd(coords: string, reference: string): string;
639
1231
 
@@ -644,6 +1236,14 @@ export function compute_rmsd(coords: string, reference: string): string;
644
1236
  */
645
1237
  export function compute_rmsd_matrix(conformers_json: string): string;
646
1238
 
1239
+ /**
1240
+ * Run a Restricted Open-shell Hartree-Fock (ROHF) calculation.
1241
+ *
1242
+ * Same arguments as `compute_uhf`; ROHF uses the canonical projection, so
1243
+ * the spin contamination is zero by construction.
1244
+ */
1245
+ export function compute_rohf(elements_json: string, coords_flat_json: string, charge: number, multiplicity: number): string;
1246
+
647
1247
  /**
648
1248
  * Compute solvent-accessible surface area.
649
1249
  */
@@ -679,21 +1279,67 @@ export function compute_stda_uvvis(elements_json: string, coords_flat_json: stri
679
1279
  */
680
1280
  export function compute_tanimoto(fp1_json: string, fp2_json: string): string;
681
1281
 
1282
+ /**
1283
+ * Build a thermal-properties chart from an elementary step.
1284
+ *
1285
+ * The HTST rates and equilibrium constants are computed by the core
1286
+ * transition-state evaluator over the requested temperature sweep.
1287
+ */
1288
+ export function compute_thermal_prop_chart(activation_free_energy_ev: number, reaction_free_energy_ev: number, temperatures_json: string): string;
1289
+
682
1290
  /**
683
1291
  * Detect metal coordination geometry and return topology.
684
1292
  */
685
1293
  export function compute_topology(elements: string, coords_flat: string): string;
686
1294
 
1295
+ /**
1296
+ * Compute the Topological Polar Surface Area (TPSA) in Ų.
1297
+ *
1298
+ * The Ertl fragment-contribution TPSA is a topological property: it does
1299
+ * not depend on a 3D geometry.
1300
+ */
1301
+ export function compute_tpsa(smiles: string): string;
1302
+
1303
+ /**
1304
+ * Build a trajectory chart from a GSM reaction path.
1305
+ *
1306
+ * The path is computed by the core growing-string method with the requested
1307
+ * energy backend; the chart shows the energy profile and the accumulated
1308
+ * path length of the string.
1309
+ */
1310
+ export function compute_trajectory_chart(smiles: string, reactant_coords_json: string, product_coords_json: string, method: string): string;
1311
+
687
1312
  /**
688
1313
  * Compute UFF force field energy.
689
1314
  */
690
1315
  export function compute_uff_energy(smiles: string, coords: string): string;
691
1316
 
1317
+ /**
1318
+ * Per-term-type UFF energy breakdown (kcal/mol).
1319
+ *
1320
+ * The terms are `bond`, `angle`, `torsion`, `inversion` and `vdw` (plus any
1321
+ * diagnostic term), in first-seen order; the values sum to
1322
+ * `compute_uff_energy`.
1323
+ */
1324
+ export function compute_uff_energy_breakdown(smiles: string, coords: string): string;
1325
+
692
1326
  /**
693
1327
  * Compute UFF energy with aromaticity-informed heuristic correction metadata.
694
1328
  */
695
1329
  export function compute_uff_energy_with_aromatic_heuristics(smiles: string, coords: string): string;
696
1330
 
1331
+ /**
1332
+ * Run an Unrestricted Hartree-Fock (UHF) calculation for open-shell systems.
1333
+ *
1334
+ * `charge` is the total molecular charge and `multiplicity` the spin
1335
+ * multiplicity (1 = singlet, 2 = doublet, 3 = triplet).
1336
+ *
1337
+ * The dense matrices of the result are not part of the payload: they are
1338
+ * `n_basis × n_basis` and would dominate the JSON. The scalar results,
1339
+ * the orbital energies and the Mulliken charges are.
1340
+ */
1341
+ export function compute_uhf(elements_json: string, coords_flat_json: string, charge: number, multiplicity: number): string;
1342
+
697
1343
  /**
698
1344
  * Build an exploratory UV-Vis-like spectrum from low-cost EHT transitions.
699
1345
  */
@@ -709,16 +1355,36 @@ export function compute_vibrational_analysis(elements_json: string, coords_flat_
709
1355
  */
710
1356
  export function compute_vibrational_analysis_uff(smiles: string, elements_json: string, coords_flat_json: string, step_size: number): string;
711
1357
 
1358
+ /**
1359
+ * Compute WHIM 3D molecular descriptors.
1360
+ *
1361
+ * `weighting`: `unit`, `mass`, `volume`, `electronegativity` or `polarizability`.
1362
+ */
1363
+ export function compute_whim(elements_json: string, coords_flat_json: string, weighting: string): string;
1364
+
712
1365
  /**
713
1366
  * Run an xTB tight-binding calculation.
714
1367
  */
715
1368
  export function compute_xtb(elements_json: string, coords_flat_json: string): string;
716
1369
 
1370
+ /**
1371
+ * Compute the xTB (GFN2) energy gradient (eV/Å per atom).
1372
+ */
1373
+ export function compute_xtb_gradient(elements_json: string, coords_flat_json: string): string;
1374
+
717
1375
  /**
718
1376
  * Create a unit cell and return parameters + volume as JSON.
719
1377
  */
720
1378
  export function create_unit_cell(a: number, b: number, c: number, alpha: number, beta: number, gamma: number): string;
721
1379
 
1380
+ /**
1381
+ * Detect haptic (η) metal–ring interactions and metallocene motifs.
1382
+ *
1383
+ * `bonds_json`: JSON array of `[i, j]` atom-index pairs; pass `""` to
1384
+ * perceive the bonds from the geometry.
1385
+ */
1386
+ export function detect_hapticity(elements_json: string, coords_flat_json: string, bonds_json: string): string;
1387
+
722
1388
  /**
723
1389
  * Run an EHT calculation on a molecule.
724
1390
  *
@@ -758,6 +1424,10 @@ export function eht_orbital_mesh(elements: string, coords_flat: string, mo_index
758
1424
 
759
1425
  /**
760
1426
  * Query EHT support metadata.
1427
+ *
1428
+ * The Rust root calls this `get_eht_support`; the `get_` prefix is not
1429
+ * idiomatic and is dropped here (blocker C-M7). The Rust name is kept as
1430
+ * an alias below.
761
1431
  */
762
1432
  export function eht_support(elements: string): string;
763
1433
 
@@ -766,39 +1436,139 @@ export function eht_volumetric_grid_info(elements: string, coords_flat: string,
766
1436
  /**
767
1437
  * Generate a 3D conformer from a SMILES string.
768
1438
  *
769
- * Returns a JSON string with the full result including atoms, bonds, and coordinates.
1439
+ * Returns a JSON string with the full result including atoms, bonds, and
1440
+ * coordinates. When the embedding fails the function returns the canonical
1441
+ * WASM error payload `{"error": "..."}` — the same shape every other WASM
1442
+ * entry point uses — so a failure is never mistaken for a result object
1443
+ * (blocker C-M4).
1444
+ *
1445
+ * `seed` is a 32-bit unsigned integer. Use [`embed_seed64`] for the full
1446
+ * 64-bit seed range of the Rust core.
770
1447
  */
771
1448
  export function embed(smiles: string, seed: number): string;
772
1449
 
773
1450
  /**
774
1451
  * Batch-embed multiple molecules from newline-separated SMILES.
775
1452
  *
776
- * Returns a JSON array of results.
1453
+ * Returns a JSON array of results. A batch-level failure returns a JSON
1454
+ * array holding a single `{"error": "..."}` object so the array shape is
1455
+ * preserved.
1456
+ *
1457
+ * `seed` is a 32-bit unsigned integer; use [`embed_batch_seed64`] for the
1458
+ * full 64-bit range.
777
1459
  */
778
1460
  export function embed_batch(smiles_list: string, seed: number): string;
779
1461
 
1462
+ /**
1463
+ * Batch-embed multiple molecules, with a full 64-bit seed.
1464
+ *
1465
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`).
1466
+ */
1467
+ export function embed_batch_seed64(smiles_list: string, seed: bigint): string;
1468
+
780
1469
  /**
781
1470
  * Generate 3D coordinates only (compact format).
782
1471
  *
783
1472
  * Returns JSON: `{"coords": [x0,y0,z0,...], "num_atoms": N}` or `{"error": "..."}`.
1473
+ *
1474
+ * `seed` is a 32-bit unsigned integer; use [`embed_coords_seed64`] for the
1475
+ * full 64-bit range.
784
1476
  */
785
1477
  export function embed_coords(smiles: string, seed: number): string;
786
1478
 
1479
+ /**
1480
+ * Generate 3D coordinates only, with a full 64-bit seed.
1481
+ *
1482
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`).
1483
+ */
1484
+ export function embed_coords_seed64(smiles: string, seed: bigint): string;
1485
+
787
1486
  /**
788
1487
  * Generate 3D coordinates as a Float64Array (typed-array transfer).
789
1488
  *
790
1489
  * Returns a Float64Array `[x0,y0,z0, x1,y1,z1,...]` or empty on failure.
1490
+ *
1491
+ * `seed` is a 32-bit unsigned integer; use [`embed_coords_typed_seed64`] for
1492
+ * the full 64-bit range.
791
1493
  */
792
1494
  export function embed_coords_typed(smiles: string, seed: number): Float64Array;
793
1495
 
1496
+ /**
1497
+ * Generate 3D coordinates as a Float64Array, with a full 64-bit seed.
1498
+ *
1499
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`).
1500
+ */
1501
+ export function embed_coords_typed_seed64(smiles: string, seed: bigint): Float64Array;
1502
+
1503
+ /**
1504
+ * Generate a diverse conformer ensemble and cluster it by Butina RMSD.
1505
+ *
1506
+ * Embeds `n_conformers` times with consecutive seeds and keeps only the
1507
+ * cluster centroids (RMSD threshold `rmsd_cutoff` in Å).
1508
+ *
1509
+ * `base_seed` is a full 64-bit seed (a JavaScript `BigInt`).
1510
+ */
1511
+ export function embed_diverse(smiles: string, n_conformers: number, rmsd_cutoff: number, base_seed: bigint): string;
1512
+
1513
+ /**
1514
+ * Generate a 3D conformer from a SMILES string, with a full 64-bit seed.
1515
+ *
1516
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`). Numbers are also accepted
1517
+ * for seeds below 2^53.
1518
+ */
1519
+ export function embed_seed64(smiles: string, seed: bigint): string;
1520
+
794
1521
  /**
795
1522
  * Estimate optimal number of Web Workers for a batch size.
796
1523
  */
797
1524
  export function estimate_workers(n_items: number, max_workers: number): number;
798
1525
 
799
- export function experimental_result_to_json_wasm(): string;
1526
+ /**
1527
+ * Alias of [`extract_kinetics_diagnostics`], the name of the Rust root function.
1528
+ *
1529
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1530
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1531
+ */
1532
+ export function extract_kinetics_diagnostics(network_json: string, n_steps: number): string;
800
1533
 
801
- export function experimental_result_to_sdf_wasm(): string;
1534
+ /**
1535
+ * Extract convergence diagnostics from a solved microkinetic trace.
1536
+ *
1537
+ * `network_json` is an optional `MicrokineticNetworkConfig` JSON document;
1538
+ * when omitted the built-in A ⇌ B demo network is solved.
1539
+ */
1540
+ export function extract_kinetics_diagnostics_wasm(network_json: string, n_steps: number): string;
1541
+
1542
+ /**
1543
+ * Filter a conformer ensemble to keep only the diverse cluster centroids.
1544
+ *
1545
+ * Returns a JSON array of representative conformer indices.
1546
+ */
1547
+ export function filter_diverse(conformers_json: string, rmsd_cutoff: number): string;
1548
+
1549
+ /**
1550
+ * Query EHT support metadata.
1551
+ *
1552
+ * **Alias** of [`eht_support`] matching the Rust root name
1553
+ * `sci_form::get_eht_support`.
1554
+ */
1555
+ export function get_eht_support(elements: string): string;
1556
+
1557
+ /**
1558
+ * Query operation capabilities from a JSON element array.
1559
+ *
1560
+ * **Alias** of [`system_capabilities`] matching the Rust root name
1561
+ * `sci_form::get_system_capabilities`.
1562
+ */
1563
+ export function get_system_capabilities(elements: string): string;
1564
+
1565
+ /**
1566
+ * Build a structured method plan from a JSON element array.
1567
+ *
1568
+ * **Alias** of [`system_method_plan`] matching the Rust root name
1569
+ * `sci_form::get_system_method_plan`.
1570
+ */
1571
+ export function get_system_method_plan(elements: string): string;
802
1572
 
803
1573
  export function initThreadPool(num_threads: number): Promise<any>;
804
1574
 
@@ -811,8 +1581,6 @@ export function init_webgpu(): Promise<string>;
811
1581
  */
812
1582
  export function list_neb_backends(elements_json: string): string;
813
1583
 
814
- export function merge_experiment_results_wasm(): string;
815
-
816
1584
  /**
817
1585
  * Evaluate the energy (kcal/mol) and gradient of a geometry with a given NEB backend.
818
1586
  *
@@ -832,12 +1600,68 @@ export function neb_energy_and_gradient(method: string, smiles: string, coords_j
832
1600
  export function neb_single_point_energy(method: string, smiles: string, coords_json: string): string;
833
1601
 
834
1602
  /**
835
- * Pack a batch of conformer results into Arrow-compatible columnar format.
1603
+ * Optimize a molecular/framework geometry with the shared BFGS engine.
1604
+ *
1605
+ * The energy/force backend is the UFF force field built from `smiles`;
1606
+ * energies are reported in eV and forces in eV/Å. `cell_json` optionally
1607
+ * enables periodic (minimum-image) optimization and is the JSON array
1608
+ * `[a, b, c, alpha, beta, gamma]`.
1609
+ */
1610
+ export function optimize_framework(smiles: string, coords_flat_json: string, method: string, max_iter: number, force_tol: number, energy_tol: number, max_step: number, fixed_atoms_json: string, cell_json: string): string;
1611
+
1612
+ /**
1613
+ * Optimize a geometry on the EHT energy surface with the shared BFGS engine.
1614
+ */
1615
+ export function optimize_geometry_eht(elements: string, coords_flat: string, max_steps: number, grad_threshold: number, energy_threshold: number, step_size: number): string;
1616
+
1617
+ /**
1618
+ * Pack a batch of conformer results into sci-form's columnar (Arrow-like) format.
1619
+ *
1620
+ * This is not the Apache Arrow IPC format: the payload is a JSON
1621
+ * serialisation of sci-form's own columnar layout.
836
1622
  */
837
1623
  export function pack_batch_arrow(results_json: string): string;
838
1624
 
1625
+ /**
1626
+ * Alias of [`pack_chart_payload`], the name of the Rust root function.
1627
+ *
1628
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1629
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1630
+ */
1631
+ export function pack_chart_payload(chart_json: string): string;
1632
+
1633
+ /**
1634
+ * Pack a JSON chart payload into an Arrow-style record batch.
1635
+ *
1636
+ * Accepts a JSON `ChartPayload` string (or the `chart-to-json` wrapper).
1637
+ * Returns JSON describing the packed batch.
1638
+ */
1639
+ export function pack_chart_payload_wasm(chart_json: string): string;
1640
+
1641
+ /**
1642
+ * Pack a batch of conformer results into sci-form's columnar format.
1643
+ *
1644
+ * Alias of [`pack_batch_arrow`], the name of the Rust root function
1645
+ * `sci_form::transport::pack_conformers` (blocker C-H1).
1646
+ */
1647
+ export function pack_conformers(results_json: string): string;
1648
+
1649
+ /**
1650
+ * Parse a CIF-format string into a crystal structure.
1651
+ *
1652
+ * Returns the structure as JSON: `data_block`, `cell`, `cell_params`,
1653
+ * `space_group_hm`, `space_group_number` and `atom_sites`. The cell
1654
+ * lengths are in Å and the cell angles in degrees.
1655
+ */
1656
+ export function parse_cif(cif_text: string): string;
1657
+
839
1658
  /**
840
1659
  * Parse a SMILES string and return molecular info (no 3D).
1660
+ *
1661
+ * Returns JSON:
1662
+ * `{"num_atoms": N, "num_bonds": M, "atoms": [{"element": 6, "hybridization": "Sp3", "formal_charge": 0}, ...]}`
1663
+ *
1664
+ * The `atoms` array matches the Python `parse()` payload (blocker C-M10).
841
1665
  */
842
1666
  export function parse_smiles(smiles: string): string;
843
1667
 
@@ -857,7 +1681,24 @@ export function parse_smiles(smiles: string): string;
857
1681
  */
858
1682
  export function parse_smirks(smirks: string): string;
859
1683
 
860
- export function pipeline_validator_wasm(): boolean;
1684
+ /**
1685
+ * Predict molecular properties with the ensemble of ML models.
1686
+ *
1687
+ * Returns the consensus LogP with its uncertainty, the solubility, the
1688
+ * TPSA, the pKa estimates, the Veber rules, the BBB permeability and an
1689
+ * overall confidence score.
1690
+ */
1691
+ export function predict_ensemble(smiles: string): string;
1692
+
1693
+ /**
1694
+ * Predict molecular properties using ML proxy models.
1695
+ *
1696
+ * Canonical name matching the Rust root (`sci_form::predict_ml_properties`).
1697
+ * Returns JSON:
1698
+ * `{"logp":…, "molar_refractivity":…, "log_solubility":…, "lipinski_violations":…,
1699
+ * "lipinski_passes":…, "druglikeness":…}`
1700
+ */
1701
+ export function predict_ml_properties(smiles: string): string;
861
1702
 
862
1703
  /**
863
1704
  * Predict J-coupling constants.
@@ -874,36 +1715,169 @@ export function predict_nmr_shifts(smiles: string): string;
874
1715
  */
875
1716
  export function predict_nmr_shifts_for_nucleus(smiles: string, nucleus: string): string;
876
1717
 
877
- export function report_generator_wasm(): string;
878
-
879
1718
  /**
880
1719
  * Search conformers by sampling, torsion refinement, and UFF ranking.
881
1720
  *
882
1721
  * `n_samples`: number of initial conformer samples.
883
1722
  * `rmsd_threshold`: RMSD cutoff for duplicate filtering (Å).
1723
+ * `seed`: 32-bit random seed (use [`search_conformers_with_uff_seed64`] for
1724
+ * the full 64-bit range).
884
1725
  */
885
1726
  export function search_conformers_with_uff(smiles: string, n_samples: number, seed: number, rmsd_threshold: number): string;
886
1727
 
1728
+ /**
1729
+ * Search conformers by sampling, torsion refinement, and UFF ranking, 64-bit seed.
1730
+ *
1731
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`).
1732
+ */
1733
+ export function search_conformers_with_uff_seed64(smiles: string, n_samples: number, seed: bigint, rmsd_threshold: number): string;
1734
+
1735
+ /**
1736
+ * Solve the extended Hückel problem for a geometry.
1737
+ *
1738
+ * Alias of [`eht_calculate`], the name of the Rust root function
1739
+ * `sci_form::eht::solve_eht` (blocker C-H1).
1740
+ */
1741
+ export function solve_eht(elements: string, coords_flat: string, k: number): string;
1742
+
1743
+ /**
1744
+ * Alias of [`solve_microkinetic_network`], the name of the Rust root function.
1745
+ *
1746
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1747
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1748
+ */
1749
+ export function solve_microkinetic_network(network_json: string, n_steps: number): string;
1750
+
1751
+ /**
1752
+ * Solve a microkinetic network and report the resulting trace.
1753
+ */
1754
+ export function solve_microkinetic_network_wasm(network_json: string, n_steps: number): string;
1755
+
1756
+ /**
1757
+ * Alias of [`solve_microkinetic_steady_state`], the name of the Rust root function.
1758
+ *
1759
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1760
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1761
+ */
1762
+ export function solve_microkinetic_steady_state(network_json: string, n_steps: number, tol: number): string;
1763
+
1764
+ /**
1765
+ * Solve a microkinetic network and propagate it to steady state.
1766
+ */
1767
+ export function solve_microkinetic_steady_state_wasm(network_json: string, n_steps: number, tol: number): string;
1768
+
1769
+ /**
1770
+ * Alias of [`solve_periodic_randnla`], the name of the Rust root function.
1771
+ *
1772
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1773
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1774
+ */
1775
+ export function solve_periodic_randnla(hamiltonian_blocks_json: string, overlap_blocks_json: string, n_electrons: number, grid_json: string, centering: string, sketch_size?: number | null): string;
1776
+
1777
+ /**
1778
+ * Solve the periodic generalized eigenproblem with the core RandNLA solver.
1779
+ */
1780
+ export function solve_periodic_randnla_wasm(hamiltonian_blocks_json: string, overlap_blocks_json: string, n_electrons: number, grid_json: string, centering: string, sketch_size?: number | null): string;
1781
+
1782
+ /**
1783
+ * Look up a crystallographic space group by ITC number (1–230).
1784
+ */
1785
+ export function space_group_by_number(number: number): string;
1786
+
1787
+ /**
1788
+ * Look up a crystallographic space group by Hermann-Mauguin symbol.
1789
+ */
1790
+ export function space_group_by_symbol(symbol: string): string;
1791
+
887
1792
  /**
888
1793
  * Split a batch of SMILES into worker tasks for Web Worker dispatch.
1794
+ *
1795
+ * `seed` is a 32-bit random seed; use [`split_worker_tasks_seed64`] for the
1796
+ * full 64-bit range.
889
1797
  */
890
1798
  export function split_worker_tasks(smiles_json: string, n_workers: number, seed: number): string;
891
1799
 
1800
+ /**
1801
+ * Split a batch of SMILES into worker tasks for Web Worker dispatch, 64-bit seed.
1802
+ *
1803
+ * `seed` is a JavaScript `BigInt` (e.g. `42n`).
1804
+ */
1805
+ export function split_worker_tasks_seed64(smiles_json: string, n_workers: number, seed: bigint): string;
1806
+
892
1807
  /**
893
1808
  * Query operation capabilities from a JSON element array.
1809
+ *
1810
+ * The Rust root calls this `get_system_capabilities`; the `get_` prefix is
1811
+ * not idiomatic and is dropped here (blocker C-M7). The Rust name is kept
1812
+ * as an alias below.
894
1813
  */
895
1814
  export function system_capabilities(elements: string): string;
896
1815
 
897
1816
  /**
898
1817
  * Build a structured method plan from a JSON element array.
1818
+ *
1819
+ * The Rust root calls this `get_system_method_plan`; the `get_` prefix is
1820
+ * not idiomatic and is dropped here (blocker C-M7). The Rust name is kept
1821
+ * as an alias below.
899
1822
  */
900
1823
  export function system_method_plan(elements: string): string;
901
1824
 
902
- export function trace_function_calls_wasm(): string;
1825
+ /**
1826
+ * Return the canonical SMILES representation of a molecule.
1827
+ */
1828
+ export function to_canonical_smiles(smiles: string): string;
903
1829
 
1830
+ /**
1831
+ * Train a Gradient Boosting regressor and return its training-set predictions.
1832
+ */
1833
+ export function train_gradient_boosting(features_json: string, targets_json: string, n_estimators: number, learning_rate: number, max_depth: number, min_samples_split: number, min_samples_leaf: number, subsample: number, seed: bigint): string;
1834
+
1835
+ /**
1836
+ * Train a Random Forest regressor and return its training-set predictions.
1837
+ *
1838
+ * `features_json`: JSON array of feature vectors; `targets_json`: JSON array
1839
+ * of target values.
1840
+ */
1841
+ export function train_random_forest(features_json: string, targets_json: string, n_trees: number, max_depth: number, min_samples_split: number, min_samples_leaf: number, sample_fraction: number, seed: bigint): string;
1842
+
1843
+ /**
1844
+ * Alias of [`validate_chart_schema`], the name of the Rust root function.
1845
+ *
1846
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1847
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1848
+ */
1849
+ export function validate_chart_schema(json_str: string): boolean;
1850
+
1851
+ /**
1852
+ * Validate the structure of a chart payload (wrapper or bare chart).
1853
+ */
904
1854
  export function validate_chart_schema_wasm(json_str: string): boolean;
905
1855
 
906
- export function validate_experimental_result_wasm(): boolean;
1856
+ /**
1857
+ * Alias of [`validate_electron_count`], the name of the Rust root function.
1858
+ *
1859
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1860
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1861
+ */
1862
+ export function validate_electron_count(n_electrons: number, n_bands: number, n_kpoints: number): string;
1863
+
1864
+ /**
1865
+ * Check that the electron count fits into the available band/k-point states.
1866
+ */
1867
+ export function validate_electron_count_wasm(n_electrons: number, n_bands: number, n_kpoints: number): string;
1868
+
1869
+ /**
1870
+ * Alias of [`validate_kmesh_weights`], the name of the Rust root function.
1871
+ *
1872
+ * The `_wasm` suffix existed only to avoid a name clash inside the flat
1873
+ * WASM namespace; the canonical name is exported as well (blocker C-H1).
1874
+ */
1875
+ export function validate_kmesh_weights(weights_json: string, tolerance: number): string;
1876
+
1877
+ /**
1878
+ * Verify that k-mesh weights sum to 1 within a tolerance.
1879
+ */
1880
+ export function validate_kmesh_weights_wasm(weights_json: string, tolerance: number): string;
907
1881
 
908
1882
  /**
909
1883
  * Library version.
@@ -923,172 +1897,292 @@ export function wbg_rayon_start_worker(receiver: number): void;
923
1897
 
924
1898
  export function webgpu_status(): string;
925
1899
 
1900
+ /**
1901
+ * Write a crystal structure as a CIF-format string.
1902
+ *
1903
+ * The structure is the JSON produced by `parse_cif`.
1904
+ */
1905
+ export function write_cif(cif_json: string): string;
1906
+
926
1907
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
927
1908
 
928
1909
  export interface InitOutput {
929
- readonly eht_calculate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
930
- readonly eht_or_uff_fallback: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
931
- readonly eht_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
932
- readonly eht_support: (a: number, b: number, c: number) => void;
933
- readonly eht_orbital_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
934
- readonly eht_orbital_grid_from_coefficients_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
935
- readonly eht_volumetric_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
936
- readonly eht_orbital_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
937
- readonly eht_density_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
938
- readonly eht_orbital_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
939
- readonly eht_density_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
940
- readonly create_unit_cell: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
941
- readonly assemble_framework: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
942
- readonly version: (a: number) => void;
943
- readonly system_capabilities: (a: number, b: number, c: number) => void;
944
- readonly system_method_plan: (a: number, b: number, c: number) => void;
945
- readonly compare_methods: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
946
- readonly alpha_compute_dft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
947
- readonly alpha_compute_reaxff_gradient: (a: number, b: number, c: number, d: number, e: number) => void;
948
- readonly alpha_compute_reaxff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
949
- readonly alpha_compute_eem_charges: (a: number, b: number, c: number, d: number, e: number) => void;
950
- readonly alpha_compute_mlff: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
951
- readonly alpha_compute_aevs: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
952
- readonly alpha_boys_function: (a: number, b: number, c: number) => void;
953
- readonly alpha_eri_ssss: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
954
- readonly alpha_schwarz_bound: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
955
- readonly alpha_rotate_dihedral_cga: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
956
- readonly alpha_refine_torsion_cga: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
957
- readonly alpha_gsm_interpolate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
958
- readonly alpha_gsm_backend_plan: (a: number, b: number, c: number) => void;
959
- readonly alpha_gsm_compare_backends: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
960
- readonly alpha_gsm_find_ts: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
961
- readonly alpha_gsm_find_ts_with_method: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
962
- readonly alpha_sdr_embed: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
963
- readonly alpha_modules_info: (a: number) => void;
964
- readonly chart_to_json_wasm: (a: number) => void;
965
- readonly chart_from_json_wasm: (a: number, b: number, c: number) => void;
966
- readonly validate_chart_schema_wasm: (a: number, b: number) => number;
967
- readonly merge_experiment_results_wasm: (a: number) => void;
968
- readonly experimental_result_to_sdf_wasm: (a: number) => void;
969
- readonly experimental_result_to_json_wasm: (a: number) => void;
970
- readonly benchmark_function_wasm: (a: number) => void;
971
- readonly trace_function_calls_wasm: (a: number) => void;
972
- readonly report_generator_wasm: (a: number) => void;
973
- readonly pipeline_validator_wasm: () => number;
974
- readonly cache_results_wasm: (a: number) => void;
975
- readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
976
- readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
977
- readonly compute_mmff94_energy: (a: number, b: number, c: number, d: number, e: number) => void;
978
- readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
979
- readonly parse_smirks: (a: number, b: number, c: number) => void;
980
- readonly apply_smirks: (a: number, b: number, c: number, d: number, e: number) => void;
981
- readonly compute_neb_path_with_method: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
982
- readonly neb_single_point_energy: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
983
- readonly neb_energy_and_gradient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
984
- readonly compute_md_trajectory_with_method: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
985
- readonly list_neb_backends: (a: number, b: number, c: number) => void;
986
- readonly compute_reaction_dynamics: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
987
- readonly pack_batch_arrow: (a: number, b: number, c: number) => void;
988
- readonly split_worker_tasks: (a: number, b: number, c: number, d: number, e: number) => void;
989
- readonly estimate_workers: (a: number, b: number) => number;
990
- readonly compute_pm3: (a: number, b: number, c: number, d: number, e: number) => void;
991
- readonly compute_xtb: (a: number, b: number, c: number, d: number, e: number) => void;
1910
+ readonly memory: WebAssembly.Memory;
1911
+ readonly assign_peaks: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1912
+ readonly compute_aevs_tm: (a: number, b: number, c: number, d: number, e: number) => void;
1913
+ readonly compute_ani: (a: number, b: number, c: number, d: number, e: number) => void;
1914
+ readonly compute_cisd: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1915
+ readonly compute_dft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1916
+ readonly compute_ensemble_j_couplings: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
1917
+ readonly compute_fluorescence: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
1918
+ readonly compute_getaway: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
992
1919
  readonly compute_gfn1: (a: number, b: number, c: number, d: number, e: number) => void;
993
1920
  readonly compute_gfn2: (a: number, b: number, c: number, d: number, e: number) => void;
1921
+ readonly compute_giao_nmr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
994
1922
  readonly compute_hf3c: (a: number, b: number, c: number, d: number, e: number) => void;
995
1923
  readonly compute_hf3c_custom: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
996
- readonly compute_ani: (a: number, b: number, c: number, d: number, e: number) => void;
997
- readonly compute_dft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
998
- readonly compute_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
999
- readonly compute_orbital_mesh_accelerated: (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;
1000
- readonly compute_sssr: (a: number, b: number, c: number) => void;
1001
- readonly compute_ecfp: (a: number, b: number, c: number, d: number, e: number) => void;
1002
- readonly compute_tanimoto: (a: number, b: number, c: number, d: number, e: number) => void;
1003
- readonly butina_cluster: (a: number, b: number, c: number, d: number) => void;
1004
- readonly compute_rmsd_matrix: (a: number, b: number, c: number) => void;
1005
- readonly analyze_stereo: (a: number, b: number, c: number, d: number, e: number) => void;
1006
- readonly compute_charges: (a: number, b: number, c: number) => void;
1007
- readonly compute_sasa: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1008
- readonly compute_population: (a: number, b: number, c: number, d: number, e: number) => void;
1009
- readonly compute_bond_orders: (a: number, b: number, c: number, d: number, e: number) => void;
1010
- readonly compute_dipole: (a: number, b: number, c: number, d: number, e: number) => void;
1011
- readonly compute_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1012
- readonly compute_rmsd: (a: number, b: number, c: number, d: number, e: number) => void;
1013
- readonly compute_frontier_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
1014
- readonly compute_fukui_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
1015
- readonly compute_reactivity_ranking: (a: number, b: number, c: number, d: number, e: number) => void;
1016
- readonly compute_uv_vis_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1017
- readonly analyze_graph_features: (a: number, b: number, c: number) => void;
1018
- readonly compute_topology: (a: number, b: number, c: number, d: number, e: number) => void;
1019
- readonly compute_nonpolar_solvation: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1020
- readonly compute_gb_solvation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
1924
+ readonly compute_hose_codes: (a: number, b: number, c: number, d: number) => void;
1925
+ readonly compute_ir_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1926
+ readonly compute_ir_spectrum_broadened: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => void;
1927
+ readonly compute_ml_descriptors: (a: number, b: number, c: number) => void;
1928
+ readonly compute_ml_properties: (a: number, b: number, c: number) => void;
1929
+ readonly compute_nmr_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1930
+ readonly compute_nmr_spectrum_with_coords: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
1931
+ readonly compute_pm3: (a: number, b: number, c: number, d: number, e: number) => void;
1932
+ readonly compute_pm3_gradient: (a: number, b: number, c: number, d: number, e: number) => void;
1933
+ readonly compute_rdf: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
1934
+ readonly compute_rohf: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1021
1935
  readonly compute_stda_uvvis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
1936
+ readonly compute_tpsa: (a: number, b: number, c: number) => void;
1937
+ readonly compute_uhf: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1022
1938
  readonly compute_vibrational_analysis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
1023
1939
  readonly compute_vibrational_analysis_uff: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
1024
- readonly compute_ir_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1940
+ readonly compute_whim: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1941
+ readonly compute_xtb: (a: number, b: number, c: number, d: number, e: number) => void;
1942
+ readonly compute_xtb_gradient: (a: number, b: number, c: number, d: number, e: number) => void;
1943
+ readonly predict_ensemble: (a: number, b: number, c: number) => void;
1944
+ readonly predict_nmr_couplings: (a: number, b: number, c: number, d: number, e: number) => void;
1025
1945
  readonly predict_nmr_shifts: (a: number, b: number, c: number) => void;
1026
1946
  readonly predict_nmr_shifts_for_nucleus: (a: number, b: number, c: number, d: number, e: number) => void;
1027
- readonly compute_giao_nmr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
1028
- readonly predict_nmr_couplings: (a: number, b: number, c: number, d: number, e: number) => void;
1029
- readonly compute_nmr_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1030
- readonly compute_nmr_spectrum_with_coords: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
1031
- readonly compute_hose_codes: (a: number, b: number, c: number, d: number) => void;
1947
+ readonly train_gradient_boosting: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: bigint) => void;
1948
+ readonly train_random_forest: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: bigint) => void;
1949
+ readonly analyze_gsm_mbh_htst_step: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
1950
+ readonly assemble_periodic_operators: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1951
+ readonly bloch_phase: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1952
+ readonly bloch_phase_wasm: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1953
+ readonly build_bloch_hamiltonian: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1954
+ readonly bz_integrate_scalar: (a: number, b: number, c: number, d: number, e: number) => void;
1955
+ readonly bz_integrate_vector: (a: number, b: number, c: number, d: number, e: number) => void;
1956
+ readonly chart_from_json: (a: number, b: number, c: number) => void;
1957
+ readonly chart_to_json: (a: number, b: number, c: number) => void;
1958
+ readonly compute_arrhenius_chart: (a: number, b: number, c: number, d: number, e: number) => void;
1959
+ readonly compute_band_structure_chart: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
1960
+ readonly compute_capacitance_chart: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1961
+ readonly compute_dos_chart: (a: number, b: number, c: number, d: number, e: number) => void;
1962
+ readonly compute_edl_capacitance_scan: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1963
+ readonly compute_edl_chart: (a: number, b: number, c: number) => void;
1964
+ readonly compute_edl_profile: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
1965
+ readonly compute_eeq_charges: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1966
+ readonly compute_eeq_charges_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
1967
+ readonly compute_eeq_energy: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1968
+ readonly compute_fermi_surface_chart: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1969
+ readonly compute_gcs_profile: (a: number, b: number, c: number, d: number) => void;
1970
+ readonly compute_gouy_chapman_profile: (a: number, b: number, c: number) => void;
1971
+ readonly compute_helmholtz_profile: (a: number, b: number, c: number) => void;
1972
+ readonly compute_htst_rate: (a: number, b: number, c: number, d: number) => void;
1973
+ readonly compute_htst_sweep: (a: number, b: number, c: number, d: number, e: number) => void;
1974
+ readonly compute_kmesh: (a: number, b: number, c: number, d: number, e: number) => void;
1975
+ readonly compute_kpoint_path_chart: (a: number, b: number) => void;
1976
+ readonly compute_periodic_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
1977
+ readonly compute_phase_portrait_chart: (a: number, b: number, c: number, d: number) => void;
1978
+ readonly compute_reaction_coordinate_chart: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1979
+ readonly compute_thermal_prop_chart: (a: number, b: number, c: number, d: number, e: number) => void;
1980
+ readonly compute_trajectory_chart: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1981
+ readonly extract_kinetics_diagnostics: (a: number, b: number, c: number, d: number) => void;
1982
+ readonly pack_chart_payload: (a: number, b: number, c: number) => void;
1983
+ readonly solve_microkinetic_network: (a: number, b: number, c: number, d: number) => void;
1984
+ readonly solve_microkinetic_steady_state: (a: number, b: number, c: number, d: number, e: number) => void;
1985
+ readonly solve_periodic_randnla: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
1986
+ readonly validate_chart_schema: (a: number, b: number) => number;
1987
+ readonly validate_chart_schema_wasm: (a: number, b: number) => number;
1988
+ readonly validate_electron_count: (a: number, b: number, c: number, d: number) => void;
1989
+ readonly validate_electron_count_wasm: (a: number, b: number, c: number, d: number) => void;
1990
+ readonly validate_kmesh_weights: (a: number, b: number, c: number, d: number) => void;
1991
+ readonly compute_md_trajectory: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
1992
+ readonly compute_md_trajectory_nvt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
1993
+ readonly compute_md_trajectory_nvt_seed64: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: bigint, i: number, j: number) => void;
1994
+ readonly compute_md_trajectory_seed64: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: bigint) => void;
1995
+ readonly compute_simplified_neb_path: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
1996
+ readonly search_conformers_with_uff: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1997
+ readonly search_conformers_with_uff_seed64: (a: number, b: number, c: number, d: number, e: bigint, f: number) => void;
1032
1998
  readonly __wbg_livesimulation_free: (a: number, b: number) => void;
1033
- readonly livesimulation_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1034
- readonly livesimulation_step: (a: number, b: number, c: number) => void;
1035
- readonly livesimulation_apply_thermostat: (a: number, b: number, c: number, d: number) => void;
1999
+ readonly butina_cluster: (a: number, b: number, c: number, d: number) => void;
2000
+ readonly compute_ecfp: (a: number, b: number, c: number, d: number, e: number) => void;
2001
+ readonly compute_ecfp_batch: (a: number, b: number, c: number, d: number, e: number) => void;
2002
+ readonly compute_rmsd_matrix: (a: number, b: number, c: number) => void;
2003
+ readonly compute_sssr: (a: number, b: number, c: number) => void;
2004
+ readonly compute_tanimoto: (a: number, b: number, c: number, d: number, e: number) => void;
2005
+ readonly filter_diverse: (a: number, b: number, c: number, d: number) => void;
1036
2006
  readonly livesimulation_apply_steering_force: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2007
+ readonly livesimulation_apply_thermostat: (a: number, b: number, c: number, d: number) => void;
1037
2008
  readonly livesimulation_clear_steering: (a: number) => void;
2009
+ readonly livesimulation_kinetic_energy: (a: number) => number;
2010
+ readonly livesimulation_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1038
2011
  readonly livesimulation_num_atoms: (a: number) => number;
1039
2012
  readonly livesimulation_positions_json: (a: number, b: number) => void;
1040
2013
  readonly livesimulation_positions_ptr: (a: number) => number;
1041
- readonly livesimulation_temperature: (a: number) => number;
1042
2014
  readonly livesimulation_potential_energy: (a: number) => number;
1043
- readonly livesimulation_kinetic_energy: (a: number) => number;
1044
- readonly livesimulation_step_count: (a: number) => number;
1045
2015
  readonly livesimulation_set_temperature: (a: number, b: number, c: bigint) => void;
1046
- readonly init_webgpu: () => number;
1047
- readonly webgpu_status: (a: number) => void;
2016
+ readonly livesimulation_step: (a: number, b: number, c: number) => void;
2017
+ readonly livesimulation_step_count: (a: number) => number;
2018
+ readonly livesimulation_temperature: (a: number) => number;
2019
+ readonly alpha_boys_function: (a: number, b: number, c: number) => void;
2020
+ readonly alpha_compute_aevs: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2021
+ readonly alpha_compute_dft: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2022
+ readonly alpha_compute_eem_charges: (a: number, b: number, c: number, d: number, e: number) => void;
2023
+ readonly alpha_compute_mlff: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2024
+ readonly alpha_compute_reaxff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
2025
+ readonly alpha_compute_reaxff_gradient: (a: number, b: number, c: number, d: number, e: number) => void;
2026
+ readonly alpha_eri_ssss: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
2027
+ readonly alpha_gsm_backend_plan: (a: number, b: number, c: number) => void;
2028
+ readonly alpha_gsm_compare_backends: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2029
+ readonly alpha_gsm_find_ts: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
2030
+ readonly alpha_gsm_find_ts_with_method: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
2031
+ readonly alpha_gsm_interpolate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2032
+ readonly alpha_modules_info: (a: number) => void;
2033
+ readonly alpha_periodic_band_structure_eht: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
2034
+ readonly alpha_periodic_bloch_phase: (a: number, b: number, c: number, d: number, e: number) => void;
2035
+ readonly alpha_periodic_bz_integrate_scalar: (a: number, b: number, c: number, d: number) => number;
2036
+ readonly alpha_periodic_bz_integrate_vector: (a: number, b: number, c: number, d: number, e: number) => void;
2037
+ readonly alpha_periodic_fermi_surface_from_bands: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2038
+ readonly alpha_periodic_kpath_standard: (a: number, b: number) => void;
2039
+ readonly alpha_periodic_monkhorst_pack: (a: number, b: number, c: number) => void;
2040
+ readonly alpha_periodic_validate_electron_count: (a: number, b: number, c: number, d: number) => number;
2041
+ readonly alpha_periodic_validate_kmesh_weights: (a: number, b: number, c: number) => number;
2042
+ readonly alpha_refine_torsion_cga: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
2043
+ readonly alpha_render_arrhenius_chart: (a: number, b: number, c: number) => void;
2044
+ readonly alpha_render_band_structure_chart: (a: number, b: number, c: number) => void;
2045
+ readonly alpha_render_capacitance_scan_chart: (a: number, b: number, c: number) => void;
2046
+ readonly alpha_render_edl_profile_chart: (a: number, b: number, c: number) => void;
2047
+ readonly alpha_render_gsm_path_trajectory: (a: number, b: number, c: number, d: number, e: number) => void;
2048
+ readonly alpha_render_microkinetic_population_chart: (a: number, b: number, c: number) => void;
2049
+ readonly alpha_render_pack_chart_payload: (a: number, b: number, c: number) => void;
2050
+ readonly alpha_render_periodic_dos_chart: (a: number, b: number, c: number) => void;
2051
+ readonly alpha_render_verify_chart_round_trip: (a: number, b: number, c: number) => number;
2052
+ readonly alpha_rotate_dihedral_cga: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
2053
+ readonly alpha_schwarz_bound: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2054
+ readonly alpha_sdr_embed: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2055
+ readonly analyze_stereo: (a: number, b: number, c: number, d: number, e: number) => void;
2056
+ readonly apply_smirks: (a: number, b: number, c: number, d: number, e: number) => void;
2057
+ readonly compute_eht_gradient: (a: number, b: number, c: number, d: number, e: number) => void;
2058
+ readonly compute_eht_or_uff_fallback: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
2059
+ readonly compute_md_trajectory_with_method: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
2060
+ readonly compute_md_trajectory_with_method_seed64: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: bigint, k: number, l: number, m: number) => void;
2061
+ readonly compute_neb_path_with_method: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
2062
+ readonly compute_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
2063
+ readonly compute_orbital_mesh_accelerated: (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;
2064
+ readonly compute_reaction_dynamics: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
2065
+ readonly eht_calculate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2066
+ readonly eht_density_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
2067
+ readonly eht_density_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
2068
+ readonly eht_orbital_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
2069
+ readonly eht_orbital_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
2070
+ readonly eht_orbital_grid_from_coefficients_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
2071
+ readonly eht_orbital_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
2072
+ readonly eht_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
2073
+ readonly eht_support: (a: number, b: number, c: number) => void;
2074
+ readonly eht_volumetric_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1048
2075
  readonly embed: (a: number, b: number, c: number, d: number) => void;
2076
+ readonly embed_batch: (a: number, b: number, c: number, d: number) => void;
2077
+ readonly embed_batch_seed64: (a: number, b: number, c: number, d: bigint) => void;
1049
2078
  readonly embed_coords: (a: number, b: number, c: number, d: number) => void;
2079
+ readonly embed_coords_seed64: (a: number, b: number, c: number, d: bigint) => void;
1050
2080
  readonly embed_coords_typed: (a: number, b: number, c: number) => number;
1051
- readonly embed_batch: (a: number, b: number, c: number, d: number) => void;
2081
+ readonly embed_coords_typed_seed64: (a: number, b: number, c: bigint) => number;
2082
+ readonly embed_diverse: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
2083
+ readonly embed_seed64: (a: number, b: number, c: number, d: bigint) => void;
2084
+ readonly list_neb_backends: (a: number, b: number, c: number) => void;
2085
+ readonly neb_energy_and_gradient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2086
+ readonly neb_single_point_energy: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2087
+ readonly optimize_geometry_eht: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
1052
2088
  readonly parse_smiles: (a: number, b: number, c: number) => void;
1053
- readonly compute_esp: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1054
- readonly compute_esp_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
1055
- readonly compute_esp_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1056
- readonly compute_esp_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
1057
- readonly compute_esp_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
1058
- readonly compute_ml_properties: (a: number, b: number, c: number) => void;
1059
- readonly compute_molecular_descriptors: (a: number, b: number, c: number) => void;
1060
- readonly compute_md_trajectory: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
1061
- readonly compute_md_trajectory_nvt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
1062
- readonly compute_simplified_neb_path: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
1063
- readonly search_conformers_with_uff: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2089
+ readonly parse_smirks: (a: number, b: number, c: number) => void;
2090
+ readonly to_canonical_smiles: (a: number, b: number, c: number) => void;
2091
+ readonly compare_methods: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
2092
+ readonly estimate_workers: (a: number, b: number) => number;
2093
+ readonly get_system_capabilities: (a: number, b: number, c: number) => void;
2094
+ readonly get_system_method_plan: (a: number, b: number, c: number) => void;
2095
+ readonly pack_batch_arrow: (a: number, b: number, c: number) => void;
2096
+ readonly split_worker_tasks: (a: number, b: number, c: number, d: number, e: number) => void;
2097
+ readonly split_worker_tasks_seed64: (a: number, b: number, c: number, d: number, e: bigint) => void;
2098
+ readonly system_capabilities: (a: number, b: number, c: number) => void;
2099
+ readonly system_method_plan: (a: number, b: number, c: number) => void;
2100
+ readonly version: (a: number) => void;
2101
+ readonly compute_bond_orders: (a: number, b: number, c: number, d: number, e: number) => void;
2102
+ readonly compute_charges: (a: number, b: number, c: number) => void;
2103
+ readonly compute_charges_configured: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2104
+ readonly compute_dipole: (a: number, b: number, c: number, d: number, e: number) => void;
2105
+ readonly compute_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
2106
+ readonly compute_dos_multimethod: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
2107
+ readonly compute_population: (a: number, b: number, c: number, d: number, e: number) => void;
2108
+ readonly compute_rmsd: (a: number, b: number, c: number, d: number, e: number) => void;
2109
+ readonly compute_sasa: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2110
+ readonly beta_compute_cpm_charges: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1064
2111
  readonly beta_compute_kpm_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1065
2112
  readonly beta_compute_kpm_mulliken: (a: number, b: number, c: number, d: number, e: number) => void;
1066
2113
  readonly beta_compute_mbh_frequencies: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
1067
- readonly beta_solve_eht_randnla: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2114
+ readonly beta_modules_info: (a: number) => void;
1068
2115
  readonly beta_psd_distance: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1069
2116
  readonly beta_psd_projection: (a: number, b: number, c: number, d: number) => void;
1070
- readonly beta_compute_cpm_charges: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
1071
- readonly beta_modules_info: (a: number) => void;
2117
+ readonly beta_solve_eht_randnla: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2118
+ readonly compute_gb_solvation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
2119
+ readonly compute_nonpolar_solvation: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2120
+ readonly all_space_groups: (a: number) => void;
2121
+ readonly analyze_graph_features: (a: number, b: number, c: number) => void;
2122
+ readonly assemble_framework: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
2123
+ readonly build_periodic_molecule: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
2124
+ readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
2125
+ readonly compute_esp: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2126
+ readonly compute_esp_grid_accelerated: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
2127
+ readonly compute_esp_grid_accelerated_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
2128
+ readonly compute_esp_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2129
+ readonly compute_esp_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
2130
+ readonly compute_frontier_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
2131
+ readonly compute_fukui_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
2132
+ readonly compute_mmff94_energy: (a: number, b: number, c: number, d: number, e: number) => void;
2133
+ readonly compute_mmff94_energy_breakdown: (a: number, b: number, c: number, d: number, e: number) => void;
2134
+ readonly compute_reactivity_ranking: (a: number, b: number, c: number, d: number, e: number) => void;
2135
+ readonly compute_topology: (a: number, b: number, c: number, d: number, e: number) => void;
2136
+ readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
2137
+ readonly compute_uff_energy_breakdown: (a: number, b: number, c: number, d: number, e: number) => void;
2138
+ readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
2139
+ readonly compute_uv_vis_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
2140
+ readonly create_unit_cell: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2141
+ readonly detect_hapticity: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2142
+ readonly init_webgpu: () => number;
2143
+ readonly optimize_framework: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
2144
+ readonly parse_cif: (a: number, b: number, c: number) => void;
2145
+ readonly space_group_by_number: (a: number, b: number) => void;
2146
+ readonly space_group_by_symbol: (a: number, b: number, c: number) => void;
2147
+ readonly webgpu_status: (a: number) => void;
2148
+ readonly write_cif: (a: number, b: number, c: number) => void;
1072
2149
  readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
2150
+ readonly initThreadPool: (a: number) => number;
2151
+ readonly wbg_rayon_poolbuilder_build: (a: number) => void;
1073
2152
  readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
1074
2153
  readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
1075
- readonly wbg_rayon_poolbuilder_build: (a: number) => void;
1076
- readonly initThreadPool: (a: number) => number;
1077
2154
  readonly wbg_rayon_start_worker: (a: number) => void;
1078
- readonly validate_experimental_result_wasm: () => number;
1079
- readonly __wasm_bindgen_func_elem_2984: (a: number, b: number) => void;
1080
- readonly __wasm_bindgen_func_elem_735: (a: number, b: number, c: number, d: number) => void;
1081
- readonly __wasm_bindgen_func_elem_649: (a: number, b: number, c: number, d: number) => void;
1082
- readonly __wasm_bindgen_func_elem_2990: (a: number, b: number, c: number) => void;
1083
- readonly __wasm_bindgen_func_elem_2990_2: (a: number, b: number, c: number) => void;
1084
- readonly memory: WebAssembly.Memory;
2155
+ readonly bz_integrate_scalar_wasm: (a: number, b: number, c: number, d: number, e: number) => void;
2156
+ readonly bz_integrate_vector_wasm: (a: number, b: number, c: number, d: number, e: number) => void;
2157
+ readonly get_eht_support: (a: number, b: number, c: number) => void;
2158
+ readonly analyze_gsm_mbh_htst_step_wasm: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
2159
+ readonly compute_molecular_descriptors: (a: number, b: number, c: number) => void;
2160
+ readonly predict_ml_properties: (a: number, b: number, c: number) => void;
2161
+ readonly chart_from_json_wasm: (a: number, b: number, c: number) => void;
2162
+ readonly chart_to_json_wasm: (a: number, b: number, c: number) => void;
2163
+ readonly pack_chart_payload_wasm: (a: number, b: number, c: number) => void;
2164
+ readonly pack_conformers: (a: number, b: number, c: number) => void;
2165
+ readonly solve_eht: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2166
+ readonly eht_or_uff_fallback: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
2167
+ readonly compute_esp_grid: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2168
+ readonly build_bloch_hamiltonian_wasm: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2169
+ readonly solve_microkinetic_steady_state_wasm: (a: number, b: number, c: number, d: number, e: number) => void;
2170
+ readonly extract_kinetics_diagnostics_wasm: (a: number, b: number, c: number, d: number) => void;
2171
+ readonly solve_microkinetic_network_wasm: (a: number, b: number, c: number, d: number) => void;
2172
+ readonly validate_kmesh_weights_wasm: (a: number, b: number, c: number, d: number) => void;
2173
+ readonly solve_periodic_randnla_wasm: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
2174
+ readonly compute_periodic_dos_wasm: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
2175
+ readonly assemble_periodic_operators_wasm: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
2176
+ readonly __wasm_bindgen_func_elem_3703: (a: number, b: number) => void;
2177
+ readonly __wasm_bindgen_func_elem_781: (a: number, b: number, c: number, d: number) => void;
2178
+ readonly __wasm_bindgen_func_elem_763: (a: number, b: number, c: number, d: number) => void;
2179
+ readonly __wasm_bindgen_func_elem_3712: (a: number, b: number, c: number) => void;
2180
+ readonly __wasm_bindgen_func_elem_3712_2: (a: number, b: number, c: number) => void;
1085
2181
  readonly __wbindgen_export: (a: number, b: number) => number;
1086
2182
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
1087
2183
  readonly __wbindgen_export3: (a: number) => void;
1088
2184
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
1089
2185
  readonly __wbindgen_export4: (a: number, b: number, c: number) => void;
1090
- readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
1091
- readonly __wbindgen_start: (a: number) => void;
1092
2186
  }
1093
2187
 
1094
2188
  export type SyncInitInput = BufferSource | WebAssembly.Module;
@@ -1097,20 +2191,18 @@ export type SyncInitInput = BufferSource | WebAssembly.Module;
1097
2191
  * Instantiates the given `module`, which can either be bytes or
1098
2192
  * a precompiled `WebAssembly.Module`.
1099
2193
  *
1100
- * @param {{ module: SyncInitInput, memory?: WebAssembly.Memory, thread_stack_size?: number }} module - Passing `SyncInitInput` directly is deprecated.
1101
- * @param {WebAssembly.Memory} memory - Deprecated.
2194
+ * @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
1102
2195
  *
1103
2196
  * @returns {InitOutput}
1104
2197
  */
1105
- export function initSync(module: { module: SyncInitInput, memory?: WebAssembly.Memory, thread_stack_size?: number } | SyncInitInput, memory?: WebAssembly.Memory): InitOutput;
2198
+ export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
1106
2199
 
1107
2200
  /**
1108
2201
  * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
1109
2202
  * for everything else, calls `WebAssembly.instantiate` directly.
1110
2203
  *
1111
- * @param {{ module_or_path: InitInput | Promise<InitInput>, memory?: WebAssembly.Memory, thread_stack_size?: number }} module_or_path - Passing `InitInput` directly is deprecated.
1112
- * @param {WebAssembly.Memory} memory - Deprecated.
2204
+ * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
1113
2205
  *
1114
2206
  * @returns {Promise<InitOutput>}
1115
2207
  */
1116
- export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput>, memory?: WebAssembly.Memory, thread_stack_size?: number } | InitInput | Promise<InitInput>, memory?: WebAssembly.Memory): Promise<InitOutput>;
2208
+ export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;