wasm.d.ts 412 B

12345678910
  1. import * as rawWasm from '../../dist/wasm/browser/blake3_js';
  2. /**
  3. * Gets the webassembly module provided in provideWasm.
  4. */
  5. export declare const getWasm: () => typeof rawWasm;
  6. /**
  7. * Sets the webassembly module used for the browser build. This indirection is
  8. * needed to provide compatibility between the "browser" and "browser-async" modes.
  9. */
  10. export declare const provideWasm: (w: typeof rawWasm) => void;