UNPKG

@lynx-js/web-core

Version:

This is an internal experimental package, do not use

6 lines (5 loc) 277 B
import type { Rpc } from '@lynx-js/web-worker-rpc'; import type { NapiModulesMap } from '../../../types/index.js'; export declare const createNapiLoader: (rpc: Rpc, napiModulesMap: NapiModulesMap) => Promise<{ load(moduleName: string): Record<string, any> | undefined; }>;