@climateriskcommons/crc-framework 0.5.4 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -30
- package/contracts/api/public-api.json +2631 -0
- package/contracts/api/release.json +17 -0
- package/contracts/dataset/dataset-2.0.schema.json +1193 -0
- package/contracts/dataset/fixtures.json +7040 -0
- package/contracts/numerical/fitting-1.0.schema.json +886 -0
- package/contracts/numerical/fixtures-1.0.json +4180 -0
- package/contracts/numerical/numerical-1.0.schema.json +757 -0
- package/contracts/scientific/fixtures-1.0.json +1094 -0
- package/contracts/scientific/impact-2.0.schema.json +409 -0
- package/contracts/scientific/impact-context-1.0.schema.json +367 -0
- package/contracts/scientific/impact-reference-2.0.schema.json +45 -0
- package/contracts/scientific/kernel-bindings-1.0.json +44 -0
- package/contracts/scientific/measurement-1.0.schema.json +612 -0
- package/contracts/scientific/models-1.0.json +3759 -0
- package/contracts/taxonomy/fixtures.json +200 -0
- package/contracts/taxonomy/taxonomy-1.0.schema.json +313 -0
- package/package.json +6 -3
- package/src/bindings.js +107 -0
- package/src/index.d.ts +41 -70
- package/src/index.js +4 -209
- package/src/node.js +14 -0
- package/wasm/crc_framework.d.ts +21 -32
- package/wasm/crc_framework.js +146 -115
- package/wasm/crc_framework_bg.wasm +0 -0
- package/wasm/crc_framework_bg.wasm.d.ts +12 -10
package/src/index.d.ts
CHANGED
|
@@ -1,75 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
| "genpareto"
|
|
10
|
-
| "weibull_min"
|
|
11
|
-
| "weibull_max"
|
|
12
|
-
| "gumbel_r"
|
|
13
|
-
| "gumbel_l"
|
|
14
|
-
| "skewnorm";
|
|
15
|
-
export type NoDataReason =
|
|
16
|
-
| "below_effective_resolution"
|
|
17
|
-
| "insufficient_informative_support"
|
|
18
|
-
| "degenerate_effective_range"
|
|
19
|
-
| "scientific_exclusion";
|
|
20
|
-
/** Canonical property subset; optional fields may be omitted or null. */
|
|
21
|
-
export interface CurveProperties {
|
|
22
|
-
curve_kind: CurveKind;
|
|
23
|
-
curve_type: FittedFamily | NoDataReason | "point_mass" | "linear_probability";
|
|
24
|
-
curve_shape?: number | null;
|
|
25
|
-
curve_location?: number | null;
|
|
26
|
-
curve_scale?: number | null;
|
|
27
|
-
curve_atom_probability?: number | null;
|
|
28
|
-
curve_atom_location?: number | null;
|
|
29
|
-
curve_probabilities?: readonly number[] | string | null;
|
|
30
|
-
curve_values?: readonly number[] | string | null;
|
|
31
|
-
[key: string]: unknown;
|
|
32
|
-
}
|
|
33
|
-
/** Untyped MVT properties can be passed directly; Rust validates the canonical subset. */
|
|
34
|
-
export type CurvePropertyRow = { [key: string]: unknown };
|
|
1
|
+
// Browser objects are usable when declared by the consumer's TypeScript environment.
|
|
2
|
+
type InstanceIfAvailable<Scope, Name extends PropertyKey> =
|
|
3
|
+
Name extends keyof Scope
|
|
4
|
+
? Scope[Name] extends new (...args: never[]) => infer Instance ? Instance : never
|
|
5
|
+
: never;
|
|
6
|
+
type WasmModule = typeof globalThis extends { WebAssembly: infer WebAssemblyAPI }
|
|
7
|
+
? InstanceIfAvailable<WebAssemblyAPI, 'Module'>
|
|
8
|
+
: never;
|
|
35
9
|
export type InitInput =
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}): void;
|
|
47
|
-
/** RangeError for invalid q; TypeError for malformed records; null for no data/outside support. */
|
|
48
|
-
export function evaluateCurve(
|
|
49
|
-
properties: CurveProperties | CurvePropertyRow,
|
|
50
|
-
q: number,
|
|
51
|
-
): number | null;
|
|
52
|
-
/** A malformed row aborts the batch. */
|
|
53
|
-
export function evaluateCurves(
|
|
54
|
-
properties: readonly (CurveProperties | CurvePropertyRow)[],
|
|
55
|
-
q: number,
|
|
56
|
-
): Array<number | null>;
|
|
57
|
-
export interface PreparedCurve {
|
|
58
|
-
evaluate(q: number): number | null;
|
|
59
|
-
quantiles(
|
|
60
|
-
probabilities: readonly number[] | Float64Array,
|
|
61
|
-
): Array<number | null>;
|
|
10
|
+
| string
|
|
11
|
+
| ArrayBuffer
|
|
12
|
+
| ArrayBufferView
|
|
13
|
+
| InstanceIfAvailable<typeof globalThis, 'URL' | 'Request' | 'Response'>
|
|
14
|
+
| WasmModule;
|
|
15
|
+
/** Initialize the bundled module, or supply your own WebAssembly module, bytes, or URL. */
|
|
16
|
+
export default function init(input?: InitInput | Promise<InitInput>): Promise<void>;
|
|
17
|
+
export interface PreparedNumerical {
|
|
18
|
+
quantile(probability: number): number;
|
|
19
|
+
quantile(probabilities: readonly number[] | Float64Array): Float64Array;
|
|
62
20
|
free(): void;
|
|
63
21
|
}
|
|
64
|
-
export
|
|
65
|
-
|
|
66
|
-
): PreparedCurve;
|
|
67
|
-
|
|
68
|
-
/** Reusable collection: one WASM call per probability, input order preserved. */
|
|
69
|
-
export interface PreparedCurves {
|
|
70
|
-
evaluate(q: number): Array<number | null>;
|
|
22
|
+
export interface PreparedNumericals {
|
|
23
|
+
quantile(probability: number): Float64Array;
|
|
71
24
|
free(): void;
|
|
72
25
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
):
|
|
26
|
+
/** Prepare a numerical document for repeated queries. */
|
|
27
|
+
export function prepareNumerical(text: string): PreparedNumerical;
|
|
28
|
+
export function prepareNumericals(text: string): PreparedNumericals;
|
|
29
|
+
export function quantile(text: string, probability: number): number;
|
|
30
|
+
export function quantile(text: string, probabilities: readonly number[] | Float64Array): Float64Array;
|
|
31
|
+
/** Strict current schema and scientific-semantic validation. */
|
|
32
|
+
export function validateDocument(schema: DocumentSchema, text: string): void;
|
|
33
|
+
|
|
34
|
+
export const DocumentSchema: Readonly<{
|
|
35
|
+
NUMERICAL:'https://climateriskcommons.org/schemas/numerical/1.0';
|
|
36
|
+
FITTING_RECORD:'https://climateriskcommons.org/schemas/fitting/1.0';
|
|
37
|
+
FITTING_SPECIFICATION:'https://climateriskcommons.org/schemas/fitting/1.0#/$defs/specification';
|
|
38
|
+
DATASET:'https://climateriskcommons.org/schemas/dataset/2.0';
|
|
39
|
+
CATALOG:'https://climateriskcommons.org/schemas/taxonomy/1.0';
|
|
40
|
+
MEASUREMENT:'https://climateriskcommons.org/schemas/measurement-1.0.schema.json';
|
|
41
|
+
IMPACT_CONTEXT:'https://climateriskcommons.org/schemas/impact-context-1.0.schema.json';
|
|
42
|
+
IMPACT:'https://climateriskcommons.org/schemas/impact-2.0.schema.json';
|
|
43
|
+
IMPACT_REFERENCE:'https://climateriskcommons.org/schemas/impact-reference-2.0.schema.json';
|
|
44
|
+
}>;
|
|
45
|
+
|
|
46
|
+
export type DocumentSchema = (typeof DocumentSchema)[keyof typeof DocumentSchema];
|
package/src/index.js
CHANGED
|
@@ -1,213 +1,8 @@
|
|
|
1
|
-
import initialize
|
|
2
|
-
initSync as initializeSync,
|
|
3
|
-
PreparedCurve,
|
|
4
|
-
PreparedCurves,
|
|
5
|
-
curveKindNames,
|
|
6
|
-
curveTypeNames,
|
|
7
|
-
evaluateCurvePacked,
|
|
8
|
-
} from "../wasm/crc_framework.js";
|
|
1
|
+
import { initialize } from './bindings.js';
|
|
9
2
|
|
|
10
|
-
|
|
11
|
-
let pending;
|
|
12
|
-
let kindCodes;
|
|
13
|
-
let typeCodes;
|
|
14
|
-
function finishInit() {
|
|
15
|
-
kindCodes = new Map(curveKindNames().map((name, code) => [name, code]));
|
|
16
|
-
typeCodes = new Map(curveTypeNames().map((name, code) => [name, code]));
|
|
17
|
-
ready = true;
|
|
18
|
-
}
|
|
3
|
+
export { DocumentSchema, prepareNumerical, prepareNumericals, quantile, validateDocument } from './bindings.js';
|
|
19
4
|
|
|
20
|
-
/**
|
|
5
|
+
/** Load the bundled WebAssembly asset, or initialize with a supplied module or source. */
|
|
21
6
|
export default function init(input) {
|
|
22
|
-
|
|
23
|
-
if (!pending) {
|
|
24
|
-
pending = initialize(input)
|
|
25
|
-
.then(finishInit)
|
|
26
|
-
.catch((error) => {
|
|
27
|
-
pending = undefined;
|
|
28
|
-
throw error;
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
return pending;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export function initSync(input) {
|
|
35
|
-
if (ready) return;
|
|
36
|
-
initializeSync(input);
|
|
37
|
-
finishInit();
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function assertReady() {
|
|
41
|
-
if (!ready)
|
|
42
|
-
throw new Error(
|
|
43
|
-
"CRC Framework is not initialized; await init() before evaluating curves",
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
function checkProbability(q) {
|
|
48
|
-
if (typeof q !== "number" || !Number.isFinite(q) || q < 0 || q > 1) {
|
|
49
|
-
throw new RangeError("probability must be finite and in [0, 1]");
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/** Synchronous after init. Missing data and queries outside support return null. */
|
|
54
|
-
export function evaluateCurve(properties, q) {
|
|
55
|
-
assertReady();
|
|
56
|
-
checkProbability(q);
|
|
57
|
-
const [rows, knots] = pack([properties]);
|
|
58
|
-
return evaluateCurvePacked(rows, knots, q);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/** A malformed row aborts the batch; results preserve input order. */
|
|
62
|
-
export function evaluateCurves(properties, q) {
|
|
63
|
-
assertReady();
|
|
64
|
-
checkProbability(q);
|
|
65
|
-
if (!Array.isArray(properties))
|
|
66
|
-
throw new TypeError("curves must be an array");
|
|
67
|
-
const curves = prepareCurves(properties);
|
|
68
|
-
try {
|
|
69
|
-
return curves.evaluate(q);
|
|
70
|
-
} finally {
|
|
71
|
-
curves.free();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/** Explicit ownership for repeated queries: release the handle with free(). */
|
|
76
|
-
export function prepareCurve(properties) {
|
|
77
|
-
assertReady();
|
|
78
|
-
const [rows, knots] = pack([properties]);
|
|
79
|
-
const handle = PreparedCurve.fromPacked(rows, knots);
|
|
80
|
-
let freed = false;
|
|
81
|
-
function checkAlive() {
|
|
82
|
-
if (freed) throw new Error("prepared curve has been freed");
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
evaluate(q) {
|
|
86
|
-
checkAlive();
|
|
87
|
-
checkProbability(q);
|
|
88
|
-
return handle.evaluate(q);
|
|
89
|
-
},
|
|
90
|
-
quantiles(probabilities) {
|
|
91
|
-
checkAlive();
|
|
92
|
-
if (
|
|
93
|
-
!Array.isArray(probabilities) &&
|
|
94
|
-
!(probabilities instanceof Float64Array)
|
|
95
|
-
) {
|
|
96
|
-
throw new TypeError("probabilities must be an array or Float64Array");
|
|
97
|
-
}
|
|
98
|
-
for (const q of probabilities) checkProbability(q);
|
|
99
|
-
return handle.quantiles(probabilities);
|
|
100
|
-
},
|
|
101
|
-
free() {
|
|
102
|
-
if (!freed) {
|
|
103
|
-
handle.free();
|
|
104
|
-
freed = true;
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/** Prepare a collection once; each evaluate call crosses the WASM boundary once. */
|
|
111
|
-
export function prepareCurves(properties) {
|
|
112
|
-
assertReady();
|
|
113
|
-
if (!Array.isArray(properties))
|
|
114
|
-
throw new TypeError("curves must be an array");
|
|
115
|
-
const [rows, knots] = pack(properties);
|
|
116
|
-
const handle = PreparedCurves.fromPacked(rows, knots);
|
|
117
|
-
let freed = false;
|
|
118
|
-
return {
|
|
119
|
-
evaluate(q) {
|
|
120
|
-
if (freed) throw new Error("prepared curves have been freed");
|
|
121
|
-
checkProbability(q);
|
|
122
|
-
const values = handle.evaluate(q);
|
|
123
|
-
const result = new Array(values.length);
|
|
124
|
-
for (let i = 0; i < values.length; i++)
|
|
125
|
-
result[i] = Number.isNaN(values[i]) ? null : values[i];
|
|
126
|
-
return result;
|
|
127
|
-
},
|
|
128
|
-
free() {
|
|
129
|
-
if (!freed) {
|
|
130
|
-
handle.free();
|
|
131
|
-
freed = true;
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// Language conversion only: numbers stay float64 and missing fields get explicit
|
|
138
|
-
// presence bits, so a supplied NaN can never be mistaken for an omitted value.
|
|
139
|
-
const SCALARS = [
|
|
140
|
-
"curve_shape",
|
|
141
|
-
"curve_location",
|
|
142
|
-
"curve_scale",
|
|
143
|
-
"curve_atom_probability",
|
|
144
|
-
"curve_atom_location",
|
|
145
|
-
];
|
|
146
|
-
const ARRAYS = ["curve_probabilities", "curve_values"];
|
|
147
|
-
// MVT repeats identical probability grids and knot strings across tile queries.
|
|
148
|
-
// Internal parsed arrays never escape this adapter. Bound both count and size.
|
|
149
|
-
const parsedArrays = new Map();
|
|
150
|
-
let parsedValues = 0;
|
|
151
|
-
function parseArray(text, field) {
|
|
152
|
-
const cached = parsedArrays.get(text);
|
|
153
|
-
if (cached) return cached;
|
|
154
|
-
let values;
|
|
155
|
-
try {
|
|
156
|
-
values = JSON.parse(text);
|
|
157
|
-
} catch {
|
|
158
|
-
throw new TypeError(`${field} must be a JSON array`);
|
|
159
|
-
}
|
|
160
|
-
if (!Array.isArray(values)) throw new TypeError(`${field} must be an array`);
|
|
161
|
-
if (values.length <= 65_536) {
|
|
162
|
-
while (parsedArrays.size >= 2048 || parsedValues + values.length > 65_536) {
|
|
163
|
-
const oldest = parsedArrays.keys().next().value;
|
|
164
|
-
parsedValues -= parsedArrays.get(oldest).length;
|
|
165
|
-
parsedArrays.delete(oldest);
|
|
166
|
-
}
|
|
167
|
-
parsedArrays.set(text, values);
|
|
168
|
-
parsedValues += values.length;
|
|
169
|
-
}
|
|
170
|
-
return values;
|
|
171
|
-
}
|
|
172
|
-
function pack(properties) {
|
|
173
|
-
const rows = new Float64Array(properties.length * 12);
|
|
174
|
-
const knots = [];
|
|
175
|
-
for (let i = 0; i < properties.length; i++) {
|
|
176
|
-
const row = properties[i];
|
|
177
|
-
if (!row || typeof row !== "object" || Array.isArray(row))
|
|
178
|
-
throw new TypeError("curve properties must be an object");
|
|
179
|
-
const offset = i * 12;
|
|
180
|
-
// Unknown names use an invalid code and are rejected by the Rust decoder.
|
|
181
|
-
rows[offset] = kindCodes.get(row.curve_kind) ?? -1;
|
|
182
|
-
rows[offset + 1] = typeCodes.get(row.curve_type) ?? -1;
|
|
183
|
-
let mask = 0;
|
|
184
|
-
for (let j = 0; j < SCALARS.length; j++) {
|
|
185
|
-
const value = row[SCALARS[j]];
|
|
186
|
-
if (value == null) continue;
|
|
187
|
-
if (typeof value !== "number")
|
|
188
|
-
throw new TypeError(`${SCALARS[j]} must be a number`);
|
|
189
|
-
mask |= 1 << j;
|
|
190
|
-
rows[offset + 3 + j] = value;
|
|
191
|
-
}
|
|
192
|
-
rows[offset + 2] = mask;
|
|
193
|
-
for (let j = 0; j < ARRAYS.length; j++) {
|
|
194
|
-
const field = ARRAYS[j];
|
|
195
|
-
let values = row[field];
|
|
196
|
-
rows[offset + 8 + j * 2] = knots.length;
|
|
197
|
-
rows[offset + 9 + j * 2] = -1;
|
|
198
|
-
if (values == null) continue;
|
|
199
|
-
if (typeof values === "string") {
|
|
200
|
-
values = parseArray(values, field);
|
|
201
|
-
}
|
|
202
|
-
if (!Array.isArray(values))
|
|
203
|
-
throw new TypeError(`${field} must be an array`);
|
|
204
|
-
rows[offset + 9 + j * 2] = values.length;
|
|
205
|
-
for (let k = 0; k < values.length; k++) {
|
|
206
|
-
if (typeof values[k] !== "number")
|
|
207
|
-
throw new TypeError(`${field} must contain numbers`);
|
|
208
|
-
knots.push(values[k]);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
return [rows, Float64Array.from(knots)];
|
|
7
|
+
return initialize(() => input);
|
|
213
8
|
}
|
package/src/node.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { readFile } from 'node:fs/promises';
|
|
2
|
+
import { initialize } from './bindings.js';
|
|
3
|
+
|
|
4
|
+
export { DocumentSchema, prepareNumerical, prepareNumericals, quantile, validateDocument } from './bindings.js';
|
|
5
|
+
|
|
6
|
+
export default function init(input) {
|
|
7
|
+
return initialize(async () => {
|
|
8
|
+
const provided = await input;
|
|
9
|
+
const source = provided === undefined
|
|
10
|
+
? new URL('../wasm/crc_framework_bg.wasm', import.meta.url)
|
|
11
|
+
: provided;
|
|
12
|
+
return source instanceof URL && source.protocol === 'file:' ? readFile(source) : source;
|
|
13
|
+
});
|
|
14
|
+
}
|
package/wasm/crc_framework.d.ts
CHANGED
|
@@ -1,54 +1,43 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
* An explicitly owned, validated curve; call free() when finished.
|
|
6
|
-
*/
|
|
7
|
-
export class PreparedCurve {
|
|
8
|
-
private constructor();
|
|
4
|
+
export class PreparedNumerical {
|
|
9
5
|
free(): void;
|
|
10
6
|
[Symbol.dispose](): void;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* Multiple queries without reparsing the same record.
|
|
15
|
-
*/
|
|
16
|
-
quantiles(probabilities: Float64Array): Array<any>;
|
|
7
|
+
constructor(text: string);
|
|
8
|
+
quantileBatch(probabilities: Float64Array): Float64Array;
|
|
9
|
+
quantile(q: number): number;
|
|
17
10
|
}
|
|
18
11
|
|
|
19
|
-
|
|
20
|
-
* A tile-sized collection reconstructed once and evaluated in one WASM call.
|
|
21
|
-
*/
|
|
22
|
-
export class PreparedCurves {
|
|
23
|
-
private constructor();
|
|
12
|
+
export class PreparedNumericals {
|
|
24
13
|
free(): void;
|
|
25
14
|
[Symbol.dispose](): void;
|
|
26
|
-
|
|
27
|
-
|
|
15
|
+
constructor(text: string);
|
|
16
|
+
quantile(q: number): Float64Array;
|
|
28
17
|
}
|
|
29
18
|
|
|
30
|
-
export function
|
|
31
|
-
|
|
32
|
-
export function curveTypeNames(): Array<any>;
|
|
19
|
+
export function validateDocument(uri: string, text: string): void;
|
|
33
20
|
|
|
34
|
-
export function
|
|
21
|
+
export function version(): string;
|
|
35
22
|
|
|
36
23
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
37
24
|
|
|
38
25
|
export interface InitOutput {
|
|
39
26
|
readonly memory: WebAssembly.Memory;
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
27
|
+
readonly __wbg_preparednumerical_free: (a: number, b: number) => void;
|
|
28
|
+
readonly __wbg_preparednumericals_free: (a: number, b: number) => void;
|
|
29
|
+
readonly preparednumerical_new: (a: number, b: number) => [number, number, number];
|
|
30
|
+
readonly preparednumerical_quantile: (a: number, b: number) => [number, number, number];
|
|
31
|
+
readonly preparednumerical_quantileBatch: (a: number, b: number, c: number) => [number, number, number, number];
|
|
32
|
+
readonly preparednumericals_new: (a: number, b: number) => [number, number, number];
|
|
33
|
+
readonly preparednumericals_quantile: (a: number, b: number) => [number, number, number, number];
|
|
34
|
+
readonly validateDocument: (a: number, b: number, c: number, d: number) => [number, number];
|
|
35
|
+
readonly version: () => [number, number];
|
|
36
|
+
readonly __wbindgen_exn_store: (a: number) => void;
|
|
37
|
+
readonly __externref_table_alloc: () => number;
|
|
50
38
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
51
39
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
40
|
+
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
52
41
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
53
42
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
54
43
|
readonly __wbindgen_start: () => void;
|