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

16 lines 580 B
import type { FileSystemProvider } from "./wasi-fs-provider.js"; export interface WasiHostConfig { preopens: Record<string, string>; fs: FileSystemProvider; stdout?: (data: Uint8Array) => void; stderr?: (data: Uint8Array) => void; } type WasiImports = Record<string, (...args: any[]) => number | void>; export type WasiImportDisposable = WasiImports & { [Symbol.dispose](): void; }; export declare function createWasiImports(memory: { buffer: ArrayBuffer; }, config: WasiHostConfig): WasiImportDisposable; export {}; //# sourceMappingURL=wasi-host.d.ts.map