feat: init

This commit is contained in:
2026-02-13 22:02:30 +01:00
commit 8f9ff830fb
16711 changed files with 3307340 additions and 0 deletions

28
node_modules/unwasm/dist/tools/index.d.mts generated vendored Normal file
View File

@@ -0,0 +1,28 @@
//#region src/tools/parser.d.ts
type ParsedWasmModule = {
id?: string;
imports: ModuleImport[];
exports: ModuleExport[];
};
type ModuleImport = {
module: string;
name: string;
returnType?: string;
params?: {
id?: string;
type: string;
}[];
};
type ModuleExport = {
name: string;
id: string | number;
type: "Func" | "Memory";
};
type ParseResult = {
modules: ParsedWasmModule[];
};
declare function parseWasm(source: Buffer | ArrayBuffer, opts?: {
name?: string;
}): ParseResult;
//#endregion
export { ModuleExport, ModuleImport, ParseResult, ParsedWasmModule, parseWasm };