UNPKG

taglib-wasm

Version:

TagLib-Wasm is the universal tagging library for TypeScript/JavaScript platforms: Browsers, Node.js, Deno, Bun, Cloudflare Workers, and Electron apps

13 lines 803 B
/** * Full-file reconstruct used by `saveToFile` for the two cases where the * editing handle does not itself hold the complete file bytes: an Emscripten * partial load, and the WASI path-mode "save as". Both must produce a complete * file at the target without mutating the editing handle's source in place. */ import type { FileHandle, TagLibModule } from "../wasm.js"; /** * Reload the full file from `source` into a fresh handle, apply the editing * handle's state, save, and write the result to `targetPath`. */ export declare function saveViaFreshHandle(module: TagLibModule, editing: FileHandle, source: string | Uint8Array | ArrayBuffer | File, targetPath: string, sourceComplete: boolean, deletedKeys?: ReadonlySet<string>): Promise<void>; //# sourceMappingURL=save-reconstruct.d.ts.map