mirror of
https://github.com/JonasunderscoreJones/aka-worker.git
synced 2025-10-23 09:59:19 +02:00
10 lines
412 B
TypeScript
10 lines
412 B
TypeScript
import * as rawWasm from '../../dist/wasm/browser/blake3_js';
|
|
/**
|
|
* Gets the webassembly module provided in provideWasm.
|
|
*/
|
|
export declare const getWasm: () => typeof rawWasm;
|
|
/**
|
|
* Sets the webassembly module used for the browser build. This indirection is
|
|
* needed to provide compatibility between the "browser" and "browser-async" modes.
|
|
*/
|
|
export declare const provideWasm: (w: typeof rawWasm) => void;
|