/** * Prepare wasm packages from emscripten-forge so that they are available at runtime. * Uses ../../cockle-config-base.json relative to the directory of this script and optional * cockle-config-in.json in pwd to determine which packages are required. * Creates a micromamba environment containing the wasm packages and either copies the files * to the specified statically-served assets directory or writes a file containing the names * of the files to be so copied, depending on the arguments passed to this script. * Also accepts command packages in local directories that are WebAssembly or pure JavaScript. */ declare const deepmerge: any; declare const fs: any; declare const path: any; declare const execSync: any; declare const rimrafSync: any; declare const zod: any; declare const ENV_NAME = "cockle_wasm_env"; declare const PLATFORM = "emscripten-wasm32"; declare const CHANNELS: string[]; declare const wantCopy: boolean; declare const target: string; declare function isLocalPackage(packageConfig: any): boolean; declare function isWasmPackage(packageConfig: any): boolean; declare function getChannelsString(): string; declare function getWasmPackageInfo(micromambaCmd: string, envPath: string): any; declare const COCKLE_WASM_EXTRA_CHANNEL: string | undefined; declare const baseConfigFilename: any; declare let cockleConfig: any; declare const otherConfigFilename: any; declare const inputSchema: any; declare const wasmPackageNames: any[]; declare let micromambaCmd: string | undefined; declare let micromambaVersion: string; declare const cmds: string[]; declare const envPath = "./cockle_wasm_env"; declare let wasmPackageInfo: any; declare const outputProps: string[]; declare const outputSchema: any; declare let targetConfigFile: string; declare const filenamesAndDirectories: string[]; declare const requiredJavaScriptSuffixes: { '.js': boolean; }; declare const requiredWasmSuffixes: { '.js': boolean; '.wasm': boolean; '.wasm.map': boolean; '.data': boolean; };