⎇ d4c31d70b77d750a02162f12c014a69b12fca4fa
crates/apps/gioser-web/pkg/gioser_web.d.ts
History
Who touched what
raw
gioser-web: replace Rust SVG graph with Cytoscape.js
1/* tslint:disable */
2/* eslint-disable */
3
4export function boot(): void;
5
6export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
7
8export interface InitOutput {
9 readonly memory: WebAssembly.Memory;
10 readonly boot: () => void;
11 readonly __wasm_bindgen_func_elem_178: (a: number, b: number, c: number) => void;
12 readonly __wasm_bindgen_func_elem_1209: (a: number, b: number, c: number, d: number) => void;
13 readonly __wasm_bindgen_func_elem_177: (a: number, b: number, c: number) => void;
14 readonly __wasm_bindgen_func_elem_177_3: (a: number, b: number, c: number) => void;
15 readonly __wasm_bindgen_func_elem_446: (a: number, b: number, c: number) => void;
16 readonly __wasm_bindgen_func_elem_223: (a: number, b: number, c: number) => void;
17 readonly __wasm_bindgen_func_elem_224: (a: number, b: number) => void;
18 readonly __wbindgen_export: (a: number, b: number) => number;
19 readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
20 readonly __wbindgen_export3: (a: number) => void;
21 readonly __wbindgen_export4: (a: number, b: number) => void;
22 readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
23 readonly __wbindgen_start: () => void;
24}
25
26export type SyncInitInput = BufferSource | WebAssembly.Module;
27
28/**
29 * Instantiates the given `module`, which can either be bytes or
30 * a precompiled `WebAssembly.Module`.
31 *
32 * @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
33 *
34 * @returns {InitOutput}
35 */
36export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
37
38/**
39 * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
40 * for everything else, calls `WebAssembly.instantiate` directly.
41 *
42 * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
43 *
44 * @returns {Promise<InitOutput>}
45 */
46export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;