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

6 lines 558 B
import type { AudioFile } from "../taglib/audio-file-interface.js"; import type { AudioFileInput, OpenOptions } from "../types.js"; export declare function withAudioFile<T>(file: AudioFileInput, fn: (audioFile: AudioFile) => T | Promise<T>, options?: OpenOptions): Promise<T>; export declare function withAudioFileSave(file: AudioFileInput, fn: (audioFile: AudioFile) => void): Promise<Uint8Array>; export declare function withAudioFileSaveToFile(file: string, fn: (audioFile: AudioFile) => void): Promise<void>; //# sourceMappingURL=with-audio-file.d.ts.map