2022-06-05 08:30:08 +02:00
|
|
|
/* tslint:disable */
|
|
|
|
/* eslint-disable */
|
|
|
|
/**
|
|
|
|
*/
|
|
|
|
export function run_app(): void;
|
|
|
|
|
|
|
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
|
|
|
|
|
|
export interface InitOutput {
|
|
|
|
readonly memory: WebAssembly.Memory;
|
|
|
|
readonly run_app: (a: number) => void;
|
|
|
|
readonly __wbindgen_malloc: (a: number) => number;
|
|
|
|
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
|
|
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
2022-06-20 03:37:39 +02:00
|
|
|
readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h517d7fce3d158796: (a: number, b: number, c: number) => void;
|
|
|
|
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6c41bce435f08bdb: (a: number, b: number, c: number) => void;
|
|
|
|
readonly _dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hea19f293916f5b3a: (a: number, b: number, c: number) => void;
|
2022-06-05 08:30:08 +02:00
|
|
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
|
|
readonly __wbindgen_free: (a: number, b: number) => void;
|
|
|
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
|
|
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
|
|
*
|
|
|
|
* @param {InitInput | Promise<InitInput>} module_or_path
|
|
|
|
*
|
|
|
|
* @returns {Promise<InitOutput>}
|
|
|
|
*/
|
|
|
|
export default function init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
|