import * as API from './PublicAPI'; import './Mesh'; import { LibraryInfo } from './NativeEnums.js'; declare type LibraryConfig = { wasmURL?: string; workerScriptURL?: string; numWorkers?: number; }; /** * Compiles the WebAssembly and code and initializes the Emscripten environment. * Returns a Promise that resolves with the library instance ready for use. */ export declare const initUmbra: (config: LibraryConfig) => Promise; /** * Deinitializes the Emscripten environment. * * NOTE: We assume here that async IndexedDB loads and stores have already finished. * This is the case if Umbra.update() was *not* called before deinitUmbra() on the * same frame. */ export declare const deinitUmbra: (Umbra: API.UmbraInstance) => void; export { LibraryConfig, LibraryInfo }; export * from './PublicAPI';