/** * Serialize a module graph into eszip. * @param {any} roots * @param {Function} loader * @param {any} import_map_url * @returns {Promise} */ export function build(roots: any, loader: Function, import_map_url: any): Promise; export function instantiate(opts: any): Promise<{ build: typeof build; Parser: typeof Parser; }>; export function instantiateWithInstance(opts: any): Promise<{ instance: any; exports: { build: typeof build; Parser: typeof Parser; }; }>; export function isInstantiated(): boolean; export function cacheToLocalDir(url: any, decompress: any): Promise; export function fetchWithRetries(url: any, maxRetries?: number): Promise; /** */ export class Parser { __destroy_into_raw(): number; __wbg_ptr: number; free(): void; /** * Parse from a BYOB readable stream. * @param {ReadableStreamBYOBReader} stream * @returns {Promise} */ parse(stream: ReadableStreamBYOBReader): Promise; /** * Parse from an in-memory buffer. * @param {Uint8Array} buffer * @returns {Promise} */ parseBytes(buffer: Uint8Array): Promise; /** * Load module sources. * @returns {Promise} */ load(): Promise; /** * Get a module source. * @param {string} specifier * @returns {Promise} */ getModuleSource(specifier: string): Promise; /** * Get a module sourcemap. * @param {string} specifier * @returns {Promise} */ getModuleSourceMap(specifier: string): Promise; } import * as dntShim from "./_dnt.shims.js"; //# sourceMappingURL=eszip_wasm.generated.d.ts.map