@microblink/blinkid-imagecapture-in-browser-sdk
Version:
A smart image capturing library for WebAssembly-enabled browsers.
13 lines (12 loc) • 571 B
TypeScript
/**
* Copyright (c) Microblink Ltd. All rights reserved.
*/
import { WasmType } from "./WasmType";
/**
* Safari 16 shipped with WASM threads support, but it didn't ship with nested
* workers support, so an extra check is needed
* https://github.com/GoogleChromeLabs/squoosh/pull/1325/files#diff-904900db64cd3f48b0e765dbbdc6a218a7ea74a199671bde82a8944a904db86f
*/
export default function checkThreadsSupport(): Promise<boolean>;
export declare function detectWasmType(): Promise<WasmType>;
export declare function wasmFolder(wasmType: WasmType): string;