mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboViteDocs.git
synced 2026-06-15 18:56:30 +00:00
17 lines
563 B
TypeScript
17 lines
563 B
TypeScript
import { L as LoadWasmOptions, R as RegexEngine } from './chunk-index.d.mjs';
|
|
|
|
declare function loadWasm(options: LoadWasmOptions): Promise<void>;
|
|
|
|
/**
|
|
* Set the default wasm loader for `loadWasm`.
|
|
* @internal
|
|
*/
|
|
declare function setDefaultWasmLoader(_loader: LoadWasmOptions): void;
|
|
/**
|
|
* @internal
|
|
*/
|
|
declare function getDefaultWasmLoader(): LoadWasmOptions | undefined;
|
|
declare function createOnigurumaEngine(options?: LoadWasmOptions | null): Promise<RegexEngine>;
|
|
|
|
export { createOnigurumaEngine, getDefaultWasmLoader, loadWasm, setDefaultWasmLoader };
|